1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2013 Aljosha Papsch <misc@rpapsch.de>
4 ;;; Copyright © 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
5 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
6 ;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
7 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
8 ;;; Copyright © 2015, 2016, 2017 Eric Bavier <bavier@member.fsf.org>
9 ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
10 ;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
11 ;;; Copyright © 2016 Jelle Licht <jlicht@fsfe.org>
12 ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
13 ;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
14 ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
15 ;;; Copyright © 2016 Clément Lassieur <clement@lassieur.org>
16 ;;; Copyright © 2016, 2017 ng0 <ng0@no-reply.pragmatique.xyz>
17 ;;; Copyright © 2016, 2017 Arun Isaac <arunisaac@systemreboot.net>
18 ;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
19 ;;; Copyright © 2016 Bake Timmons <b3timmons@speedymail.org>
20 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
21 ;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
22 ;;; Copyright © 2017 Kei Kebreau <kei@openmailbox.org>
24 ;;; This file is part of GNU Guix.
26 ;;; GNU Guix is free software; you can redistribute it and/or modify it
27 ;;; under the terms of the GNU General Public License as published by
28 ;;; the Free Software Foundation; either version 3 of the License, or (at
29 ;;; your option) any later version.
31 ;;; GNU Guix is distributed in the hope that it will be useful, but
32 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
33 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34 ;;; GNU General Public License for more details.
36 ;;; You should have received a copy of the GNU General Public License
37 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
39 (define-module (gnu packages web)
40 #:use-module (ice-9 match)
41 #:use-module ((guix licenses) #:prefix l:)
42 #:use-module (guix packages)
43 #:use-module (guix download)
44 #:use-module (guix git-download)
45 #:use-module (guix cvs-download)
46 #:use-module (guix utils)
47 #:use-module (guix build-system gnu)
48 #:use-module (guix build-system glib-or-gtk)
49 #:use-module (guix build-system perl)
50 #:use-module (guix build-system cmake)
51 #:use-module (guix build-system r)
52 #:use-module (guix build-system trivial)
53 #:use-module (guix build-system python)
54 #:use-module (gnu packages)
55 #:use-module (gnu packages apr)
56 #:use-module (gnu packages check)
57 #:use-module (gnu packages documentation)
58 #:use-module (gnu packages docbook)
59 #:use-module (gnu packages autotools)
60 #:use-module (gnu packages compression)
61 #:use-module (gnu packages cyrus-sasl)
62 #:use-module (gnu packages databases)
63 #:use-module (gnu packages bison)
64 #:use-module (gnu packages flex)
65 #:use-module (gnu packages kerberos)
66 #:use-module (gnu packages gd)
67 #:use-module (gnu packages gettext)
68 #:use-module (gnu packages glib)
69 #:use-module (gnu packages gnome)
70 #:use-module (gnu packages gnu-doc)
71 #:use-module (gnu packages gnupg)
72 #:use-module (gnu packages gnuzilla)
73 #:use-module (gnu packages gperf)
74 #:use-module (gnu packages gtk)
75 #:use-module (gnu packages image)
76 #:use-module (gnu packages libidn)
77 #:use-module (gnu packages libunistring)
78 #:use-module (gnu packages lua)
79 #:use-module (gnu packages ncurses)
80 #:use-module (gnu packages base)
81 #:use-module (gnu packages perl)
82 #:use-module (gnu packages python)
83 #:use-module (gnu packages pcre)
84 #:use-module (gnu packages pkg-config)
85 #:use-module (gnu packages valgrind)
86 #:use-module (gnu packages xml)
87 #:use-module (gnu packages curl)
88 #:use-module (gnu packages perl)
89 #:use-module (gnu packages texinfo)
90 #:use-module (gnu packages textutils)
91 #:use-module (gnu packages tls)
92 #:use-module (gnu packages statistics))
100 (uri (string-append "mirror://apache/httpd/httpd-"
104 "0fn1778mxhf78np2d8qlycg1c2ak18rxax41plahasca4clc3z3i"))))
105 (build-system gnu-build-system)
106 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
107 (inputs `(("apr" ,apr)
108 ("apr-util" ,apr-util)
110 ("perl" ,perl))) ; needed to run bin/apxs
112 `(#:test-target "test"
113 #:configure-flags (list "--enable-rewrite"
115 "--enable-vhost-alias"
117 "--enable-mime-magic"
118 (string-append "--sysconfdir="
119 (assoc-ref %outputs "out")
121 (synopsis "Featureful HTTP server")
123 "The Apache HTTP Server Project is a collaborative software development
124 effort aimed at creating a robust, commercial-grade, featureful, and
125 freely-available source code implementation of an HTTP (Web) server. The
126 project is jointly managed by a group of volunteers located around the world,
127 using the Internet and the Web to communicate, plan, and develop the server
128 and its related documentation.")
130 (home-page "https://httpd.apache.org/")))
138 (uri (string-append "https://nginx.org/download/nginx-"
142 "1yvnmj7vlykrqdi6amkvs63lva6qkxd98sqv0a8hz8w5ci1bz4w7"))))
143 (build-system gnu-build-system)
144 (inputs `(("pcre" ,pcre)
148 `(#:tests? #f ; no test target
150 (modify-phases %standard-phases
151 (add-before 'configure 'patch-/bin/sh
153 (substitute* "auto/feature"
154 (("/bin/sh") (which "sh")))
157 (lambda* (#:key outputs #:allow-other-keys)
159 (list (string-append "--prefix=" (assoc-ref outputs "out"))
160 "--with-http_ssl_module"
163 ;; Even when not cross-building, we pass the
164 ;; --crossbuild option to avoid customizing for the
165 ;; kernel version on the build machine.
166 ,(let ((system "Linux") ; uname -s
167 (release "2.6.32") ; uname -r
169 (machine (match (or (%current-target-system)
171 ("x86_64-linux" "x86_64")
172 ("i686-linux" "i686")
173 ("mips64el-linux" "mips64")
174 ;; Prevent errors when querying
175 ;; this package on unsupported
176 ;; platforms, e.g. when running
177 ;; "guix package --search="
179 (string-append "--crossbuild="
180 system ":" release ":" machine)))))
182 (format #t "environment variable `CC' set to `gcc'~%")
183 (format #t "configure flags: ~s~%" flags)
184 (zero? (apply system* "./configure" flags)))))
185 (add-after 'install 'fix-root-dirs
186 (lambda* (#:key outputs #:allow-other-keys)
187 ;; 'make install' puts things in strange places, so we need to
188 ;; clean it up ourselves.
189 (let* ((out (assoc-ref outputs "out"))
190 (share (string-append out "/share/nginx")))
191 ;; This directory is empty, so get rid of it.
192 (rmdir (string-append out "/logs"))
193 ;; Example configuration and HTML files belong in
196 (rename-file (string-append out "/conf")
197 (string-append share "/conf"))
198 (rename-file (string-append out "/html")
199 (string-append share "/html"))))))))
200 (home-page "https://nginx.org")
201 (synopsis "HTTP and reverse proxy server")
203 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
204 created by Igor Sysoev. It can be used both as a standalone web server
205 and as a proxy to reduce the load on back-end HTTP or mail servers.")
206 ;; Almost all of nginx is distributed under the bsd-2 license.
207 ;; The exceptions are:
208 ;; * The 'nginx-http-push' module is covered by the expat license.
209 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
210 ;; except for two source files which are bsd-4 licensed.
211 (license (list l:bsd-2 l:expat l:bsd-3 l:bsd-4))))
220 ;; Upstream has disappeared
221 (uri (string-append "https://sources.archlinux.org/other/packages/fcgi/"
222 "fcgi-" version ".tar.gz"))
225 "1f857wnl1d6jfrgfgfpz3zdaj8fch3vr13mnpcpvy8bang34bz36"))
226 (patches (search-patches "fcgi-2.4.0-poll.patch"
227 "fcgi-2.4.0-gcc44-fixes.patch"))))
228 (build-system gnu-build-system)
229 ;; Parallel building is not supported.
230 (arguments `(#:parallel-build? #f))
231 (home-page "http://www.fastcgi.com")
232 (synopsis "Language-independent, high-performant extension to CGI")
233 (description "FastCGI is a language independent, scalable extension to CGI
234 that provides high performance without the limitations of server specific
236 ;; This package is released under the Open Market License, a variant of
237 ;; the Expat license, incompatible with the GPL.
238 (license (l:non-copyleft "file://LICENSE.TERMS"))))
240 (define-public fcgiwrap
247 (uri (string-append "https://github.com/gnosek/fcgiwrap/"
248 "archive/" version ".tar.gz"))
249 (file-name (string-append name "-" version ".tar.gz"))
252 "07y6s4mm86cv7p1ljz94sxnqa89y9amn3vzwsnbq5hrl4vdy0zac"))))
253 (build-system gnu-build-system)
255 `(#:tests? #f ; no tests included
256 #:make-flags (list "CC=gcc")
258 (modify-phases %standard-phases
259 (add-after 'unpack 'bootstrap
261 (zero? (system* "autoreconf" "-vif")))))))
263 `(("autoconf" ,autoconf)
264 ("automake" ,automake)
265 ("pkg-config" ,pkg-config)))
268 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
269 (synopsis "Simple server for running CGI applications over FastCGI")
270 (description "Fcgiwrap is a simple server for running CGI applications
271 over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
272 servers that may need it).")
275 (define-public starman
282 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
283 "Starman-" version ".tar.gz"))
286 "1sbb5rb3vs82rlh1fjkgkcmj5pj62b4y9si4ihh45sl9m8c2qxx5"))))
287 (build-system perl-build-system)
289 `(("perl-libwww" ,perl-libwww)
290 ("perl-module-build-tiny" ,perl-module-build-tiny)
291 ("perl-test-requires" ,perl-test-requires)))
293 `(("perl-data-dump" ,perl-data-dump)
294 ("perl-http-date" ,perl-http-date)
295 ("perl-http-message" ,perl-http-message)
296 ("perl-http-parser-xs" ,perl-http-parser-xs)
297 ("perl-net-server" ,perl-net-server)
298 ("perl-plack" ,perl-plack)
299 ("perl-test-tcp" ,perl-test-tcp)))
300 (home-page "http://search.cpan.org/dist/Starman")
301 (synopsis "PSGI/Plack web server")
302 (description "Starman is a PSGI perl web server that has unique features
303 such as high performance, preforking, signal support, superdaemon awareness,
304 and UNIX socket support.")
305 (license l:perl-license)))
307 (define-public jansson
314 (string-append "http://www.digip.org/jansson/releases/jansson-"
318 "19fjgfwjfj99rqa3kf96x5rssj88siazggksgrikd6h4r9sd1l0a"))))
319 (build-system gnu-build-system)
320 (home-page "http://www.digip.org/jansson/")
321 (synopsis "JSON C library")
323 "Jansson is a C library for encoding, decoding and manipulating JSON
327 (define-public json-c
334 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
338 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
339 (modules '((guix build utils)))
342 ;; Somehow 'config.h.in' is older than
343 ;; 'aclocal.m4', which would trigger a rule to
345 (set-file-time "config.h.in"
348 ;; Don't try to build with -Werror.
349 (substitute* (find-files "." "Makefile\\.in")
350 (("-Werror") ""))))))
351 (build-system gnu-build-system)
352 (arguments '(#:parallel-build? #f
353 #:parallel-tests? #f))
354 (home-page "https://github.com/json-c/json-c/wiki")
355 (synopsis "JSON implementation in C")
357 "JSON-C implements a reference counting object model that allows you to
358 easily construct JSON objects in C, output them as JSON formatted strings and
359 parse JSON formatted strings back into the C representation of JSON objects.")
362 (define-public krona-tools
369 "https://github.com/marbl/Krona/releases/download/v"
370 version "/KronaTools-" version ".tar"))
373 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
374 (build-system perl-build-system)
377 (modify-phases %standard-phases
378 ;; There is no configure or build steps.
381 ;; Install script "install.pl" expects the build directory to remain
382 ;; after installation, creating symlinks etc., so re-implement it
385 (lambda* (#:key outputs #:allow-other-keys)
386 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
387 (perl (string-append (assoc-ref outputs "out")
388 "/lib/perl5/site_perl/krona-tools/lib")))
392 (let* ((executable (string-append "scripts/" script ".pl")))
393 ;; Prefix executables with 'kt' as install script does.
394 (copy-file executable (string-append bin "/kt" script))))
396 "GetContigMagnitudes"
406 "ImportMETAREP-BLAST"
411 "ImportRDPComparison"
417 (copy-recursively directory
418 (string-append perl "/../" directory)))
419 (list "data" "img" "taxonomy" "src"))
420 (install-file "lib/KronaTools.pm" perl))))
421 (add-after 'install 'wrap-program
422 (lambda* (#:key inputs outputs #:allow-other-keys)
423 (let* ((out (assoc-ref outputs "out"))
424 (path (getenv "PERL5LIB")))
427 (wrap-program executable
428 `("PERL5LIB" ":" prefix
429 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
430 (find-files (string-append out "/bin/") ".*")))))
432 (add-after 'wrap-program 'check
433 (lambda* (#:key inputs outputs #:allow-other-keys)
434 (with-directory-excursion "data"
435 (zero? (system* (string-append (assoc-ref outputs "out") "/bin/ktImportText")
439 (home-page "https://github.com/marbl/Krona/wiki")
440 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
442 "Krona is a flexible tool for exploring the relative proportions of
443 hierarchical data, such as metagenomic classifications, using a radial,
444 space-filling display. It is implemented using HTML5 and JavaScript, allowing
445 charts to be explored locally or served over the Internet, requiring only a
446 current version of any major web browser.")
449 (define-public rapidjson
456 "https://github.com/miloyip/rapidjson/archive/v"
458 (file-name (string-append name "-" version ".tar.gz"))
461 "0rl6s0vg5y1dhh9vfl1lqay3sxf69sxjh0czxrjmasn7ng91wwf3"))
462 (modules '((guix build utils)))
464 ;; Building with GCC 4.8 with -Werror was fine, but 4.9.3
465 ;; complains in new ways, so turn of -Werror.
466 '(substitute* (find-files "." "^CMakeLists\\.txt$")
468 (build-system cmake-build-system)
470 `(,@(if (string-prefix? "aarch64" (or (%current-target-system)
473 (modify-phases %standard-phases
474 (add-after 'unpack 'patch-aarch-march-detection
476 (substitute* (find-files "." "^CMakeLists\\.txt$")
477 (("native") "armv8-a"))
480 (home-page "https://github.com/miloyip/rapidjson")
481 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
483 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
487 (define-public libyajl
493 (uri (string-append "https://github.com/lloyd/yajl/"
494 "archive/" version ".tar.gz"))
495 (file-name (string-append name "-" version ".tar.gz"))
498 "0nmcqpaiq4pv7dymyg3n3jsd57yhp5npxl26a1hzw3m3lmj37drz"))))
499 (build-system cmake-build-system)
500 (home-page "https://lloyd.github.io/yajl/")
501 (synopsis "C library for parsing JSON")
503 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
504 parser written in ANSI C and a small validating JSON generator.")
507 (define-public libwebsockets
509 (name "libwebsockets")
512 ;; The project does not publish tarballs, so we have to take
516 (url "git://git.libwebsockets.org/libwebsockets")
517 (commit (string-append "v" version
518 "-chrome37-firefox30"))))
521 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
522 (file-name (string-append name "-" version))))
524 (build-system cmake-build-system)
526 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
527 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
530 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
531 (inputs `(("zlib" ,zlib)
532 ("openssl" ,openssl)))
533 (synopsis "WebSockets library written in C")
535 "Libwebsockets is a library that allows C programs to establish client
536 and server WebSockets connections---a protocol layered above HTTP that allows
537 for efficient socket-like bidirectional reliable communication channels.")
538 (home-page "http://libwebsockets.org/")
540 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
541 (license l:lgpl2.1)))
543 (define-public libpsl
549 (uri (string-append "https://github.com/rockdaboot/libpsl/"
550 "releases/download/libpsl-" version
551 "/libpsl-" version ".tar.gz"))
554 "00iids8ldsqnnndmcfjp6kc00lv7fawf5l24mpbdbkh98yazgc4i"))))
555 (build-system gnu-build-system)
557 `(("pkg-config" ,pkg-config)))
559 `(("libidn2" ,libidn2)
560 ("libunistring" ,libunistring)
561 ("python-2" ,python-2)))
562 (home-page "https://github.com/rockdaboot/libpsl")
563 (synopsis "C library for the Publix Suffix List")
565 "A \"public suffix\" is a domain name under which Internet users can
566 directly register own names.
568 Browsers and other web clients can use it to avoid privacy-leaking
569 \"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
570 highlighting parts of the domain in a user interface, and sorting domain lists
573 Libpsl has built-in PSL data for fast access, allows to load PSL data from
574 files, checks if a given domain is a public suffix, provides immediate cookie
575 domain verification, finds the longest public part of a given domain, finds
576 the shortest private part of a given domain, works with international
577 domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
589 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
591 (revision "2009-12-23")))
594 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
595 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
596 (build-system gnu-build-system)
598 '(#:phases (modify-phases %standard-phases
599 (add-after 'unpack 'bootstrap
600 (lambda* (#:key inputs #:allow-other-keys)
601 ;; configure.in and Makefile.am aren't in the root of the
603 (copy-recursively "build/gnuauto" ".")
604 (setenv "AUTOMAKE" "automake --foreign")
605 (zero? (system* "autoreconf" "-vfi")))))))
607 `(("automake" ,automake)
608 ("autoconf" ,autoconf)
609 ("libtool" ,libtool)))
610 (synopsis "HTML validator and tidier")
611 (description "HTML Tidy is a command-line tool and C library that can be
612 used to validate and fix HTML data.")
613 (home-page "http://tidy.sourceforge.net/")
614 (license (l:x11-style "file:///include/tidy.h"))))
616 (define-public tinyproxy
622 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
623 "releases/download/" version "/tinyproxy-"
627 "002hi97687czhfkwsjkr174yvlp10224qi6gd5s53z230bgls7x4"))))
628 (build-system gnu-build-system)
632 ;; For the log file, etc.
633 "--localstatedir=/var")
637 (lambda* (#:key inputs #:allow-other-keys #:rest args)
638 ;; Uncommenting the next two lines may assist in debugging
639 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
640 ;; (setenv "XML_DEBUG_CATALOG" "1")
643 ;; All of the below are used to generate the documentation
644 ;; (Should they be propagated inputs of asciidoc ??)
645 (native-inputs `(("asciidoc" ,asciidoc)))
646 (home-page "https://tinyproxy.github.io/")
647 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
648 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
649 daemon. Designed from the ground up to be fast and yet small, it is an ideal
650 solution for use cases such as embedded deployments where a full featured HTTP
651 proxy is required, but the system resources for a larger proxy are
655 (define-public polipo
663 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
667 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
668 (native-inputs `(("texinfo" ,texinfo)))
669 (build-system gnu-build-system)
671 `(#:phases (modify-phases %standard-phases
673 #:make-flags (let ((out (assoc-ref %outputs "out")))
674 (list (string-append "PREFIX=" out)
675 (string-append "LOCAL_ROOT="
676 out "/share/polipo/www")
678 ;; No 'check' target.
680 (home-page "http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
681 (synopsis "Small caching web proxy")
683 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
684 server). It was primarily designed to be used by one person or a small group
688 (define-public wwwoffle
694 (uri (string-append "https://www.gedanken.org.uk/software/"
695 "wwwoffle/download/wwwoffle-"
699 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
700 (build-system gnu-build-system)
702 `(#:configure-flags '("--with-gnutls")
703 #:tests? #f)) ; no test target
704 (native-inputs `(("flex" ,flex)))
705 (inputs `(("gnutls" ,gnutls)
706 ("libcrypt", libgcrypt)))
707 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
708 (synopsis "Caching web proxy optimized for intermittent internet links")
709 (description "WWWOFFLE is a proxy web server that is especially good for
710 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
711 protocols, and supports browsing and requesting pages while offline, indexing,
712 modifying pages and incoming and outgoing headers, monitoring pages for
713 changes, and much more.")
716 (define-public liboauth
722 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
726 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
727 (build-system gnu-build-system)
728 (arguments '(#:configure-flags '("--enable-nss")))
729 (native-inputs `(("pkg-config" ,pkg-config)))
733 (home-page "https://sourceforge.net/projects/liboauth")
734 (synopsis "C library implementing the OAuth API")
736 "liboauth is a collection of C functions implementing the OAuth API.
737 liboauth provides functions to escape and encode strings according to OAuth
738 specifications and offers high-level functionality built on top to sign
739 requests or verify signatures using either NSS or OpenSSL for calculating the
741 ;; Source code may be distributed under either license.
742 (license (list l:expat l:gpl2+))))
744 (define-public libyaml
752 "http://pyyaml.org/download/libyaml/yaml-"
754 (patches (search-patches "libyaml-CVE-2014-9130.patch"))
757 "0j9731s5zjb8mjx7wzf6vh7bsqi38ay564x6s9nri2nh9cdrg9kx"))))
758 (build-system gnu-build-system)
759 (home-page "http://pyyaml.org/wiki/LibYAML")
760 (synopsis "YAML 1.1 parser and emitter written in C")
762 "LibYAML is a YAML 1.1 parser and emitter written in C.")
765 (define-public libquvi-scripts
767 (name "libquvi-scripts")
773 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
774 name "/" name "-" version ".tar.xz"))
776 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
777 (build-system gnu-build-system)
778 (home-page "http://quvi.sourceforge.net/")
779 (synopsis "Media stream URL parser")
780 (description "This package contains support scripts called by libquvi to
781 parse media stream properties.")
782 (license l:lgpl2.1+)))
784 (define-public libquvi
792 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
793 name "-" version ".tar.xz"))
795 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
796 (build-system gnu-build-system)
797 (native-inputs `(("pkg-config" ,pkg-config)))
800 ("cyrus-sasl" ,cyrus-sasl)
801 ("libquvi-scripts" ,libquvi-scripts)
806 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
808 (let ((lua (assoc-ref %build-inputs "lua")))
810 (string-append "liblua_CFLAGS=-I" lua "/include")
811 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
812 (home-page "http://quvi.sourceforge.net/")
813 (synopsis "Media stream URL parser")
814 (description "libquvi is a library with a C API for parsing media stream
815 URLs and extracting their actual media files.")
816 (license l:lgpl2.1+)))
826 "mirror://sourceforge/" name "/" (version-major+minor version)
827 "/" name "/" name "-" version ".tar.xz"))
829 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
830 (build-system gnu-build-system)
831 (native-inputs `(("pkg-config" ,pkg-config)))
834 ("libquvi" ,libquvi)))
835 (home-page "http://quvi.sourceforge.net/")
836 (synopsis "Media stream URL parser")
837 (description "quvi is a command-line-tool suite to extract media files
838 from streaming URLs. It is a command-line wrapper for the libquvi library.")
839 (license l:lgpl2.1+)))
848 (uri (string-append "https://archive.apache.org/dist/serf/serf-"
851 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
852 (build-system gnu-build-system)
855 ("python" ,python-2)))
858 ("apr-util" ,apr-util)
859 ("openssl" ,openssl)))
861 `(;; TODO: Fix build with gss.
865 `(#:modules ((guix build gnu-build-system)
869 ;; TODO: Add scons-build-system and use it here.
870 (modify-phases %standard-phases
872 (add-after 'unpack 'scons-propagate-environment
874 ;; By design, SCons does not, by default, propagate
875 ;; environment variables to subprocesses. See:
876 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
877 ;; Here, we modify the SConstruct file to arrange for
878 ;; environment variables to be propagated.
879 (substitute* "SConstruct"
880 (("^env = Environment\\(")
881 "env = Environment(ENV=os.environ, "))))
883 (lambda* (#:key inputs outputs #:allow-other-keys)
884 (let ((out (assoc-ref outputs "out"))
885 (apr (assoc-ref inputs "apr"))
886 (apr-util (assoc-ref inputs "apr-util"))
887 (openssl (assoc-ref inputs "openssl"))
888 ;;(gss (assoc-ref inputs "gss"))
889 (zlib (assoc-ref inputs "zlib")))
890 (zero? (system* "scons"
891 (string-append "APR=" apr)
892 (string-append "APU=" apr-util)
893 (string-append "OPENSSL=" openssl)
894 ;;(string-append "GSSAPI=" gss)
895 (string-append "ZLIB=" zlib)
896 (string-append "PREFIX=" out))))))
897 (add-before 'check 'disable-broken-tests
899 ;; These tests rely on SSL certificates that expired 2017-04-18.
900 ;; While there are newer certs available upstream, we don't want
901 ;; this package to suddenly "expire" some time in the future.
902 ;; https://bugs.gnu.org/26671
904 '("test_ssl_trust_rootca"
905 "test_ssl_certificate_chain_with_anchor"
906 "test_ssl_certificate_chain_all_from_server"
907 "test_ssl_no_servercert_callback_allok"
908 "test_ssl_large_response"
909 "test_ssl_large_request"
910 "test_ssl_client_certificate"
911 "test_ssl_future_server_cert"
912 "test_setup_ssltunnel"
913 "test_ssltunnel_basic_auth"
914 "test_ssltunnel_basic_auth_server_has_keepalive_off"
915 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
916 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
917 "test_ssltunnel_digest_auth")))
920 (substitute* "test/test_context.c"
921 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
924 (replace 'check (lambda _ (zero? (system* "scons" "check"))))
925 (replace 'install (lambda _ (zero? (system* "scons" "install")))))))
926 (home-page "https://serf.apache.org/")
927 (synopsis "High-performance asynchronous HTTP client library")
929 "serf is a C-based HTTP client library built upon the Apache Portable
930 Runtime (APR) library. It multiplexes connections, running the read/write
931 communication asynchronously. Memory copies and transformations are kept to a
932 minimum to provide high performance operation.")
933 ;; Most of the code is covered by the Apache License, Version 2.0, but the
934 ;; bundled CuTest framework uses a different non-copyleft license.
935 (license (list l:asl2.0 (l:non-copyleft "file://test/CuTest-README.txt")))))
938 ;; libsass must be statically linked and it isn't included in the sassc
939 ;; release tarballs, hence this odd package recipe.
940 (let* ((version "3.2.5")
945 "https://github.com/sass/libsass/archive/"
947 (file-name (string-append "libsass-" version ".tar.gz"))
950 "1x25k6p1s1yzsdpzb7bzh8japilmi1mk3z96q66pycbinj9z9is4")))))
956 (uri (string-append "https://github.com/sass/sassc/archive/"
958 (file-name (string-append "sassc-" version ".tar.gz"))
961 "1xf3w75w840rj0nx375rxi7mcv1ngqqq8p3zrzjlyx8jfpnldmv5"))))
962 (build-system gnu-build-system)
964 `(#:make-flags '("CC=gcc")
967 (modify-phases %standard-phases
969 (add-after 'unpack 'unpack-libsass-and-set-path
970 (lambda* (#:key inputs #:allow-other-keys)
971 (and (zero? (system* "tar" "xvf" (assoc-ref inputs "libsass")))
973 (setenv "SASS_LIBSASS_PATH"
974 (string-append (getcwd) "/libsass-" ,version))
976 (replace 'install ; no install target
977 (lambda* (#:key outputs #:allow-other-keys)
978 (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
980 (copy-file "bin/sassc" (string-append bin "/sassc"))
983 `(("libsass" ,libsass)))
984 (synopsis "CSS pre-processor")
985 (description "SassC is a compiler written in C for the CSS pre-processor
986 language known as SASS.")
987 (home-page "http://sass-lang.com/libsass")
991 (define-public perl-apache-logformat-compiler
993 (name "perl-apache-logformat-compiler")
998 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
999 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1002 "17blk3zhp05azgypn25ydxf3d7fyfgr9bxyiv7xkchhqma96vwqv"))))
1003 (build-system perl-build-system)
1005 `(("perl-http-message" ,perl-http-message)
1006 ("perl-module-build" ,perl-module-build)
1007 ("perl-test-mocktime" ,perl-test-mocktime)
1008 ("perl-try-tiny" ,perl-try-tiny)
1009 ("perl-uri" ,perl-uri)))
1011 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1012 (arguments `(#:tests? #f)) ;TODO: Timezone test failures
1013 (home-page "http://search.cpan.org/dist/Apache-LogFormat-Compiler")
1014 (synopsis "Compile a log format string to perl-code")
1015 (description "This module provides methods to compile a log format string
1016 to perl-code, for faster generation of access_log lines.")
1017 (license l:perl-license)))
1019 (define-public perl-authen-sasl
1021 (name "perl-authen-sasl")
1026 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
1027 "Authen-SASL-" version ".tar.gz"))
1030 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
1031 (build-system perl-build-system)
1034 (modify-phases %standard-phases
1035 (add-after 'unpack 'set-env
1036 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
1037 ;; versions of perl-authen-sasl.
1038 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
1040 `(("perl-digest-hmac" ,perl-digest-hmac)
1041 ("perl-gssapi" ,perl-gssapi)))
1042 (home-page "http://search.cpan.org/dist/Authen-SASL")
1043 (synopsis "SASL authentication framework")
1044 (description "Authen::SASL provides an SASL authentication framework.")
1045 (license l:perl-license)))
1047 (define-public perl-catalyst-action-renderview
1049 (name "perl-catalyst-action-renderview")
1054 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1055 "Catalyst-Action-RenderView-"
1059 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
1060 (build-system perl-build-system)
1062 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)))
1064 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1065 ("perl-data-visitor" ,perl-data-visitor)
1066 ("perl-mro-compat" ,perl-mro-compat)))
1067 (home-page "http://search.cpan.org/dist/Catalyst-Action-RenderView")
1068 (synopsis "Sensible default Catalyst action")
1069 (description "This Catalyst action implements a sensible default end
1070 action, which will forward to the first available view.")
1071 (license l:perl-license)))
1073 (define-public perl-catalyst-action-rest
1075 (name "perl-catalyst-action-rest")
1079 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1080 "Catalyst-Action-REST-" version ".tar.gz"))
1083 "1mpa64p61f3dp24xnhdraswch4sqj5vyv1iivcvvh5h0xi0haiy0"))))
1084 (build-system perl-build-system)
1086 `(("perl-test-requires" ,perl-test-requires)))
1088 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1089 ("perl-class-inspector" ,perl-class-inspector)
1090 ("perl-config-general" ,perl-config-general)
1091 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
1092 ("perl-libwww" ,perl-libwww)
1093 ("perl-moose" ,perl-moose)
1094 ("perl-mro-compat" ,perl-mro-compat)
1095 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1096 ("perl-params-validate" ,perl-params-validate)
1097 ("perl-uri-find" ,perl-uri-find)
1098 ("perl-xml-simple" ,perl-xml-simple)))
1099 (home-page "http://search.cpan.org/dist/Catalyst-Action-REST")
1100 (synopsis "Automated REST Method Dispatching")
1101 (description "This Action handles doing automatic method dispatching for
1102 REST requests. It takes a normal Catalyst action, and changes the dispatch to
1103 append an underscore and method name. First it will try dispatching to an
1104 action with the generated name, and failing that it will try to dispatch to a
1106 (license l:perl-license)))
1108 (define-public perl-catalyst-authentication-store-dbix-class
1110 (name "perl-catalyst-authentication-store-dbix-class")
1115 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1116 "Catalyst-Authentication-Store-DBIx-Class-"
1120 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
1121 (build-system perl-build-system)
1123 `(("perl-catalyst-plugin-authorization-roles"
1124 ,perl-catalyst-plugin-authorization-roles)
1125 ("perl-catalyst-plugin-session-state-cookie"
1126 ,perl-catalyst-plugin-session-state-cookie)
1127 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
1128 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1130 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1131 ("perl-catalyst-plugin-authentication"
1132 ,perl-catalyst-plugin-authentication)
1133 ("perl-dbix-class" ,perl-dbix-class)
1134 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
1136 "http://search.cpan.org/dist/Catalyst-Authentication-Store-DBIx-Class")
1137 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
1138 (description "The Catalyst::Authentication::Store::DBIx::Class class
1139 provides access to authentication information stored in a database via
1141 (license l:perl-license)))
1143 (define-public perl-catalyst-component-instancepercontext
1145 (name "perl-catalyst-component-instancepercontext")
1146 (version "0.001001")
1150 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
1151 "Catalyst-Component-InstancePerContext-"
1155 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
1156 (build-system perl-build-system)
1158 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1159 ("perl-moose" ,perl-moose)))
1161 "http://search.cpan.org/dist/Catalyst-Component-InstancePerContext")
1162 (synopsis "Create only one instance of Moose component per context")
1163 (description "Catalyst::Component::InstancePerContext returns a new
1164 instance of a component on each request.")
1165 (license l:perl-license)))
1167 (define-public perl-catalyst-devel
1169 (name "perl-catalyst-devel")
1174 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1175 "Catalyst-Devel-" version ".tar.gz"))
1178 "12m50bbkggjmpxihv3wnvr0g2qng0zwhlzi5ygppjz8wh2x73qxw"))))
1179 (build-system perl-build-system)
1181 `(("perl-test-fatal" ,perl-test-fatal)))
1183 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
1184 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
1185 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
1186 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1187 ("perl-config-general" ,perl-config-general)
1188 ("perl-file-changenotify" ,perl-file-changenotify)
1189 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
1190 ("perl-file-sharedir" ,perl-file-sharedir)
1191 ("perl-module-install" ,perl-module-install)
1192 ("perl-moose" ,perl-moose)
1193 ("perl-moosex-emulate-class-accessor-fast"
1194 ,perl-moosex-emulate-class-accessor-fast)
1195 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1196 ("perl-namespace-clean" ,perl-namespace-clean)
1197 ("perl-path-class" ,perl-path-class)
1198 ("perl-template-toolkit" ,perl-template-toolkit)))
1199 (home-page "http://search.cpan.org/dist/Catalyst-Devel")
1200 (synopsis "Catalyst Development Tools")
1201 (description "The Catalyst-Devel distribution includes a variety of
1202 modules useful for the development of Catalyst applications, but not required
1203 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
1204 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
1205 extension for Catalyst; and requirements for a variety of development-related
1207 (license l:perl-license)))
1209 (define-public perl-catalyst-dispatchtype-regex
1211 (name "perl-catalyst-dispatchtype-regex")
1216 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
1217 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
1220 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
1221 (build-system perl-build-system)
1223 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
1224 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1225 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
1227 `(("perl-moose" ,perl-moose)
1228 ("perl-text-simpletable" ,perl-text-simpletable)))
1229 (home-page "http://search.cpan.org/dist/Catalyst-DispatchType-Regex")
1230 (synopsis "Regex DispatchType for Catalyst")
1231 (description "Dispatch type managing path-matching behaviour using
1232 regexes. Regex dispatch types have been deprecated and removed from Catalyst
1233 core. It is recommend that you use Chained methods or other techniques
1234 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
1235 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
1236 when the dispatch type is first seen in your application.")
1237 (license l:perl-license)))
1239 (define-public perl-catalyst-model-dbic-schema
1241 (name "perl-catalyst-model-dbic-schema")
1246 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
1247 "Catalyst-Model-DBIC-Schema-"
1251 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
1252 (build-system perl-build-system)
1254 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
1255 ("perl-test-exception" ,perl-test-exception)
1256 ("perl-test-requires" ,perl-test-requires)))
1258 `(("perl-carp-clan" ,perl-carp-clan)
1259 ("perl-catalyst-component-instancepercontext"
1260 ,perl-catalyst-component-instancepercontext)
1261 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1262 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
1263 ("perl-dbix-class" ,perl-dbix-class)
1264 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
1265 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
1266 ("perl-hash-merge" ,perl-hash-merge)
1267 ("perl-list-moreutils" ,perl-list-moreutils)
1268 ("perl-module-runtime" ,perl-module-runtime)
1269 ("perl-moose" ,perl-moose)
1270 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
1271 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
1272 ("perl-moosex-types" ,perl-moosex-types)
1273 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
1274 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1275 ("perl-namespace-clean" ,perl-namespace-clean)
1276 ("perl-tie-ixhash" ,perl-tie-ixhash)
1277 ("perl-try-tiny" ,perl-try-tiny)))
1278 (home-page "http://search.cpan.org/dist/Catalyst-Model-DBIC-Schema")
1279 (synopsis "DBIx::Class::Schema Model Class")
1280 (description "This is a Catalyst Model for DBIx::Class::Schema-based
1282 (license l:perl-license)))
1284 (define-public perl-catalyst-plugin-accesslog
1286 (name "perl-catalyst-plugin-accesslog")
1291 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
1292 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
1295 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
1296 (build-system perl-build-system)
1298 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1299 ("perl-datetime" ,perl-datetime)
1300 ("perl-moose" ,perl-moose)
1301 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1302 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-AccessLog")
1303 (synopsis "Request logging from within Catalyst")
1304 (description "This Catalyst plugin enables you to create \"access logs\"
1305 from within a Catalyst application instead of requiring a webserver to do it
1306 for you. It will work even with Catalyst debug logging turned off.")
1307 (license l:perl-license)))
1309 (define-public perl-catalyst-plugin-authentication
1311 (name "perl-catalyst-plugin-authentication")
1316 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1317 "Catalyst-Plugin-Authentication-"
1321 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
1322 (build-system perl-build-system)
1324 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1325 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1326 ("perl-class-inspector" ,perl-class-inspector)
1327 ("perl-moose" ,perl-moose)
1328 ("perl-moosex-emulate-class-accessor-fast"
1329 ,perl-moosex-emulate-class-accessor-fast)
1330 ("perl-mro-compat" ,perl-mro-compat)
1331 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1332 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1333 ("perl-test-exception" ,perl-test-exception)
1334 ("perl-try-tiny" ,perl-try-tiny)))
1335 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Authentication")
1336 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
1337 (description "The authentication plugin provides generic user support for
1338 Catalyst apps. It is the basis for both authentication (checking the user is
1339 who they claim to be), and authorization (allowing the user to do what the
1340 system authorises them to do).")
1341 (license l:perl-license)))
1343 (define-public perl-catalyst-plugin-authorization-roles
1345 (name "perl-catalyst-plugin-authorization-roles")
1350 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1351 "Catalyst-Plugin-Authorization-Roles-"
1355 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
1356 (build-system perl-build-system)
1358 `(("perl-test-exception" ,perl-test-exception)))
1360 `(("perl-catalyst-plugin-authentication"
1361 ,perl-catalyst-plugin-authentication)
1362 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1363 ("perl-set-object" ,perl-set-object)
1364 ("perl-universal-isa" ,perl-universal-isa)))
1366 "http://search.cpan.org/dist/Catalyst-Plugin-Authorization-Roles")
1367 (synopsis "Role-based authorization for Catalyst")
1368 (description "Catalyst::Plugin::Authorization::Roles provides role-based
1369 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
1370 (license l:perl-license)))
1372 (define-public perl-catalyst-plugin-captcha
1374 (name "perl-catalyst-plugin-captcha")
1379 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
1380 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
1383 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
1384 (build-system perl-build-system)
1386 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1387 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1388 ("perl-gd-securityimage" ,perl-gd-securityimage)
1389 ("perl-http-date" ,perl-http-date)))
1390 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Captcha")
1391 (synopsis "Captchas for Catalyst")
1392 (description "This plugin creates and validates Captcha images for
1394 (license l:perl-license)))
1396 (define-public perl-catalyst-plugin-configloader
1398 (name "perl-catalyst-plugin-configloader")
1403 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1404 "Catalyst-Plugin-ConfigLoader-"
1408 "19j7p4v7mbx6wrmpvmrnd974apx7hdl2s095ga3b9zcbdrl77h5q"))))
1409 (build-system perl-build-system)
1411 `(("perl-path-class" ,perl-path-class)))
1413 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1414 ("perl-config-any" ,perl-config-any)
1415 ("perl-data-visitor" ,perl-data-visitor)
1416 ("perl-mro-compat" ,perl-mro-compat)))
1417 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-ConfigLoader")
1418 (synopsis "Load config files of various types")
1419 (description "This module will attempt to load find and load configuration
1420 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
1422 (license l:perl-license)))
1424 (define-public perl-catalyst-plugin-session
1426 (name "perl-catalyst-plugin-session")
1431 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1432 "Catalyst-Plugin-Session-" version ".tar.gz"))
1435 "171vi9xcl775scjaw4fcfdmqvz0rb1nr0xxg2gb3ng6bjzpslhgv"))))
1436 (build-system perl-build-system)
1438 `(("perl-test-deep" ,perl-test-deep)
1439 ("perl-test-exception" ,perl-test-exception)))
1441 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1442 ("perl-moose" ,perl-moose)
1443 ("perl-moosex-emulate-class-accessor-fast"
1444 ,perl-moosex-emulate-class-accessor-fast)
1445 ("perl-mro-compat" ,perl-mro-compat)
1446 ("perl-namespace-clean" ,perl-namespace-clean)
1447 ("perl-object-signature" ,perl-object-signature)
1448 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
1449 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Session")
1450 (synopsis "Catalyst generic session plugin")
1451 (description "This plugin links the two pieces required for session
1452 management in web applications together: the state, and the store.")
1453 (license l:perl-license)))
1455 (define-public perl-catalyst-plugin-session-state-cookie
1457 (name "perl-catalyst-plugin-session-state-cookie")
1462 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
1463 "Catalyst-Plugin-Session-State-Cookie-"
1467 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
1468 (build-system perl-build-system)
1470 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1471 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1472 ("perl-moose" ,perl-moose)
1473 ("perl-mro-compat" ,perl-mro-compat)
1474 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1476 "http://search.cpan.org/dist/Catalyst-Plugin-Session-State-Cookie")
1477 (synopsis "Maintain session IDs using cookies")
1478 (description "In order for Catalyst::Plugin::Session to work, the session
1479 ID needs to be stored on the client, and the session data needs to be stored
1480 on the server. This plugin stores the session ID on the client using the
1482 (license l:perl-license)))
1484 (define-public perl-catalyst-plugin-session-store-fastmmap
1486 (name "perl-catalyst-plugin-session-store-fastmmap")
1491 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1492 "Catalyst-Plugin-Session-Store-FastMmap-"
1496 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
1497 (build-system perl-build-system)
1499 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
1500 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1501 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1502 ("perl-moosex-emulate-class-accessor-fast"
1503 ,perl-moosex-emulate-class-accessor-fast)
1504 ("perl-mro-compat" ,perl-mro-compat)
1505 ("perl-path-class" ,perl-path-class)))
1507 "http://search.cpan.org/dist/Catalyst-Plugin-Session-Store-FastMmap")
1508 (synopsis "FastMmap session storage backend")
1509 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
1510 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
1511 memory interprocess cache. It is based on Cache::FastMmap.")
1512 (license l:perl-license)))
1514 (define-public perl-catalyst-plugin-stacktrace
1516 (name "perl-catalyst-plugin-stacktrace")
1521 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1522 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
1525 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
1526 (build-system perl-build-system)
1528 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1529 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
1530 ("perl-mro-compat" ,perl-mro-compat)))
1531 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-StackTrace")
1532 (synopsis "Stack trace on the Catalyst debug screen")
1533 (description "This plugin enhances the standard Catalyst debug screen by
1534 including a stack trace of your application up to the point where the error
1535 occurred. Each stack frame is displayed along with the package name, line
1536 number, file name, and code context surrounding the line number.")
1537 (license l:perl-license)))
1539 (define-public perl-catalyst-plugin-static-simple
1541 (name "perl-catalyst-plugin-static-simple")
1546 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1547 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
1550 "1h8f12bhzh0ssq9gs8r9g3hqn8zn2k0q944vc1vm8j81bns16msy"))))
1551 (build-system perl-build-system)
1553 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1554 ("perl-mime-types" ,perl-mime-types)
1555 ("perl-moose" ,perl-moose)
1556 ("perl-moosex-types" ,perl-moosex-types)
1557 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1558 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Static-Simple")
1559 (synopsis "Simple serving of static pages")
1560 (description "The Static::Simple plugin is designed to make serving static
1561 content in your application during development quick and easy, without
1562 requiring a single line of code from you. This plugin detects static files by
1563 looking at the file extension in the URL (such as .css or .png or .js). The
1564 plugin uses the lightweight MIME::Types module to map file extensions to
1565 IANA-registered MIME types, and will serve your static files with the correct
1566 MIME type directly to the browser, without being processed through Catalyst.")
1567 (license l:perl-license)))
1569 (define-public perl-catalyst-runtime
1571 (name "perl-catalyst-runtime")
1576 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1577 "Catalyst-Runtime-" version ".tar.gz"))
1580 "1gs70nq4rikpq6siwds9disb1z03vwjzf979xi9kf7saa1drfncs"))))
1581 (build-system perl-build-system)
1583 `(("perl-test-fatal" ,perl-test-fatal)))
1585 `(("perl-cgi-simple" ,perl-cgi-simple)
1586 ("perl-cgi-struct" ,perl-cgi-struct)
1587 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
1588 ("perl-class-data-inheritable" ,perl-class-data-inheritable)
1589 ("perl-class-date" ,perl-class-date)
1590 ("perl-class-load" ,perl-class-load)
1591 ("perl-data-dump" ,perl-data-dump)
1592 ("perl-http-body" ,perl-http-body)
1593 ("perl-http-message" ,perl-http-message)
1594 ("perl-http-request-ascgi" ,perl-http-request-ascgi)
1595 ("perl-io-stringy" ,perl-io-stringy)
1596 ("perl-json-maybexs" ,perl-json-maybexs)
1597 ("perl-libwww" ,perl-libwww)
1598 ("perl-module-pluggable" ,perl-module-pluggable)
1599 ("perl-moose" ,perl-moose)
1600 ("perl-moosex-emulate-class-accessor-fast"
1601 ,perl-moosex-emulate-class-accessor-fast)
1602 ("perl-moosex-getopt" ,perl-moosex-getopt)
1603 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
1604 ("perl-moosex-role-withoverloading" ,perl-moosex-role-withoverloading)
1605 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1606 ("perl-namespace-clean" ,perl-namespace-clean)
1607 ("perl-path-class" ,perl-path-class)
1608 ("perl-plack" ,perl-plack)
1609 ("perl-plack-middleware-fixmissingbodyinredirect"
1610 ,perl-plack-middleware-fixmissingbodyinredirect)
1611 ("perl-plack-middleware-methodoverride"
1612 ,perl-plack-middleware-methodoverride)
1613 ("perl-plack-middleware-removeredundantbody"
1614 ,perl-plack-middleware-removeredundantbody)
1615 ("perl-plack-middleware-reverseproxy"
1616 ,perl-plack-middleware-reverseproxy)
1617 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
1618 ("perl-safe-isa" ,perl-safe-isa)
1619 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1620 ("perl-text-simpletable" ,perl-text-simpletable)
1621 ("perl-tree-simple" ,perl-tree-simple)
1622 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
1623 ("perl-try-tiny" ,perl-try-tiny)
1624 ("perl-uri" ,perl-uri)
1625 ("perl-uri-ws" ,perl-uri-ws)))
1626 (home-page "http://search.cpan.org/dist/Catalyst-Runtime")
1627 (synopsis "The Catalyst Framework Runtime")
1628 (description "Catalyst is a modern framework for making web applications.
1629 It is designed to make it easy to manage the various tasks you need to do to
1630 run an application on the web, either by doing them itself, or by letting you
1631 \"plug in\" existing Perl modules that do what you need.")
1632 (license l:perl-license)))
1634 (define-public perl-catalyst-traitfor-request-proxybase
1636 (name "perl-catalyst-traitfor-request-proxybase")
1637 (version "0.000005")
1641 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1642 "Catalyst-TraitFor-Request-ProxyBase-"
1646 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
1647 (build-system perl-build-system)
1649 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1650 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
1651 ("perl-http-message" ,perl-http-message)))
1653 `(("perl-moose" ,perl-moose)
1654 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1655 ("perl-uri" ,perl-uri)))
1657 "http://search.cpan.org/dist/Catalyst-TraitFor-Request-ProxyBase")
1658 (synopsis "Replace request base with value passed by HTTP proxy")
1659 (description "This module is a Moose::Role which allows you more
1660 flexibility in your application's deployment configurations when deployed
1661 behind a proxy. Using this module, the request base ($c->req->base) is
1662 replaced with the contents of the X-Request-Base header.")
1663 (license l:perl-license)))
1665 (define-public perl-catalyst-view-download
1667 (name "perl-catalyst-view-download")
1672 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
1673 "Catalyst-View-Download-" version ".tar.gz"))
1676 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
1677 (build-system perl-build-system)
1679 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1680 ("perl-test-simple" ,perl-test-simple)
1681 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
1682 ("perl-text-csv" ,perl-text-csv)
1683 ("perl-xml-simple" ,perl-xml-simple)))
1684 (home-page "http://search.cpan.org/dist/Catalyst-View-Download")
1685 (synopsis "Download data in many formats")
1686 (description "The purpose of this module is to provide a method for
1687 downloading data into many supportable formats. For example, downloading a
1688 table based report in a variety of formats (CSV, HTML, etc.).")
1689 (license l:perl-license)))
1691 (define-public perl-catalyst-view-json
1693 (name "perl-catalyst-view-json")
1698 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1699 "Catalyst-View-JSON-" version ".tar.gz"))
1702 "0x943j1n2r0zqanyzdrs1xsnn8ayn2wqskn7h144xcqa6v6gcisl"))))
1703 (build-system perl-build-system)
1705 `(("perl-yaml" ,perl-yaml)))
1707 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1708 ("perl-json-maybexs" ,perl-json-maybexs)
1709 ("perl-mro-compat" ,perl-mro-compat)))
1710 (home-page "http://search.cpan.org/dist/Catalyst-View-JSON")
1711 (synopsis "Catalyst JSON view")
1712 (description "Catalyst::View::JSON is a Catalyst View handler that returns
1713 stash data in JSON format.")
1714 (license l:perl-license)))
1716 (define-public perl-catalyst-view-tt
1718 (name "perl-catalyst-view-tt")
1723 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1724 "Catalyst-View-TT-" version ".tar.gz"))
1727 "06d1zg4nbb6kcyjbnyxrkf8z4zlscxr8650d94f7187jygfl8rvh"))))
1728 (build-system perl-build-system)
1730 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1731 ("perl-class-accessor" ,perl-class-accessor)
1732 ("perl-data-dump" ,perl-data-dump)
1733 ("perl-mro-compat" ,perl-mro-compat)
1734 ("perl-path-class" ,perl-path-class)
1735 ("perl-template-timer" ,perl-template-timer)
1736 ("perl-template-toolkit" ,perl-template-toolkit)))
1737 (home-page "http://search.cpan.org/dist/Catalyst-View-TT")
1738 (synopsis "Template View Class")
1739 (description "This module is a Catalyst view class for the Template
1741 (license l:perl-license)))
1743 (define-public perl-catalystx-component-traits
1745 (name "perl-catalystx-component-traits")
1750 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
1751 "CatalystX-Component-Traits-" version ".tar.gz"))
1754 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
1755 (build-system perl-build-system)
1757 `(("perl-moose" ,perl-moose)
1758 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1759 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
1761 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1762 ("perl-class-load" ,perl-class-load)
1763 ("perl-moose" ,perl-moose)
1764 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
1765 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1766 ("perl-list-moreutils" ,perl-list-moreutils)))
1767 (home-page "http://search.cpan.org/dist/CatalystX-Component-Traits")
1768 (synopsis "Trait Loading and Resolution for Catalyst Components")
1769 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
1770 Catalyst component base class that reads the optional \"traits\" parameter
1771 from app and component config and instantiates the component subclass with
1772 those traits using \"new_with_traits\" in MooseX::Traits from
1773 MooseX::Traits::Pluggable.")
1774 (license l:perl-license)))
1776 (define-public perl-catalystx-roleapplicator
1778 (name "perl-catalystx-roleapplicator")
1783 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
1784 "CatalystX-RoleApplicator-" version ".tar.gz"))
1787 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
1788 (build-system perl-build-system)
1790 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1791 ("perl-moose" ,perl-moose)
1792 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
1793 (home-page "http://search.cpan.org/dist/CatalystX-RoleApplicator")
1794 (synopsis "Apply roles to Catalyst classes")
1795 (description "CatalystX::RoleApplicator applies roles to Catalyst
1796 application classes.")
1797 (license l:perl-license)))
1799 (define-public perl-catalystx-script-server-starman
1801 (name "perl-catalystx-script-server-starman")
1806 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
1807 "CatalystX-Script-Server-Starman-"
1811 "0h02mpkc4cmi3jpvcd7iw7xyzx55bqvvl1qkf967gqkvpklm0qx5"))))
1812 (build-system perl-build-system)
1814 `(("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1816 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1817 ("perl-moose" ,perl-moose)
1818 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1819 ("starman" ,starman)))
1820 (home-page "http://search.cpan.org/dist/CatalystX-Script-Server-Starman")
1821 (synopsis "Catalyst development server with Starman")
1822 (description "This module provides a Catalyst extension to replace the
1823 development server with Starman.")
1824 (license l:perl-license)))
1826 (define-public perl-cgi
1833 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
1834 "CGI-" version ".tar.gz"))
1837 "07gwnlc7vq58fjwmfsrv0hfyirqqdrpjhf89caq34rjrkz2wsd0b"))))
1838 (build-system perl-build-system)
1840 `(("perl-test-deep" ,perl-test-deep)
1841 ("perl-test-nowarnings" ,perl-test-nowarnings)
1842 ("perl-test-warn" ,perl-test-warn)))
1844 `(("perl-html-parser" ,perl-html-parser)))
1845 (home-page "http://search.cpan.org/dist/CGI")
1846 (synopsis "Handle Common Gateway Interface requests and responses")
1847 (description "CGI.pm is a stable, complete and mature solution for
1848 processing and preparing HTTP requests and responses. Major features include
1849 processing form submissions, file uploads, reading and writing cookies, query
1850 string generation and manipulation, and processing and preparing HTTP
1852 (license l:perl-license)))
1854 (define-public perl-cgi-simple
1856 (name "perl-cgi-simple")
1861 (uri (string-append "mirror://cpan/authors/id/S/SZ/SZABGAB/"
1862 "CGI-Simple-" version ".tar.gz"))
1865 "1nkyb1m1g5r47xykflf68dplanih5p15njv82frbgbsms34kp1sg"))))
1866 (build-system perl-build-system)
1868 `(("perl-module-build" ,perl-module-build)
1869 ("perl-io-stringy" ,perl-io-stringy))) ;for IO::Scalar
1870 (home-page "http://search.cpan.org/dist/CGI-Simple")
1871 (synopsis "CGI interface that is CGI.pm compliant")
1872 (description "CGI::Simple provides a relatively lightweight drop in
1873 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
1874 parameter parsing, file upload, cookie handling and header generation.")
1875 (license l:perl-license)))
1877 (define-public perl-cgi-struct
1879 (name "perl-cgi-struct")
1884 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
1885 "CGI-Struct-" version ".tar.gz"))
1888 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
1889 (build-system perl-build-system)
1891 `(("perl-test-deep" ,perl-test-deep)))
1892 (home-page "http://search.cpan.org/dist/CGI-Struct")
1893 (synopsis "Build structures from CGI data")
1894 (description "This is a module for building structured data from CGI
1895 inputs, in a manner reminiscent of how PHP does.")
1898 (define-public perl-datetime-format-http
1900 (name "perl-datetime-format-http")
1905 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
1906 "DateTime-Format-HTTP-" version ".tar.gz"))
1909 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
1910 (build-system perl-build-system)
1912 `(("perl-module-build" ,perl-module-build)))
1914 `(("perl-datetime" ,perl-datetime)
1915 ("perl-http-date" ,perl-http-date)))
1916 (home-page "http://search.cpan.org/dist/DateTime-Format-HTTP")
1917 (synopsis "Date conversion routines")
1918 (description "This module provides functions that deal with the date
1919 formats used by the HTTP protocol.")
1920 (license l:perl-license)))
1922 (define-public perl-digest-md5-file
1924 (name "perl-digest-md5-file")
1929 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
1930 "Digest-MD5-File-" version ".tar.gz"))
1933 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
1934 (build-system perl-build-system)
1936 `(("perl-libwww" ,perl-libwww)))
1937 (home-page "http://search.cpan.org/dist/Digest-MD5-File")
1938 (synopsis "MD5 sums for files and urls")
1939 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
1940 for files and urls.")
1941 (license l:perl-license)))
1943 (define-public perl-encode-locale
1945 (name "perl-encode-locale")
1950 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
1954 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
1955 (build-system perl-build-system)
1956 (license l:perl-license)
1957 (synopsis "Perl locale encoding determination")
1959 "The POSIX locale system is used to specify both the language
1960 conventions requested by the user and the preferred character set to
1961 consume and output. The Encode::Locale module looks up the charset and
1962 encoding (called a CODESET in the locale jargon) and arranges for the
1963 Encode module to know this encoding under the name \"locale\". It means
1964 bytes obtained from the environment can be converted to Unicode strings
1965 by calling Encode::encode(locale => $bytes) and converted back again
1966 with Encode::decode(locale => $string).")
1967 (home-page "http://search.cpan.org/~gaas/Encode-Locale/")))
1969 (define-public perl-feed-find
1971 (name "perl-feed-find")
1975 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
1976 "Feed-Find-" version ".tar.gz"))
1979 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
1980 (build-system perl-build-system)
1982 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
1985 (modify-phases %standard-phases
1986 (add-after 'unpack 'set-env
1987 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
1989 `(("perl-class-errorhandler" ,perl-class-errorhandler)
1990 ("perl-html-parser" ,perl-html-parser)
1991 ("perl-libwww" ,perl-libwww)
1992 ("perl-uri" ,perl-uri)))
1993 (home-page "http://search.cpan.org/dist/Feed-Find")
1994 (synopsis "Syndication feed auto-discovery")
1995 (description "@code{Feed::Find} implements feed auto-discovery for finding
1996 syndication feeds, given a URI. It will discover the following feed formats:
1997 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
1998 (license l:perl-license)))
2000 (define-public perl-file-listing
2002 (name "perl-file-listing")
2007 "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-"
2011 "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y"))))
2012 (build-system perl-build-system)
2014 `(("perl-http-date" ,perl-http-date)))
2015 (license l:perl-license)
2016 (synopsis "Perl directory listing parser")
2018 "The File::Listing module exports a single function called parse_dir(),
2019 which can be used to parse directory listings.")
2020 (home-page "http://search.cpan.org/~gaas/File-Listing/")))
2022 (define-public perl-finance-quote
2024 (name "perl-finance-quote")
2029 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
2030 "Finance-Quote-" version ".tar.gz"))
2033 "0zhqb27y4vdxn476s2kwm9zl2f970yjcyyybnjm9b406krr2fm59"))
2034 (patches (search-patches
2035 "perl-finance-quote-unuse-mozilla-ca.patch"))))
2036 (build-system perl-build-system)
2038 `(("perl-cgi" ,perl-cgi)
2039 ("perl-datetime" ,perl-datetime)
2040 ("perl-html-parser" ,perl-html-parser)
2041 ("perl-html-tableextract" ,perl-html-tableextract)
2042 ("perl-html-tree" ,perl-html-tree)
2043 ("perl-http-cookies" ,perl-http-cookies)
2044 ("perl-http-message" ,perl-http-message)
2045 ("perl-json" ,perl-json)
2046 ("perl-libwww" ,perl-libwww)
2047 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
2048 ("perl-uri" ,perl-uri)))
2049 (home-page "http://search.cpan.org/dist/Finance-Quote")
2050 (synopsis "Stock and mutual fund quotes")
2052 "Finance::Quote gets stock quotes from various internet sources, including
2053 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
2056 (define-public perl-gssapi
2058 (name "perl-gssapi")
2063 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
2064 "GSSAPI-" version ".tar.gz"))
2067 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
2068 (build-system perl-build-system)
2069 (inputs `(("gssapi" ,mit-krb5)))
2071 `(#:make-maker-flags
2072 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
2073 (home-page "http://search.cpan.org/dist/GSSAPI")
2074 (synopsis "Perl extension providing access to the GSSAPIv2 library")
2075 (description "This is a Perl extension for using GSSAPI C bindings as
2076 described in RFC 2744.")
2077 (license l:perl-license)))
2079 (define-public perl-html-element-extended
2081 (name "perl-html-element-extended")
2086 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
2087 "HTML-Element-Extended-" version ".tar.gz"))
2090 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
2091 (build-system perl-build-system)
2093 `(("perl-html-tree" ,perl-html-tree)))
2094 (home-page "http://search.cpan.org/dist/HTML-Element-Extended")
2095 (synopsis "Manipulate tables of HTML::Element")
2097 "HTML::Element::Extended is a Perl extension for manipulating a table
2098 composed of HTML::Element style components.")
2099 (license l:perl-license)))
2101 (define-public perl-html-form
2103 (name "perl-html-form")
2108 (uri (string-append "mirror://cpan/authors/id/G/GA/GAAS/"
2109 "HTML-Form-" version ".tar.gz"))
2112 "0dpwr7yz6hjc3bcqgcbdzjjk9l58ycdjmbam9nfcmm85y2a1vh38"))))
2113 (build-system perl-build-system)
2115 `(("perl-html-parser" ,perl-html-parser)
2116 ("perl-html-tagset" ,perl-html-tagset)
2117 ("perl-http-message" ,perl-http-message)
2118 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2119 ("perl-uri" ,perl-uri)))
2120 (home-page "http://search.cpan.org/dist/HTML-Form")
2121 (synopsis "Perl class representing an HTML form element")
2122 (description "Objects of the HTML::Form class represents a single HTML
2123 <form> ... </form> instance.")
2124 (license l:perl-license)))
2126 (define-public perl-html-lint
2128 (name "perl-html-lint")
2133 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
2134 "HTML-Lint-" version ".tar.gz"))
2137 "15vrqjnlb0f8rib1kqdf4islqy6i33h08wy7b1bkgd550p7lfjwk"))))
2138 (build-system perl-build-system)
2140 `(("perl-html-parser" ,perl-html-parser)
2141 ("perl-html-tagset" ,perl-html-tagset)
2142 ("perl-libwww" ,perl-libwww)))
2143 (home-page "http://search.cpan.org/dist/HTML-Lint")
2144 (synopsis "Check for HTML errors in a string or file")
2145 (description "HTML::Lint is a pure-Perl HTML parser and checker for
2146 syntactic legitmacy.")
2147 (license l:artistic2.0)))
2149 (define-public perl-html-tableextract
2151 (name "perl-html-tableextract")
2156 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
2157 "HTML-TableExtract-" version ".tar.gz"))
2160 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
2161 (build-system perl-build-system)
2163 `(("perl-html-element-extended" ,perl-html-element-extended)
2164 ("perl-html-parser" ,perl-html-parser)))
2165 (home-page "http://search.cpan.org/dist/HTML-TableExtract")
2166 (synopsis "Extract contents from HTML tables")
2168 "HTML::TableExtract is a Perl module for extracting the content contained
2169 in tables within an HTML document, either as text or encoded element trees.")
2170 (license l:perl-license)))
2172 (define-public perl-html-tree
2174 (name "perl-html-tree")
2179 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
2180 "HTML-Tree-" version ".tar.gz"))
2183 "0vjk4xrybjqs511qrh9cymhpbg9m3jjqr52qr035k6nzrccyndlw"))))
2184 (build-system perl-build-system)
2186 `(("perl-module-build" ,perl-module-build)
2187 ("perl-test-fatal" ,perl-test-fatal)))
2189 `(("perl-html-parser" ,perl-html-parser)
2190 ("perl-html-tagset" ,perl-html-tagset)
2191 ("perl-libwww" ,perl-libwww)))
2192 (home-page "http://search.cpan.org/dist/HTML-Tree")
2193 (synopsis "Work with HTML in a DOM-like tree structure")
2194 (description "This distribution contains a suite of modules for
2195 representing, creating, and extracting information from HTML syntax trees.")
2196 (license l:perl-license)))
2198 (define-public perl-html-parser
2200 (name "perl-html-parser")
2205 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
2209 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
2210 (build-system perl-build-system)
2212 `(("perl-html-tagset" ,perl-html-tagset)
2213 ("perl-http-message" ,perl-http-message)))
2214 (license l:perl-license)
2215 (synopsis "Perl HTML parser class")
2217 "Objects of the HTML::Parser class will recognize markup and separate
2218 it from plain text (alias data content) in HTML documents. As different
2219 kinds of markup and text are recognized, the corresponding event handlers
2221 (home-page "http://search.cpan.org/~gaas/HTML-Parser/")))
2223 (define-public perl-html-tagset
2225 (name "perl-html-tagset")
2230 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
2234 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
2235 (build-system perl-build-system)
2236 (license l:perl-license)
2237 (synopsis "Perl data tables useful in parsing HTML")
2239 "The HTML::Tagset module contains several data tables useful in various
2240 kinds of HTML parsing operations.")
2241 (home-page "http://search.cpan.org/dist/HTML-Tagset/")))
2243 (define-public perl-html-template
2245 (name "perl-html-template")
2249 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
2250 "HTML-Template-" version ".tar.gz"))
2253 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
2254 (build-system perl-build-system)
2256 `(("perl-cgi" ,perl-cgi)))
2257 (home-page "http://search.cpan.org/dist/HTML-Template")
2258 (synopsis "HTML-like templates")
2260 "This module attempts to make using HTML templates simple and natural.
2261 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
2262 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
2263 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
2264 these new tags is called a template. Using this module you fill in the values
2265 for the variables, loops and branches declared in the template. This allows
2266 you to separate design from the data.")
2267 (license l:perl-license)))
2269 (define-public perl-http-body
2271 (name "perl-http-body")
2276 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
2277 "HTTP-Body-" version ".tar.gz"))
2280 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
2281 (build-system perl-build-system)
2283 `(("perl-test-deep" ,perl-test-deep)))
2285 `(("perl-file-temp" ,perl-file-temp)
2286 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
2287 (home-page "http://search.cpan.org/dist/HTTP-Body")
2288 (synopsis "HTTP Body Parser")
2289 (description "HTTP::Body parses chunks of HTTP POST data and supports
2290 application/octet-stream, application/json, application/x-www-form-urlencoded,
2291 and multipart/form-data.")
2292 (license l:perl-license)))
2294 (define-public perl-http-cookiejar
2296 (name "perl-http-cookiejar")
2301 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2302 "HTTP-CookieJar-" version ".tar.gz"))
2305 "0rfw6avcralggs7bf7n86flvhaahxjnqzvpwszp0sk4z4wwy01wm"))))
2306 (build-system perl-build-system)
2308 `(("perl-test-deep" ,perl-test-deep)
2309 ("perl-test-requires" ,perl-test-requires)
2310 ("perl-time-mock" ,perl-time-mock)
2311 ("perl-uri" ,perl-uri)))
2313 `(("perl-time-local" ,perl-time-local)
2314 ("perl-http-date" ,perl-http-date)))
2315 (home-page "http://search.cpan.org/dist/HTTP-CookieJar")
2316 (synopsis "Minimalist HTTP user agent cookie jar")
2317 (description "This module implements a minimalist HTTP user agent cookie
2318 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
2319 (license l:asl2.0)))
2321 (define-public perl-http-cookies
2323 (name "perl-http-cookies")
2328 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Cookies-"
2332 "087bqmg22dg3vj7gssh3pcsh9y1scimkbl5h1kc8jqyfhgisvlzm"))))
2333 (build-system perl-build-system)
2335 `(("perl-http-message" ,perl-http-message)))
2336 (license l:perl-license)
2337 (synopsis "Perl HTTP cookie jars")
2339 "The HTTP::Cookies class is for objects that represent a cookie jar,
2340 that is, a database of all the HTTP cookies that a given LWP::UserAgent
2341 object knows about.")
2342 (home-page "http://search.cpan.org/~gaas/HTTP-Cookies/")))
2344 (define-public perl-http-daemon
2346 (name "perl-http-daemon")
2351 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
2355 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
2356 (build-system perl-build-system)
2358 `(("perl-http-message" ,perl-http-message)
2359 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
2360 (license l:perl-license)
2361 (synopsis "Perl simple http server class")
2363 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
2364 on a socket for incoming requests. The HTTP::Daemon is a subclass of
2365 IO::Socket::INET, so you can perform socket operations directly on it too.")
2366 (home-page "http://search.cpan.org/~gaas/HTTP-Daemon/")))
2368 (define-public perl-http-date
2370 (name "perl-http-date")
2375 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-"
2379 "0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8"))))
2380 (build-system perl-build-system)
2381 (license l:perl-license)
2382 (synopsis "Perl date conversion routines")
2384 "The HTTP::Date module provides functions that deal with date formats
2385 used by the HTTP protocol (and then some more).")
2386 (home-page "http://search.cpan.org/~gaas/HTTP-Date/")))
2388 (define-public perl-http-message
2390 (name "perl-http-message")
2395 "mirror://cpan/authors/id/E/ET/ETHER/HTTP-Message-"
2399 "06yq6cjx4vzl4if4ykap77xsrrd8aa7ish90k7cqi8g6g83nicz7"))))
2400 (build-system perl-build-system)
2402 `(("perl-encode-locale" ,perl-encode-locale)
2403 ("perl-http-date" ,perl-http-date)
2404 ("perl-io-html" ,perl-io-html)
2405 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2406 ("perl-uri" ,perl-uri)))
2407 (license l:perl-license)
2408 (synopsis "Perl HTTP style message")
2410 "An HTTP::Message object contains some headers and a content body.")
2411 (home-page "http://search.cpan.org/~ether/HTTP-Message/")))
2413 (define-public perl-http-negotiate
2415 (name "perl-http-negotiate")
2420 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
2424 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
2425 (build-system perl-build-system)
2427 `(("perl-http-message" ,perl-http-message)))
2428 (license l:perl-license)
2429 (synopsis "Perl http content negotiation")
2431 "The HTTP::Negotiate module provides a complete implementation of the
2432 HTTP content negotiation algorithm specified in
2433 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
2434 the selection of a preferred content representation based upon attributes
2435 of the negotiable variants and the value of the various Accept* header
2436 fields in the request.")
2437 (home-page "http://search.cpan.org/~gaas/HTTP-Negotiate/")))
2439 (define-public perl-http-parser
2441 (name "perl-http-parser")
2446 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
2447 "HTTP-Parser-" version ".tar.gz"))
2450 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
2451 (build-system perl-build-system)
2453 `(("perl-http-message" ,perl-http-message)
2454 ("perl-uri" ,perl-uri)))
2455 (home-page "http://search.cpan.org/dist/HTTP-Parser")
2456 (synopsis "Parse HTTP/1.1 requests")
2457 (description "This is an HTTP request parser. It takes chunks of text as
2458 received and returns a 'hint' as to what is required, or returns the
2459 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
2461 (license l:perl-license)))
2463 (define-public perl-http-parser-xs
2465 (name "perl-http-parser-xs")
2470 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
2471 "HTTP-Parser-XS-" version ".tar.gz"))
2474 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
2475 (build-system perl-build-system)
2477 `(("perl-module-install" ,perl-module-install)))
2478 (home-page "http://search.cpan.org/dist/HTTP-Parser-XS")
2479 (synopsis "Fast HTTP request parser")
2480 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
2482 (license l:perl-license)))
2484 (define-public perl-http-request-ascgi
2486 (name "perl-http-request-ascgi")
2491 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2492 "HTTP-Request-AsCGI-" version ".tar.gz"))
2495 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
2496 (build-system perl-build-system)
2498 `(("perl-class-accessor" ,perl-class-accessor)
2499 ("perl-http-message" ,perl-http-message)))
2500 (home-page "http://search.cpan.org/dist/HTTP-Request-AsCGI")
2501 (synopsis "Set up a CGI environment from an HTTP::Request")
2502 (description "This module provides a convenient way to set up a CGI
2503 environment from an HTTP::Request.")
2504 (license l:perl-license)))
2506 (define-public perl-http-server-simple
2508 (name "perl-http-server-simple")
2513 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
2514 "HTTP-Server-Simple-" version ".tar.gz"))
2517 "1yvd2g57z2kq00q5i3zzfi15k98qgbif3vghjsda6v612agmrp5r"))))
2518 (build-system perl-build-system)
2520 `(("perl-cgi" ,perl-cgi)))
2522 ;; See the discussion of a related tests issue at
2523 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
2526 #:phases (modify-phases %standard-phases
2527 (add-before 'configure 'set-search-path
2529 ;; Work around "dotless @INC" build failure.
2531 (string-append (getcwd) ":"
2532 (getenv "PERL5LIB")))
2534 (home-page "http://search.cpan.org/dist/HTTP-Server-Simple")
2535 (synopsis "Lightweight HTTP server")
2536 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
2537 no non-core module dependencies. It can be used for building a standalone
2538 http-based UI to your existing tools.")
2539 (license l:perl-license)))
2541 (define-public perl-http-tiny
2543 (name "perl-http-tiny")
2548 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2549 "HTTP-Tiny-" version ".tar.gz"))
2552 "0cvp5yqrni6qydpsa8fpkbm82zfwmy9js8jsvyj8gs3dx78qbwvl"))))
2553 (build-system perl-build-system)
2555 `(("perl-http-cookiejar" ,perl-http-cookiejar)
2556 ("perl-io-socket-ip" ,perl-io-socket-ip)
2557 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
2558 ("perl-mozilla-ca" ,perl-mozilla-ca)
2559 ("perl-net-ssleay" ,perl-net-ssleay)))
2560 (home-page "http://search.cpan.org/dist/HTTP-Tiny")
2561 (synopsis "HTTP/1.1 client")
2562 (description "This is a very simple HTTP/1.1 client, designed for doing
2563 simple requests without the overhead of a large framework like LWP::UserAgent.
2564 It supports proxies and redirection. It also correctly resumes after EINTR.")
2565 (license l:perl-license)))
2567 (define-public perl-io-html
2569 (name "perl-io-html")
2574 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
2578 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
2579 (build-system perl-build-system)
2580 (license l:perl-license)
2581 (synopsis "Perl module to open an HTML file with automatic charset detection")
2583 "IO::HTML provides an easy way to open a file containing HTML while
2584 automatically determining its encoding. It uses the HTML5 encoding sniffing
2585 algorithm specified in section 8.2.2.1 of the draft standard.")
2586 (home-page "http://search.cpan.org/~cjm/IO-HTML/")))
2588 (define-public perl-io-socket-ip
2590 (name "perl-io-socket-ip")
2595 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
2596 "IO-Socket-IP-" version ".tar.gz"))
2599 "0ky20hmln6waipzqikizyw04vpszf70fgpshz7ib8zv8480ri456"))))
2600 (build-system perl-build-system)
2601 (native-inputs `(("perl-module-build" ,perl-module-build)))
2602 (home-page "http://search.cpan.org/dist/IO-Socket-IP")
2603 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
2604 (description "This module provides a protocol-independent way to use IPv4
2605 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
2606 (license l:perl-license)))
2608 (define-public perl-io-socket-ssl
2610 (name "perl-io-socket-ssl")
2614 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
2615 "IO-Socket-SSL-" version ".tar.gz"))
2618 "11fiifxyvn7njc9p52wgygyw24jz7rh7gnz2ikjphr4l4x9f03rx"))
2619 (patches (search-patches
2620 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
2621 (build-system perl-build-system)
2623 `(("perl-net-ssleay" ,perl-net-ssleay)
2625 ("perl-uri" ,perl-uri)))
2626 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
2628 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
2629 necessary functionality into the familiar IO::Socket interface and providing
2630 secure defaults whenever possible. This way existing applications can be made
2631 SSL-aware without much effort, at least if you do blocking I/O and don't use
2633 (license l:perl-license)
2634 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
2636 (define-public perl-libwww
2638 (name "perl-libwww")
2643 "mirror://cpan/authors/id/E/ET/ETHER/libwww-perl-"
2647 "08l3mpgcvm4ipn1zggymqgk402apf35xyds43i8c07hvq92rsd3g"))))
2648 (build-system perl-build-system)
2650 `(("perl-encode-locale" ,perl-encode-locale)
2651 ("perl-file-listing" ,perl-file-listing)
2652 ("perl-html-parser" ,perl-html-parser)
2653 ("perl-http-cookies" ,perl-http-cookies)
2654 ("perl-http-daemon" ,perl-http-daemon)
2655 ("perl-http-date" ,perl-http-date)
2656 ("perl-http-message" ,perl-http-message)
2657 ("perl-http-negotiate" ,perl-http-negotiate)
2658 ("perl-net-http" ,perl-net-http)
2659 ("perl-uri" ,perl-uri)
2660 ("perl-www-robotrules" ,perl-www-robotrules)))
2661 (license l:perl-license)
2662 (synopsis "Perl modules for the WWW")
2664 "The libwww-perl collection is a set of Perl modules which provides a
2665 simple and consistent application programming interface to the
2666 World-Wide Web. The main focus of the library is to provide classes
2667 and functions that allow you to write WWW clients. The library also
2668 contains modules that are of more general use and even classes that
2669 help you implement simple HTTP servers.")
2670 (home-page "http://search.cpan.org/dist/libwww-perl/")))
2672 (define-public perl-lwp-mediatypes
2674 (name "perl-lwp-mediatypes")
2679 "mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-"
2683 "0xmnblp962qy02akah30sji8bxrqcyqlff2w95l199ghql60ny8q"))))
2684 (build-system perl-build-system)
2685 (license l:perl-license)
2686 (synopsis "Perl module to guess the media type for a file or a URL")
2688 "The LWP::MediaTypes module provides functions for handling media (also
2689 known as MIME) types and encodings. The mapping from file extensions to
2690 media types is defined by the media.types file. If the ~/.media.types file
2691 exists it is used instead.")
2692 (home-page "http://search.cpan.org/~gaas/LWP-MediaTypes/")))
2694 (define-public perl-lwp-protocol-https
2696 (name "perl-lwp-protocol-https")
2701 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHILLI/"
2702 "LWP-Protocol-https-" version ".tar.gz"))
2705 "1vxdjqj4bwq56m9h1bqqwkk3c6jr76f2zqzvwa26yjng3p686v5q"))))
2706 (build-system perl-build-system)
2708 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
2709 ("perl-libwww" ,perl-libwww)
2710 ;; Users should instead make sure SSL_ca_path is set properly.
2711 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
2712 ("perl-net-http" ,perl-net-http)))
2713 (home-page "http://search.cpan.org/dist/LWP-Protocol-https")
2714 (synopsis "HTTPS support for LWP::UserAgent")
2715 (description "The LWP::Protocol::https module provides support for using
2716 https schemed URLs with LWP.")
2717 (license l:perl-license)))
2719 (define-public perl-lwp-useragent-determined
2721 (name "perl-lwp-useragent-determined")
2726 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
2727 "LWP-UserAgent-Determined-" version ".tar.gz"))
2730 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
2731 (build-system perl-build-system)
2733 `(("perl-libwww" ,perl-libwww)))
2734 (home-page "http://search.cpan.org/dist/LWP-UserAgent-Determined")
2735 (synopsis "Virtual browser that retries errors")
2736 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
2737 except that when you use it to get a web page but run into a
2738 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
2739 and retry a few times.")
2740 (license l:perl-license)))
2742 (define-public perl-net-amazon-s3
2744 (name "perl-net-amazon-s3")
2749 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
2750 "Net-Amazon-S3-" version ".tar.gz"))
2753 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
2754 (patches (search-patches
2755 "perl-net-amazon-s3-moose-warning.patch"))))
2756 (build-system perl-build-system)
2758 `(("perl-libwww" ,perl-libwww)
2759 ("perl-test-exception" ,perl-test-exception)))
2761 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
2762 ("perl-datetime-format-http" ,perl-datetime-format-http)
2763 ("perl-digest-hmac" ,perl-digest-hmac)
2764 ("perl-digest-md5-file" ,perl-digest-md5-file)
2765 ("perl-file-find-rule" ,perl-file-find-rule)
2766 ("perl-http-date" ,perl-http-date)
2767 ("perl-http-message" ,perl-http-message)
2768 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
2769 ("perl-mime-types" ,perl-mime-types)
2770 ("perl-moose" ,perl-moose)
2771 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
2772 ("perl-moosex-types-datetime-morecoercions"
2773 ,perl-moosex-types-datetime-morecoercions)
2774 ("perl-path-class" ,perl-path-class)
2775 ("perl-regexp-common" ,perl-regexp-common)
2776 ("perl-term-encoding" ,perl-term-encoding)
2777 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
2778 ("perl-uri" ,perl-uri)
2779 ("perl-xml-libxml" ,perl-xml-libxml)))
2780 (home-page "http://search.cpan.org/dist/Net-Amazon-S3")
2781 (synopsis "Perl interface to Amazon S3")
2782 (description "This module provides a Perlish interface to Amazon S3.")
2783 (license l:perl-license)))
2785 (define-public perl-net-http
2787 (name "perl-net-http")
2792 "mirror://cpan/authors/id/M/MS/MSCHILLI/Net-HTTP-"
2796 "0r034hhci0yqbrkrh1gv6vi5g3i0kpd1k84z62nk02asb8rf0ccz"))))
2797 (build-system perl-build-system)
2799 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
2800 ("perl-uri" ,perl-uri)))
2801 (license l:perl-license)
2802 (synopsis "Perl low-level HTTP connection (client)")
2804 "The Net::HTTP class is a low-level HTTP client. An instance of the
2805 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
2806 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
2808 (home-page "http://search.cpan.org/dist/Net-HTTP")))
2810 (define-public perl-net-server
2812 (name "perl-net-server")
2817 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
2818 "Net-Server-" version ".tar.gz"))
2821 "182gfikn7r40kmm3d35m2qc6r8g0y1j8gxbn9ffaawf8xmm0a889"))))
2822 (build-system perl-build-system)
2823 (home-page "http://search.cpan.org/dist/Net-Server")
2824 (synopsis "Extensible Perl server engine")
2825 (description "Net::Server is an extensible, generic Perl server engine.
2826 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
2827 It includes with it the ability to run as an inetd
2828 process (Net::Server::INET), a single connection server (Net::Server or
2829 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
2830 server which maintains a constant number of preforked
2831 children (Net::Server::PreForkSimple), or as a managed preforking server which
2832 maintains the number of children based on server load (Net::Server::PreFork).
2833 In all but the inetd type, the server provides the ability to connect to one
2834 or to multiple server ports.")
2835 (license l:perl-license)))
2837 (define-public perl-net-smtp-ssl
2839 (name "perl-net-smtp-ssl")
2844 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
2845 "Net-SMTP-SSL-" version ".tar.gz"))
2848 "05y94mb1vdw32mvwb0cp2h4ggh32f8j8nwwfjb8kjwxvfkfhyp9h"))))
2849 (build-system perl-build-system)
2851 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
2852 (home-page "http://search.cpan.org/dist/Net-SMTP-SSL")
2853 (synopsis "SSL support for Net::SMTP")
2854 (description "SSL support for Net::SMTP.")
2855 (license l:perl-license)))
2857 (define-public perl-plack
2864 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
2865 "Plack-" version ".tar.gz"))
2868 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
2869 (build-system perl-build-system)
2871 `(("perl-test-requires" ,perl-test-requires)
2872 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
2874 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
2875 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
2876 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
2877 ("perl-file-sharedir" ,perl-file-sharedir)
2878 ("perl-hash-multivalue" ,perl-hash-multivalue)
2879 ("perl-http-body" ,perl-http-body)
2880 ("perl-http-message" ,perl-http-message)
2881 ("perl-http-tiny" ,perl-http-tiny)
2882 ("perl-libwww" ,perl-libwww)
2883 ("perl-stream-buffered" ,perl-stream-buffered)
2884 ("perl-test-tcp" ,perl-test-tcp)
2885 ("perl-try-tiny" ,perl-try-tiny)
2886 ("perl-uri" ,perl-uri)))
2887 (home-page "http://search.cpan.org/dist/Plack")
2888 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
2889 (description "Plack is a set of tools for using the PSGI stack. It
2890 contains middleware components, a reference server, and utilities for Web
2891 application frameworks. Plack is like Ruby's Rack or Python's Paste for
2893 (license l:perl-license)))
2895 (define-public perl-plack-middleware-fixmissingbodyinredirect
2897 (name "perl-plack-middleware-fixmissingbodyinredirect")
2902 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
2903 "Plack-Middleware-FixMissingBodyInRedirect-"
2907 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
2908 (build-system perl-build-system)
2910 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
2911 ("perl-http-message" ,perl-http-message)
2912 ("perl-plack" ,perl-plack))) ;for Plack::Test
2914 "http://search.cpan.org/dist/Plack-Middleware-FixMissingBodyInRedirect")
2915 (synopsis "Plack::Middleware which sets body for redirect response")
2916 (description "This module sets the body in redirect response, if it's not
2918 (license l:perl-license)))
2920 (define-public perl-plack-middleware-methodoverride
2922 (name "perl-plack-middleware-methodoverride")
2927 (uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/"
2928 "Plack-Middleware-MethodOverride-"
2932 "1hb8dx7i4vs74n0p737wrvpdnnw6argxrjpr6kj6432zabp8325z"))))
2933 (build-system perl-build-system)
2935 `(("perl-module-build" ,perl-module-build)))
2937 `(("perl-plack" ,perl-plack)))
2938 (home-page "http://search.cpan.org/dist/Plack-Middleware-MethodOverride")
2939 (synopsis "Override REST methods to Plack apps via POST")
2940 (description "This middleware allows for POST requests that pretend to be
2941 something else: by adding either a header named X-HTTP-Method-Override to the
2942 request, or a query parameter named x-tunneled-method to the URI, the client
2943 can say what method it actually meant.")
2944 (license l:perl-license)))
2946 (define-public perl-plack-middleware-removeredundantbody
2948 (name "perl-plack-middleware-removeredundantbody")
2953 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
2954 "Plack-Middleware-RemoveRedundantBody-"
2958 "1n3wm0zi8dnk54jx937asl951lslj3jvw0fry4jpzsibg4f6wrx0"))))
2959 (build-system perl-build-system)
2961 `(("perl-plack" ,perl-plack)))
2963 "http://search.cpan.org/dist/Plack-Middleware-RemoveRedundantBody")
2964 (synopsis "Plack::Middleware which removes body for HTTP response")
2965 (description "This module removes the body in an HTTP response if it's not
2967 (license l:perl-license)))
2969 (define-public perl-plack-middleware-reverseproxy
2971 (name "perl-plack-middleware-reverseproxy")
2976 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
2977 "Plack-Middleware-ReverseProxy-"
2981 "1zmsccdy6wr5hxzj07r1nsmaymyibk87p95z0wzknjw10lwmqs9f"))))
2982 (build-system perl-build-system)
2984 `(("perl-plack" ,perl-plack)))
2985 (home-page "http://search.cpan.org/dist/Plack-Middleware-ReverseProxy")
2986 (synopsis "Supports app to run as a reverse proxy backend")
2987 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
2988 which are changed by reverse-proxy. You can specify the reverse proxy address
2989 and stop fake requests using 'enable_if' directive in your app.psgi.")
2990 (license l:perl-license)))
2992 (define-public perl-plack-test-externalserver
2994 (name "perl-plack-test-externalserver")
2999 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3000 "Plack-Test-ExternalServer-" version ".tar.gz"))
3003 "1dbg1p3rgvvbkkpvca5jlc2mzx8iqyiybk88al93pvbca65h1g7h"))))
3004 (build-system perl-build-system)
3006 `(("perl-plack" ,perl-plack)))
3007 (home-page "http://search.cpan.org/dist/Plack-Test-ExternalServer")
3008 (synopsis "Run HTTP tests on external live servers")
3009 (description "This module allows your to run your Plack::Test tests
3010 against an external server instead of just against a local application through
3011 either mocked HTTP or a locally spawned server.")
3012 (license l:perl-license)))
3014 (define-public perl-test-tcp
3016 (name "perl-test-tcp")
3021 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
3022 "Test-TCP-" version ".tar.gz"))
3025 "0acjwm21y2an4f3fasci9qa0isakh9cgp74fk0bzcdi506xmcjbi"))))
3026 (build-system perl-build-system)
3028 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
3029 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
3030 (home-page "http://search.cpan.org/dist/Test-TCP")
3031 (synopsis "Testing TCP programs")
3032 (description "Test::TCP is test utilities for TCP/IP programs.")
3033 (license l:perl-license)))
3035 (define-public perl-test-www-mechanize
3037 (name "perl-test-www-mechanize")
3042 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3043 "Test-WWW-Mechanize-" version ".tar.gz"))
3046 "062pj242vsc73bw11jqpap92ax9wzc9f2m4xhyp1wzrwkfchpl2q"))))
3047 (build-system perl-build-system)
3049 `(("perl-test-exception" ,perl-test-exception)))
3051 `(("perl-carp-assert-more" ,perl-carp-assert-more)
3052 ("perl-html-form" ,perl-html-form)
3053 ("perl-html-lint" ,perl-html-lint)
3054 ("perl-html-tree" ,perl-html-tree)
3055 ("perl-http-server-simple" ,perl-http-server-simple)
3056 ("perl-libwww" ,perl-libwww)
3057 ("perl-test-longstring" ,perl-test-longstring)
3058 ("perl-www-mechanize" ,perl-www-mechanize)))
3059 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize")
3060 (synopsis "Testing-specific WWW::Mechanize subclass")
3061 (description "Test::WWW::Mechanize is a subclass of the Perl module
3062 WWW::Mechanize that incorporates features for web application testing.")
3063 (license l:artistic2.0)))
3065 (define-public perl-test-www-mechanize-catalyst
3067 (name "perl-test-www-mechanize-catalyst")
3072 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
3073 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
3076 "0nhhfrrai3ndziz873vpa1j0vljjnib4wqafd6yyvkf58ad7v0lv"))))
3077 (build-system perl-build-system)
3079 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
3080 ("perl-catalyst-plugin-session-state-cookie"
3081 ,perl-catalyst-plugin-session-state-cookie)
3082 ("perl-test-exception" ,perl-test-exception)
3083 ("perl-test-pod" ,perl-test-pod)
3084 ("perl-test-utf8" ,perl-test-utf8)))
3086 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
3087 ("perl-class-load" ,perl-class-load)
3088 ("perl-libwww" ,perl-libwww)
3089 ("perl-moose" ,perl-moose)
3090 ("perl-namespace-clean" ,perl-namespace-clean)
3091 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
3092 ("perl-www-mechanize" ,perl-www-mechanize)))
3093 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-Catalyst")
3094 (synopsis "Test::WWW::Mechanize for Catalyst")
3095 (description "The Test::WWW::Mechanize::Catalyst module meshes the
3096 Test::WWW:Mechanize module and the Catalyst web application framework to allow
3097 testing of Catalyst applications without needing to start up a web server.")
3098 (license l:perl-license)))
3100 (define-public perl-test-www-mechanize-psgi
3102 (name "perl-test-www-mechanize-psgi")
3107 (uri (string-append "mirror://cpan/authors/id/L/LB/LBROCARD/"
3108 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
3111 "1hih8s49zf38bisvhnhzrrj0zwyiivkrbs7nmmdqm1qqy27wv7pc"))))
3112 (build-system perl-build-system)
3114 `(("perl-test-pod" ,perl-test-pod)))
3116 `(("perl-plack" ,perl-plack)
3117 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
3118 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-PSGI")
3119 (synopsis "Test PSGI programs using WWW::Mechanize")
3120 (description "PSGI is a specification to decouple web server environments
3121 from web application framework code. Test::WWW::Mechanize is a subclass of
3122 WWW::Mechanize that incorporates features for web application testing. The
3123 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
3125 (license l:perl-license)))
3127 (define-public perl-uri
3133 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
3134 "URI-" version ".tar.gz"))
3137 "05a1ck1bhvqkkk690xhsxf7276dnagk96qkh2jy4prrrgw6wm3lw"))))
3138 (build-system perl-build-system)
3139 (license l:perl-license)
3140 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
3142 "The URI module implements the URI class. Objects of this class
3143 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
3144 and updated by RFC 2732.")
3145 (home-page "http://search.cpan.org/dist/URI/")))
3147 (define-public perl-uri-fetch
3149 (name "perl-uri-fetch")
3153 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
3154 "URI-Fetch-" version ".tar.gz"))
3157 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
3158 (build-system perl-build-system)
3160 `(#:tests? #f)) ; Tests require internet connection to succeed
3162 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3163 ("perl-libwww" ,perl-libwww)
3164 ("perl-uri" ,perl-uri)))
3165 (home-page "http://search.cpan.org/dist/URI-Fetch")
3166 (synopsis "Smart URI fetching/caching")
3167 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
3168 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
3169 and time-saving way.")
3170 (license l:perl-license)))
3172 (define-public perl-uri-find
3174 (name "perl-uri-find")
3175 (version "20140709")
3179 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
3180 "URI-Find-" version ".tar.gz"))
3183 "0czc4h182s7sx3k123m7qlg7yybnwxgh369hap3c3b6xgrglrhy0"))))
3184 (build-system perl-build-system)
3186 `(("perl-module-build" ,perl-module-build)))
3188 `(("perl-uri" ,perl-uri)))
3189 (home-page "http://search.cpan.org/dist/URI-Find")
3190 (synopsis "Find URIs in arbitrary text")
3191 (description "This module finds URIs and URLs (according to what URI.pm
3192 considers a URI) in plain text. It only finds URIs which include a
3193 scheme (http:// or the like), for something a bit less strict, consider
3194 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
3195 (license l:perl-license)))
3197 (define-public perl-uri-ws
3199 (name "perl-uri-ws")
3204 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
3205 "URI-ws-" version ".tar.gz"))
3208 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
3209 (build-system perl-build-system)
3211 `(("perl-uri" ,perl-uri)))
3212 (home-page "http://search.cpan.org/dist/URI-ws")
3213 (synopsis "WebSocket support for URI package")
3214 (description "With this module, the URI package provides the same set of
3215 methods for WebSocket URIs as it does for HTTP URIs.")
3216 (license l:perl-license)))
3218 (define-public perl-uri-template
3220 (name "perl-uri-template")
3224 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
3228 "08kjjb4c0v9gqfrfnj1wkivylxl05finn11ra64dj136fhmnyrbg"))))
3229 (build-system perl-build-system)
3231 `(("perl-uri" ,perl-uri)))
3233 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
3234 ("perl-test-pod" ,perl-test-pod)
3235 ("perl-module-install" ,perl-module-install)
3236 ("perl-json" ,perl-json)))
3237 (home-page "http://search.cpan.org/dist/URI-Template")
3238 (synopsis "Object for handling URI templates")
3239 (description "This perl module provides a wrapper around URI templates as described in
3241 (license l:perl-license)))
3243 (define-public perl-www-curl
3245 (name "perl-www-curl")
3250 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
3252 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
3255 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
3256 (build-system perl-build-system)
3258 '(#:tests? #f)) ;XXX: tests require network access
3260 `(("perl-module-install" ,perl-module-install)))
3261 (inputs `(("curl" ,curl)))
3262 (synopsis "Perl extension interface for libcurl")
3264 "This is a Perl extension interface for the libcurl file downloading
3266 (license l:perl-license)
3267 (home-page "http://search.cpan.org/~szbalint/WWW-Curl-4.17/lib/WWW/Curl.pm")))
3269 (define-public perl-www-mechanize
3271 (name "perl-www-mechanize")
3276 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
3277 "WWW-Mechanize-" version ".tar.gz"))
3280 "1zrw8aadhwy48q51x2z2rqlkwf17bya4j4h3hy89mw783j96rmg9"))))
3281 (build-system perl-build-system)
3282 (native-inputs ;only for tests
3283 `(("perl-cgi" ,perl-cgi)))
3285 `(("perl-html-form" ,perl-html-form)
3286 ("perl-html-parser" ,perl-html-parser)
3287 ("perl-http-message" ,perl-http-message)
3288 ("perl-http-server-simple" ,perl-http-server-simple)
3289 ("perl-libwww" ,perl-libwww)
3290 ("perl-test-warn" ,perl-test-warn)
3291 ("perl-uri" ,perl-uri)))
3292 (home-page "http://search.cpan.org/dist/WWW-Mechanize")
3293 (synopsis "Web browsing in a Perl object")
3294 (description "WWW::Mechanize is a Perl module for stateful programmatic
3295 web browsing, used for automating interaction with websites.")
3296 (license l:perl-license)))
3298 (define-public perl-www-opensearch
3300 (name "perl-www-opensearch")
3304 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
3305 "WWW-OpenSearch-" version ".tar.gz"))
3308 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
3309 (build-system perl-build-system)
3311 `(#:tests? #f)) ; Tests require further modules to be packaged
3313 `(("perl-data-page" ,perl-data-page)
3314 ("perl-libwww" ,perl-libwww)
3315 ("perl-uri" ,perl-uri)
3316 ("perl-uri-template" ,perl-uri-template)
3317 ("perl-xml-feed" ,perl-xml-feed)
3318 ("perl-xml-libxml" ,perl-xml-libxml)))
3319 (home-page "http://search.cpan.org/dist/WWW-OpenSearch")
3320 (synopsis "Search A9 OpenSearch compatible engines")
3322 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
3323 http://opensearch.a9.com} compatible search engines.")
3324 (license l:perl-license)))
3326 (define-public perl-www-robotrules
3328 (name "perl-www-robotrules")
3333 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
3337 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
3338 (build-system perl-build-system)
3340 `(("perl-uri" ,perl-uri)))
3341 (license l:perl-license)
3342 (synopsis "Perl database of robots.txt-derived permissions")
3344 "The WWW::RobotRules module parses /robots.txt files as specified in
3345 \"A Standard for Robot Exclusion\", at
3346 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
3347 /robots.txt file to forbid conforming robots from accessing parts of
3349 (home-page "http://search.cpan.org/~gaas/WWW-RobotRules/")))
3351 (define-public python-feedparser
3353 (name "python-feedparser")
3358 (uri (pypi-uri "feedparser" version ".tar.bz2"))
3361 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
3362 (build-system python-build-system)
3366 "https://github.com/kurtmckee/feedparser")
3367 (synopsis "Parse feeds in Python")
3369 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
3370 CDF, Atom 0.3, and Atom 1.0 feeds.")
3371 (license (list l:bsd-2 ; source code
3372 l:freebsd-doc)))) ; documentation
3374 (define-public python2-feedparser
3375 (package-with-python2 python-feedparser))
3377 (define-public r-httpuv
3383 (uri (cran-uri "httpuv" version))
3386 "0aibs0hf38n8f6xxx4g2i2lzd6l5h92m5pscx2z834sdvhnladxv"))))
3387 (build-system r-build-system)
3388 (native-inputs `(("r-rcpp" ,r-rcpp)))
3389 (home-page "https://github.com/rstudio/httpuv")
3390 (synopsis "HTTP and WebSocket server library for R")
3392 "The httpuv package provides low-level socket and protocol support for
3393 handling HTTP and WebSocket requests directly from within R. It is primarily
3394 intended as a building block for other packages, rather than making it
3395 particularly easy to create complete web applications using httpuv alone.")
3396 ;; This package includes third-party code that was originally released
3397 ;; under various non-copyleft licenses. Full licensing information can be
3398 ;; obtained here: https://github.com/rstudio/httpuv/blob/master/LICENSE
3401 (define-public r-jsonlite
3407 (uri (cran-uri "jsonlite" version))
3410 "11rgkjp5qir79niad0aizjxvjzyvkl6l9nsrv3ikv446vllmrasn"))))
3411 (build-system r-build-system)
3412 (home-page "http://arxiv.org/abs/1403.2805")
3413 (synopsis "Robust, high performance JSON parser and generator for R")
3415 "The jsonlite package provides a fast JSON parser and generator optimized
3416 for statistical data and the web. It offers flexible, robust, high
3417 performance tools for working with JSON in R and is particularly powerful for
3418 building pipelines and interacting with a web API. In addition to converting
3419 JSON data from/to R objects, jsonlite contains functions to stream, validate,
3420 and prettify JSON data. The unit tests included with the package verify that
3421 all edge cases are encoded and decoded consistently for use with dynamic data
3422 in systems and applications.")
3425 (define-public r-servr
3431 (uri (cran-uri "servr" version))
3434 "1ixcl9xjc1k9zvl6v6bsw4kpramr1h53b4s46qg8kahkqy6kqd8a"))))
3435 (build-system r-build-system)
3437 `(("r-httpuv" ,r-httpuv)
3438 ("r-jsonlite" ,r-jsonlite)
3439 ("r-mime" ,r-mime)))
3441 `(("r-rcpp" ,r-rcpp)))
3442 (home-page "https://github.com/yihui/servr")
3443 (synopsis "Simple HTTP server to serve static files or dynamic documents")
3445 "Servr provides an HTTP server in R to serve static files, or dynamic
3446 documents that can be converted to HTML files (e.g., R Markdown) under a given
3450 (define-public r-htmltools
3452 (name "r-htmltools")
3456 (uri (cran-uri "htmltools" version))
3459 "0j9bf80grd6gwh7116m575pycv87c0wcwkxsz3gzzfs4aw3pxyr9"))))
3460 (build-system r-build-system)
3463 (modify-phases %standard-phases
3464 ;; See https://github.com/rstudio/htmltools/pull/68
3465 ;; The resource files are in the store and have mode 444. After
3466 ;; copying the files R fails to remove them again because it doesn't
3467 ;; have write access to them.
3468 (add-after 'unpack 'copy-files-without-mode
3470 (substitute* "R/html_dependency.R"
3471 (("file.copy\\(from, to, " prefix)
3472 (string-append prefix
3473 "copy.mode = FALSE, ")))
3476 `(("r-digest" ,r-digest)
3477 ("r-rcpp" ,r-rcpp)))
3478 (home-page "http://cran.r-project.org/web/packages/htmltools")
3479 (synopsis "R tools for HTML")
3481 "This package provides tools for HTML generation and output in R.")
3484 (define-public r-htmlwidgets
3486 (name "r-htmlwidgets")
3490 (uri (cran-uri "htmlwidgets" version))
3493 "1df3pwl34rvdbr9sgr5h27q9bmqpckvpwq4frl3d1v614y3vfclj"))))
3494 (build-system r-build-system)
3496 `(("r-htmltools" ,r-htmltools)
3497 ("r-jsonlite" ,r-jsonlite)
3498 ("r-yaml" ,r-yaml)))
3499 (home-page "https://github.com/ramnathv/htmlwidgets")
3500 (synopsis "HTML Widgets for R")
3502 "HTML widgets is a framework for creating HTML widgets that render in
3503 various contexts including the R console, R Markdown documents, and Shiny web
3507 (define-public r-htmltable
3509 (name "r-htmltable")
3514 (uri (cran-uri "htmlTable" version))
3517 "0ciic1f4iczq14j81fg7kxibn65sy8z1zxkvk1yxnxxg6dzplj2v"))))
3518 (properties `((upstream-name . "htmlTable")))
3519 (build-system r-build-system)
3521 `(("r-checkmate" ,r-checkmate)
3522 ("r-htmlwidgets" ,r-htmlwidgets)
3523 ("r-knitr" ,r-knitr)
3524 ("r-magrittr" ,r-magrittr)
3525 ("r-stringr" ,r-stringr)))
3526 (home-page "http://gforge.se/packages/")
3527 (synopsis "Advanced tables for Markdown/HTML")
3529 "This package provides functions to build tables with advanced layout
3530 elements such as row spanners, column spanners, table spanners, zebra
3531 striping, and more. While allowing advanced layout, the underlying
3532 CSS-structure is simple in order to maximize compatibility with word
3533 processors such as LibreOffice. The package also contains a few text
3534 formatting functions that help outputting text compatible with HTML or
3538 (define-public r-curl
3544 (uri (cran-uri "curl" version))
3547 "09p86i5f88gx1i7cidm1ka56g0jjkghqfam96p1jhwlh2fv6nrks"))))
3548 (build-system r-build-system)
3551 (modify-phases %standard-phases
3552 ;; The environment variable CURL_CA_BUNDLE is only respected when
3553 ;; running Windows, so we disable the platform checks.
3554 ;; This can be removed once the libcurl has been patched.
3555 (add-after 'unpack 'allow-CURL_CA_BUNDLE
3557 (substitute* "R/onload.R"
3558 (("if \\(!grepl\\(\"mingw\".*")
3560 (substitute* "src/handle.c"
3561 (("#ifdef _WIN32") "#if 1"))
3564 `(("libcurl" ,curl)))
3565 (home-page "https://github.com/jeroenooms/curl")
3566 (synopsis "HTTP client for R")
3568 "The @code{curl()} and @code{curl_download()} functions provide highly
3569 configurable drop-in replacements for base @code{url()} and
3570 @code{download.file()} with better performance, support for encryption, gzip
3571 compression, authentication, and other @code{libcurl} goodies. The core of
3572 the package implements a framework for performing fully customized requests
3573 where data can be processed either in memory, on disk, or streaming via the
3574 callback or connection interfaces.")
3577 (define-public r-hwriter
3584 (uri (cran-uri "hwriter" version))
3587 "0arjsz854rfkfqhgvpqbm9lfni97dcjs66isdsfvwfd2wz932dbb"))))
3588 (build-system r-build-system)
3589 (home-page "http://cran.r-project.org/web/packages/hwriter")
3590 (synopsis "Output R objects in HTML format")
3592 "This package provides easy-to-use and versatile functions to output R
3593 objects in HTML format.")
3594 (license l:lgpl2.1+)))
3596 (define-public r-rjson
3603 (uri (cran-uri "rjson" version))
3606 "1vzjyvf57k1fjizlk28rby65y5lsww5qnfvgnhln74qwda7hvl3p"))))
3607 (build-system r-build-system)
3608 (home-page "http://cran.r-project.org/web/packages/rjson")
3609 (synopsis "JSON library for R")
3611 "This package provides functions to convert R objects into JSON objects
3615 (define-public gumbo-parser
3617 (name "gumbo-parser")
3621 (uri (string-append "https://github.com/google/"
3622 "gumbo-parser/archive/v" version ".tar.gz"))
3623 (file-name (string-append name "-" version ".tar.gz"))
3626 "1bgg2kbj311pqdzw2v33za7k66g1rv44kkvvnz2gnpaasi9k0ii8"))))
3627 (build-system gnu-build-system)
3629 `(#:tests? #f ; tests require bundling googletest sources
3631 (modify-phases %standard-phases
3632 (add-after 'unpack 'bootstrap
3633 (lambda _ (zero? (system* "sh" "autogen.sh")))))))
3634 ;; The release tarball lacks the generated files.
3636 `(("autoconf" ,autoconf)
3637 ("automake" ,automake)
3638 ("libtool" ,libtool)))
3639 (home-page "https://github.com/google/gumbo-parser")
3640 (synopsis "HTML5 parsing library")
3642 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
3643 a pure C99 library.")
3644 (license l:asl2.0)))
3646 (define-public uwsgi
3652 (uri (string-append "http://projects.unbit.it/downloads/uwsgi-"
3656 "02g46dnw5j1iw8fsq392bxbk8d21b9pdgb3ypcinv3b4jzdm2srh"))))
3657 (build-system gnu-build-system)
3658 (outputs '("out" "python"))
3660 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
3661 ;; But there is no obvious way to run the real tests.
3664 (modify-phases %standard-phases
3666 ;; Configuration is done by writing an ini file.
3667 (lambda* (#:key outputs #:allow-other-keys)
3668 (let* ((out (assoc-ref outputs "out"))
3669 (bindir (string-append out "/bin"))
3670 (plugindir (string-append out "/lib/uwsgi")))
3671 ;; The build phase outputs files to these directories directly.
3674 ;; XXX: Enable other plugins.
3675 (call-with-output-file "buildconf/guix.ini"
3677 (format port "[uwsgi]
3683 plugins = cgi,python
3685 " bindir plugindir))))
3686 (setenv "PROFILE" "guix")
3689 ;; Move plugins into their own output.
3690 (lambda* (#:key outputs #:allow-other-keys)
3691 (let* ((out (assoc-ref outputs "out"))
3692 (plugindir (string-append out "/lib/uwsgi"))
3693 (python-plugin (string-append
3694 plugindir "/python_plugin.so")))
3695 (install-file python-plugin
3697 (assoc-ref outputs "python") "/lib/uwsgi"))
3698 (delete-file python-plugin)
3701 `(("pkg-config" ,pkg-config)
3702 ("python" ,python-wrapper)))
3704 `(("jansson" ,jansson)
3705 ("libxml2" ,libxml2)
3706 ("libyaml" ,libyaml)
3707 ("openssl" ,openssl)
3711 ("python" ,python)))
3712 (home-page "https://uwsgi-docs.readthedocs.org/")
3713 (synopsis "Application container server")
3715 "uWSGI presents a complete stack for networked/clustered web applications,
3716 implementing message/object passing, caching, RPC and process management.
3717 It uses the uwsgi protocol for all the networking/interprocess communications.")
3718 (license l:gpl2+))) ; with linking exception
3726 (uri (string-append "https://github.com/stedolan/" name
3727 "/releases/download/" name "-" version
3728 "/" name "-" version ".tar.gz"))
3731 "0g29kyz4ykasdcrb0zmbrp2jqs9kv1wz9swx849i2d1ncknbzln4"))
3732 ;; This patch has been pushed and the vulnerability will be
3733 ;; fixed in the next release after 1.5.
3734 ;; https://github.com/stedolan/jq/issues/995
3735 (patches (search-patches "jq-CVE-2015-8863.patch"))))
3737 `(("oniguruma" ,oniguruma)))
3739 `(;; TODO fix gems to generate documentation
3741 ;;("bundler" ,bundler)
3742 ("valgrind" ,valgrind)))
3743 (build-system gnu-build-system)
3744 (home-page "http://stedolan.github.io/jq/")
3745 (synopsis "Command-line JSON processor")
3746 (description "jq is like sed for JSON data – you can use it to slice and
3747 filter and map and transform structured data with the same ease that sed, awk,
3748 grep and friends let you play with text. It is written in portable C. jq can
3749 mangle the data format that you have into the one that you want with very
3750 little effort, and the program to do so is often shorter and simpler than
3752 (license (list l:expat l:cc-by3.0))))
3754 (define-public uhttpmock
3761 (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/"
3762 name "-" version ".tar.xz"))
3765 "0vniyx341pnnmvxmqacc49k0g7h9a9nhknfslidrqmxj5lm1ini6"))))
3766 (build-system glib-or-gtk-build-system)
3769 (modify-phases %standard-phases
3770 (add-before 'check 'use-empty-ssl-cert-file
3772 ;; Search for ca-certificates.crt files
3773 ;; during the check phase.
3774 (setenv "SSL_CERT_FILE" "/dev/null")
3777 `(("gobject-introspection" ,gobject-introspection)
3779 ("glib-networking" ,glib-networking)
3780 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3781 ("pkg-config" ,pkg-config)))
3783 `(("libsoup" ,libsoup)))
3784 (home-page "https://gitlab.com/groups/uhttpmock")
3785 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
3787 "Uhttpmock is a project for mocking web service APIs which use HTTP or
3788 HTTPS. It provides a library, libuhttpmock, which implements recording and
3789 playback of HTTP request/response traces.")
3790 (license l:lgpl2.1+)))
3795 (version "2012-05-31")
3799 "http://www.home.unix-ag.org/simon/woof-"
3803 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
3804 (build-system trivial-build-system)
3806 '(#:modules ((guix build utils))
3809 (use-modules (guix build utils))
3810 (let* ((source (assoc-ref %build-inputs "source"))
3811 (out (assoc-ref %outputs "out"))
3812 (bin (string-append out "/bin"))
3813 (python (assoc-ref %build-inputs "python")))
3815 (with-directory-excursion bin
3816 (copy-file source "woof")
3817 (patch-shebang "woof" (list (string-append python "/bin")))
3818 (chmod "woof" #o555))
3820 (inputs `(("python" ,python-2)))
3821 (home-page "http://www.home.unix-ag.org/simon/woof.html")
3822 (synopsis "Single file web server")
3823 (description "Woof (Web Offer One File) is a small simple web server that
3824 can easily be invoked on a single file. Your partner can access the file with
3825 tools they trust (e.g. wget).")
3828 (define netsurf-buildsystem
3830 (name "netsurf-buildsystem")
3835 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
3836 "buildsystem-" version ".tar.gz"))
3839 "0wdgvasrjik1dgvvpqbppbpyfzkqd1v45x3g9rq7p67n773azinv"))))
3840 (build-system gnu-build-system)
3841 (inputs `(("perl" ,perl)))
3843 '(#:make-flags (list (string-append "PREFIX=" %output))
3844 #:tests? #f ;no tests
3845 #:phases (modify-phases %standard-phases
3848 (home-page "http://www.netsurf-browser.org")
3849 (synopsis "Build system for the Netsurf project")
3851 "This package provides the shared build system for Netsurf project
3855 (define netsurf-buildsystem-arguments
3856 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
3857 "CC=gcc" "BUILD_CC=gcc"
3858 ,(string-append "PREFIX=" %output)
3859 ,(string-append "NSSHARED="
3860 (assoc-ref %build-inputs
3861 "netsurf-buildsystem")
3862 "/share/netsurf-buildsystem"))
3863 #:test-target "test"
3864 #:phases (modify-phases %standard-phases
3865 (delete 'configure))))
3867 (define-public libparserutils
3869 (name "libparserutils")
3874 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
3875 name "-" version "-src.tar.gz"))
3878 "01gzlsabgl6x0icd8758d9jqs8rrf9574bdkjainn04w3fs3znf5"))))
3879 (build-system gnu-build-system)
3881 `(("netsurf-buildsystem" ,netsurf-buildsystem)
3882 ("pkg-config" ,pkg-config)
3883 ("perl" ,perl))) ;for test harness
3884 (arguments netsurf-buildsystem-arguments)
3885 (home-page "http://www.netsurf-browser.org/projects/libparserutils/")
3886 (synopsis "Parser building library")
3888 "LibParserUtils is a library for building efficient parsers, written in
3889 C. It is developed as part of the NetSurf project.")
3892 (define-public hubbub
3899 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
3900 "lib" name "-" version "-src.tar.gz"))
3903 "101781iw32p47386fxqr01nrkywi12w17ajh02k2vlga4z8zyv86"))
3904 (patches (search-patches "hubbub-sort-entities.patch"))))
3905 (build-system gnu-build-system)
3907 `(("netsurf-buildsystem" ,netsurf-buildsystem)
3908 ("pkg-config" ,pkg-config)
3909 ("doxygen" ,doxygen)
3913 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
3914 (arguments netsurf-buildsystem-arguments)
3915 (home-page "http://www.netsurf-browser.org/projects/hubbub/")
3916 (synopsis "HTML5 compliant parsing library")
3918 "Hubbub is an HTML5 compliant parsing library, written in C, which can
3919 parse both valid and invalid web content. It is developed as part of the
3923 (define-public libwapcaplet
3925 (name "libwapcaplet")
3930 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
3931 name "-" version "-src.tar.gz"))
3934 "0cs1dd2afjgc3wf5gqg434hv6jdabrp9qvlpl4dp53nhkyfywna3"))))
3935 (build-system gnu-build-system)
3937 `(("netsurf-buildsystem" ,netsurf-buildsystem)
3938 ("pkg-config" ,pkg-config)
3939 ("check" ,check))) ;for tests
3940 (arguments netsurf-buildsystem-arguments)
3941 (home-page "http://www.netsurf-browser.org/projects/libwapcaplet/")
3942 (synopsis "String internment library")
3944 "LibWapcaplet provides a reference counted string internment system
3945 designed to store small strings and allow rapid comparison of them. It is
3946 developed as part of the Netsurf project.")
3949 (define-public libcss
3956 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
3957 name "-" version "-src.tar.gz"))
3960 "0qp4p1q1dwgdra4pkrzd081zjzisxkgwx650ijx323j8bj725daf"))))
3961 (build-system gnu-build-system)
3963 `(("netsurf-buildsystem" ,netsurf-buildsystem)
3964 ("pkg-config" ,pkg-config)
3966 (propagated-inputs ;needed for libcss.pc
3967 `(("libparserutils" ,libparserutils)
3968 ("libwapcaplet" ,libwapcaplet)))
3969 (arguments netsurf-buildsystem-arguments)
3970 (home-page "http://www.netsurf-browser.org/projects/libcss/")
3971 (synopsis "CSS parser and selection library")
3973 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
3974 written in C. It is developed as part of the NetSurf project.")
3977 (define-public libdom
3984 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
3985 name "-" version "-src.tar.gz"))
3988 "0qy7c8b229aiamyqqjgp6m1jlzc3fpl8s9dk33kxzkj70na8l7hv"))))
3989 (build-system gnu-build-system)
3991 `(("netsurf-buildsystem" ,netsurf-buildsystem)
3992 ("pkg-config" ,pkg-config)
3993 ("perl" ,perl) ;for test harness
3994 ("perl-libxml" ,perl-libxml)
3995 ("perl-switch" ,perl-switch)
3996 ("perl-xml-xpath" ,perl-xml-xpath)))
3998 `(("libparserutils" ,libparserutils)
3999 ("libwapcaplet" ,libwapcaplet)))
4001 `(("expat" ,expat) ;needed for headers and linking
4002 ("hubbub" ,hubbub))) ;for libdom.pc
4004 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
4005 ,@netsurf-buildsystem-arguments))
4006 (home-page "http://www.netsurf-browser.org/projects/libdom/")
4007 (synopsis "Implementation of the W3C DOM")
4009 "LibDOM is an implementation of the W3C DOM, written in C. It is
4010 developed as part of the NetSurf project.")
4013 (define-public libsvgtiny
4020 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4021 name "-" version "-src.tar.gz"))
4024 "0w5hab9x1saz4lq2s9w47x1r64fbzcsl5bvdjph9c9dq68qv3f8a"))))
4025 (build-system gnu-build-system)
4027 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4028 ("pkg-config" ,pkg-config)
4029 ("gperf" ,gperf-3.0)))
4031 `(("libwapcaplet" ,libwapcaplet)))
4033 `(("libdom" ,libdom))) ;for libsvgtiny.pc
4034 (arguments netsurf-buildsystem-arguments)
4035 (home-page "http://www.netsurf-browser.org/projects/libsvgtiny/")
4036 (synopsis "Library for parsing SVG files")
4038 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
4039 which can be rendered easily, as defined in
4040 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
4044 (define-public libnsbmp
4051 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4052 name "-" version "-src.tar.gz"))
4055 "0y4a0gn4l6lq4z9183wix0mdsgalqyw24k19k8jr8sz4h3lb7jrb"))))
4056 (build-system gnu-build-system)
4058 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4059 (arguments netsurf-buildsystem-arguments)
4060 (home-page "http://www.netsurf-browser.org/projects/libnsbmp/")
4061 (synopsis "Decoding library for BMP and ICO files")
4063 "Libnsbmp is a decoding library for BMP and ICO image file formats,
4064 written in C. It is developed as part of the NetSurf project.")
4067 (define-public libnsgif
4074 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4075 name "-" version "-src.tar.gz"))
4078 "1ldsyscsgqwc8g5481h9nqmwirpp1pp57hmss450hr0mqra26g0k"))))
4079 (build-system gnu-build-system)
4081 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4082 (arguments netsurf-buildsystem-arguments)
4083 (home-page "http://www.netsurf-browser.org/projects/libnsgif/")
4084 (synopsis "Decoding library for GIF files")
4086 "Libnsgif is a decoding library for the GIF image file format, written in
4087 C. It is developed as part of the NetSurf project.")
4090 (define-public libnsutils
4097 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4098 name "-" version "-src.tar.gz"))
4101 "0wrxn4rcn7xrfnkmf60jafqn3n1kicgsdpnakd821q56bmqvzf0m"))))
4102 (build-system gnu-build-system)
4104 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4105 (arguments netsurf-buildsystem-arguments)
4106 (home-page "http://www.netsurf-browser.org/")
4107 (synopsis "Utility library for NetSurf")
4109 "Libnsutils provides a small number of useful utility routines. It is
4110 developed as part of the NetSurf project.")
4113 (define-public libnspsl
4120 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4121 name "-" version "-src.tar.gz"))
4124 "0x3frscrp9bzxlm9ama5laxjr3zi8cg20r8lhsamw4x4zyyk145y"))))
4125 (build-system gnu-build-system)
4127 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4128 (arguments netsurf-buildsystem-arguments)
4129 (home-page "http://www.netsurf-browser.org/")
4130 (synopsis "Library to generate a static Public Suffix List")
4132 "Libnspsl is a library to generate a static code representation of the
4133 Public Suffix List. It is developed as part of the NetSurf project.")
4136 (define-public nsgenbind
4143 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4144 name "-" version "-src.tar.gz"))
4147 "078gpbfcs96bgcba0ygha0ph9jzqr6ry5s3a8p6sl61px2908s66"))))
4148 (build-system gnu-build-system)
4150 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4154 (substitute-keyword-arguments netsurf-buildsystem-arguments
4155 ((#:make-flags flags)
4156 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
4157 (home-page "http://www.netsurf-browser.org/")
4158 (synopsis "Generate JavaScript to DOM bindings")
4160 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
4161 w3c webidl files and a binding configuration file.")
4164 (define-public netsurf
4171 (uri (string-append "http://download.netsurf-browser.org/netsurf/"
4172 "releases/source/netsurf-" version "-src.tar.gz"))
4175 "174sjx0566agckwmlj4w2cip5qbxdiafyhlp185a1qprxx84pbjr"))
4176 (patches (search-patches "netsurf-system-utf8proc.patch"
4177 "netsurf-y2038-tests.patch"
4178 "netsurf-longer-test-timeout.patch"))))
4179 (build-system glib-or-gtk-build-system)
4181 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4182 ("nsgenbind" ,nsgenbind)
4183 ("libidn" ,libidn) ;only for tests
4186 ("perl-html-parser" ,perl-html-parser)
4187 ("pkg-config" ,pkg-config)))
4191 ("openssl" ,openssl)
4192 ("utf8proc" ,utf8proc)
4194 ("libjpeg" ,libjpeg)
4197 ("libnsbmp" ,libnsbmp)
4198 ("libnsgif" ,libnsgif)
4199 ("libnspsl" ,libnspsl)
4200 ("libnsutils" ,libnsutils)
4201 ("libsvgtiny" ,libsvgtiny)
4202 ("miscfiles" ,miscfiles)))
4204 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
4205 ,(string-append "PREFIX=" %output)
4206 ,(string-append "NSSHARED="
4207 (assoc-ref %build-inputs
4208 "netsurf-buildsystem")
4209 "/share/netsurf-buildsystem"))
4210 #:test-target "test"
4211 #:modules ((ice-9 rdelim)
4215 ,@%glib-or-gtk-build-system-modules)
4217 (modify-phases %standard-phases
4219 (add-after 'build 'adjust-welcome
4221 ;; First, fix some unended tags and simple substitutions
4222 (substitute* "frontends/gtk/res/welcome.html"
4223 (("<(img|input)([^>]*)>" _ tag contents)
4224 (string-append "<" tag contents " />"))
4225 (("Licence") "License") ;prefer GNU spelling
4226 ((" open source") ", free software")
4227 (("web site") "website")
4228 ;; Prefer privacy-respecting default search engine
4229 (("www.google.co.uk") "www.duckduckgo.com/html")
4230 (("Google Search") "DuckDuckGo Search")
4231 (("name=\"btnG\"") ""))
4232 ;; Remove default links so it doesn't seem we're endorsing them
4233 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
4235 ;; Leave the DOCTYPE header as is
4236 (display (read-line in 'concat) out)
4238 (let rec ((sxml (xml->sxml in)))
4239 ;; We'd like to use sxml-match here, but it can't
4240 ;; match against generic tag symbols...
4242 (`(div (@ (class "links")) . ,rest)
4249 (add-before 'check 'patch-check
4250 (lambda* (#:key inputs #:allow-other-keys)
4251 (substitute* '("test/bloom.c" "test/hashtable.c")
4252 (("/usr/share/dict/words")
4253 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
4255 (add-after 'install 'install-more
4256 (lambda* (#:key outputs #:allow-other-keys)
4257 (let* ((out (assoc-ref outputs "out"))
4258 (desktop (string-append out "/share/applications/"
4259 "netsurf.desktop")))
4260 (mkdir-p (dirname desktop))
4261 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
4263 (substitute* desktop
4264 (("netsurf-gtk") (string-append out "/bin/netsurf"))
4265 (("netsurf.png") (string-append out "/share/netsurf/"
4267 (install-file "Docs/netsurf-gtk.1"
4268 (string-append out "/share/man/man1/"))
4270 (home-page "http://www.netsurf-browser.org")
4271 (synopsis "Web browser")
4273 "NetSurf is a lightweight web browser that has its own layout and
4274 rendering engine entirely written from scratch. It is small and capable of
4275 handling many of the web standards in use today.")
4278 (define-public surfraw
4284 (uri (string-append "https://surfraw.alioth.debian.org/dist/"
4285 name "-" version ".tar.gz"))
4288 "1fy4ph5h9kp0jzj1m6pfylxnnmgdk0mmdppw76z9jhna4jndk5xa"))))
4289 (build-system gnu-build-system)
4292 (modify-phases %standard-phases
4293 (add-after 'install 'compress-elvi.1sr
4294 (lambda* (#:key outputs #:allow-other-keys)
4295 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
4296 ;; but elvi.1sr does not get compressed by our manpage phase.
4297 (let* ((out (assoc-ref %outputs "out"))
4298 (man (string-append out "/share/man/man1")))
4299 (with-directory-excursion man
4300 (zero? (system* "gzip" "elvi.1sr")))))))))
4303 ("perl-www-opensearch" ,perl-www-opensearch)
4304 ("perl-html-parser" ,perl-html-parser)
4305 ("perl-libwww" ,perl-libwww)))
4306 (synopsis "Unix command line interface to the www")
4307 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
4308 provides a unix command line interface to a variety of popular www search engines
4309 and similar services.")
4310 (home-page "https://surfraw.alioth.debian.org/")
4311 (license l:public-domain)))
4313 (define-public darkhttpd
4320 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
4321 version ".tar.bz2"))
4324 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
4325 (build-system gnu-build-system)
4327 `(#:make-flags '("CC=gcc")
4328 #:tests? #f ; No test suite
4330 (modify-phases %standard-phases
4333 (lambda* (#:key outputs #:allow-other-keys)
4334 (install-file "darkhttpd"
4335 (string-append (assoc-ref outputs "out")
4338 (synopsis "Simple static web server")
4339 (description "darkhttpd is a simple static web server. It is
4340 standalone and does not need inetd or ucspi-tcp. It does not need any
4341 config files---you only have to specify the www root.")
4342 (home-page "https://unix4lyfe.org/darkhttpd/")
4345 (define-public goaccess
4351 (uri (string-append "http://tar.goaccess.io/goaccess-"
4355 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
4356 (modules '((guix build utils)))
4358 '(substitute* "src/error.h"
4359 (("__DATE__") "\"1970-01-01\"")
4360 (("__TIME__") "\"00:00:00\"")))))
4361 (build-system gnu-build-system)
4363 ;; TODO: Add dependency on geoip-tools.
4365 ("ncurses" ,ncurses)))
4367 `(("pkg-config" ,pkg-config)))
4368 (home-page "https://goaccess.io")
4369 (synopsis "Analyze Web server logs in real time")
4371 "GoAccess is a real-time web log analyzer and interactive viewer that
4372 runs in a terminal or through your browser. It provides fast and valuable
4373 HTTP statistics for system administrators that require a visual server report
4377 (define-public httptunnel
4384 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
4385 name "-" version ".tar.gz"))
4388 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
4389 (modules '((guix build utils)))
4391 ;; Remove non-free IETF RFC documentation.
4392 '(delete-file-recursively "doc"))))
4393 (build-system gnu-build-system)
4396 (modify-phases %standard-phases
4397 ;; The default configure phase tries to pass environment variables as
4398 ;; command-line arguments, which confuses the ./configure script.
4400 (lambda* (#:key outputs #:allow-other-keys)
4401 (let* ((out (assoc-ref outputs "out")))
4402 (setenv "CONFIG_SHELL" (which "bash"))
4403 (zero? (system* "./configure"
4404 (string-append "--prefix=" out)))))))))
4405 (home-page "http://www.nocrew.org/software/httptunnel.html")
4406 (synopsis "Tunnel data connections through HTTP requests")
4407 (description "httptunnel creates a bidirectional virtual data connection
4408 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
4409 useful for users behind restrictive firewalls. As long as Web traffic is
4410 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
4411 tools like SSH (Secure Shell) to reach the outside world.")
4414 (define-public stunnel
4421 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
4425 "1vjdn32iw11zqsygwxbjmqgs4644dk3ql1h8ap890ls6a1x0i318"))))
4426 (build-system gnu-build-system)
4427 (inputs `(("openssl" ,openssl)))
4430 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))))
4431 (home-page "https://www.stunnel.org")
4432 (synopsis "TLS proxy for clients or servers")
4433 (description "Stunnel is a proxy designed to add TLS encryption
4434 functionality to existing clients and servers without any changes in the
4435 programs' code. Its architecture is optimized for security, portability, and
4436 scalability (including load-balancing), making it suitable for large
4440 (define-public xinetd
4447 (uri "https://github.com/xinetd-org/xinetd/archive/xinetd-2-3-15.tar.gz")
4448 (patches (search-patches "xinetd-CVE-2013-4342.patch" "xinetd-fix-fd-leak.patch"))
4451 "0k59x52cbzp5fw0n8zn0y54j1ps0x9b72y8k5grzswjdmgs2a2v2"))))
4452 (build-system gnu-build-system)
4454 `(#:configure-flags '("--with-loadavg")
4455 #:tests? #f )) ; no tests
4456 (home-page "https://github.com/xinetd-org/xinetd")
4457 (synopsis "Internet services daemon")
4458 (description "@code{xinetd}, a more secure replacement for @code{inetd},
4459 listens for incoming requests over a network and launches the appropriate
4460 service for that request. Requests are made using port numbers as identifiers
4461 and xinetd usually launches another daemon to handle the request. It can be
4462 used to start services with both privileged and non-privileged port numbers.")
4463 (license (l:fsf-free "file://COPYRIGHT"))))
4465 (define-public tidy-html
4472 (uri (string-append "https://github.com/htacg/tidy-html5/archive/"
4474 (file-name (string-append name "-" version ".tar.gz"))
4477 "0yhbgbjl45b4sjxwc394cjra6iy02q1pi66p28zy70lr6jvm9mx2"))))
4478 (build-system cmake-build-system)
4480 "static")) ; 1.0MiB of .a files
4482 `(#:tests? #f ; No tests available
4483 #:configure-flags (list "-DCMAKE_BUILD_TYPE=Release")
4485 (modify-phases %standard-phases
4486 (add-after 'install 'move-static-libraries
4487 (lambda* (#:key outputs #:allow-other-keys)
4488 ;; Move static libraries to the "static" output.
4489 (let* ((out (assoc-ref outputs "out"))
4490 (lib (string-append out "/lib"))
4491 (static (assoc-ref outputs "static"))
4492 (slib (string-append static "/lib")))
4494 (for-each (lambda (file)
4495 (install-file file slib)
4497 (find-files lib "\\.a$"))
4500 `(("libxslt" ,libxslt)))
4501 (home-page "http://www.html-tidy.org/")
4502 (synopsis "HTML Tidy with HTML5 support")
4504 "Tidy is a console application which corrects and cleans up
4505 HTML and XML documents by fixing markup errors and upgrading
4506 legacy code to modern standards.
4508 Tidy also provides @code{libtidy}, a C static and dynamic library that
4509 developers can integrate into their applications to make use of the
4510 functions of Tidy.")
4513 (define-public hiawatha
4520 (uri (string-append "https://www.hiawatha-webserver.org/files/"
4521 "hiawatha-" version ".tar.gz"))
4522 (modules '((guix build utils)))
4524 ;; We use our packaged mbedtls, so delete the included copy.
4525 '(delete-file-recursively "mbedtls"))
4528 "0m2llzm72s29c32abnj03532m85fawvi8ybjpx6s3mgvx2yvq3p4"))))
4529 (build-system cmake-build-system)
4531 `(#:tests? #f ; No tests included
4532 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
4533 (string-append "-DENABLE_TOMAHAWK=on")
4534 (string-append "-DWEBROOT_DIR="
4535 (assoc-ref %outputs "out")
4536 "/share/hiawatha/html"))
4538 (modify-phases %standard-phases
4539 (add-after 'install 'remove-empty-dirs
4540 (lambda* (#:key outputs #:allow-other-keys)
4541 (let* ((out (assoc-ref outputs "out")))
4542 ;; The directories in "var" are empty, remove them.
4543 (delete-file-recursively (string-append out "/var"))
4545 (add-after 'install 'wrap
4546 (lambda* (#:key inputs outputs #:allow-other-keys)
4547 ;; Make sure 'hiawatha' finds 'mbedtls'.
4548 (let* ((out (assoc-ref outputs "out"))
4549 (sbin (string-append out "/sbin"))
4550 (mbed (assoc-ref inputs "mbedtls-apache")))
4551 (wrap-program (string-append sbin "/hiawatha")
4552 `("PATH" ":" prefix (,mbed)))))))))
4554 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha"
4555 `(("mbedtls-apache" ,mbedtls-apache) ;Hiawatha includes this version.
4557 ("libxslt" ,libxslt)
4558 ("libxml2" ,libxml2)))
4559 (home-page "https://www.hiawatha-webserver.org")
4560 (synopsis "Webserver with focus on security")
4562 "Hiawatha has been written with security in mind.
4563 Features include the ability to stop SQL injections, XSS and CSRF attacks and
4567 (define-public python-httpbin
4569 (name "python-httpbin")
4574 (uri (pypi-uri "httpbin" version))
4577 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
4578 (build-system python-build-system)
4580 `(("python-decorator" ,python-decorator)
4581 ("python-flask" ,python-flask)
4582 ("python-itsdangerous" ,python-itsdangerous)
4583 ("python-markupsafe" ,python-markupsafe)
4584 ("python-six" ,python-six)))
4585 (home-page "https://github.com/Runscope/httpbin")
4586 (synopsis "HTTP request and response service")
4587 (description "Testing an HTTP Library can become difficult sometimes.
4588 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
4589 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
4593 (define-public python2-httpbin
4594 (package-with-python2 python-httpbin))
4596 (define-public python-pytest-httpbin
4598 (name "python-pytest-httpbin")
4603 (uri (pypi-uri "pytest-httpbin" version))
4606 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
4607 (build-system python-build-system)
4609 `(("python-six" ,python-six)
4610 ("python-httpbin" ,python-httpbin)
4611 ("python-pytest" ,python-pytest)))
4613 "https://github.com/kevin1024/pytest-httpbin")
4615 "Test your HTTP library against a local copy of httpbin")
4617 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
4618 into your tests. It automatically starts up a HTTP server in a separate thread running
4619 @code{httpbin} and provides your test with the URL in the fixture.")
4622 (define-public python2-pytest-httpbin
4623 (package-with-python2 python-pytest-httpbin))
4625 (define-public http-parser
4627 (name "http-parser")
4631 (uri (string-append "https://github.com/nodejs/http-parser/"
4632 "archive/v" version ".tar.gz"))
4633 (file-name (string-append name "-" version ".tar.gz"))
4636 "1cw6nf8xy4jhib1w0jd2y0gpqjbdasg8b7pkl2k2vpp54k9rlh3h"))))
4637 (build-system gnu-build-system)
4639 `(#:test-target "test"
4641 (list (string-append "PREFIX="
4642 (assoc-ref %outputs "out"))
4645 (modify-phases %standard-phases
4646 (delete 'configure))))
4647 (home-page "https://github.com/nodejs/http-parser")
4648 (synopsis "HTTP request/response parser for C")
4649 (description "This is a parser for HTTP messages written in C. It parses
4650 both requests and responses. The parser is designed to be used in
4651 high-performance HTTP applications. It does not make any syscalls nor
4652 allocations, it does not buffer data, it can be interrupted at anytime.
4653 Depending on your architecture, it only requires about 40 bytes of data per
4654 message stream (in a web server that is per connection).")
4657 (define-public python2-httpretty
4659 (name "python2-httpretty")
4664 (uri (pypi-uri "httpretty" version))
4667 "0vlp5qkyw3pxwwsg7xmdcfh1csvypvaz4m6abida8s4xmjxpdhc3"))))
4668 (build-system python-build-system)
4670 `(("python-sphinx-rtd-theme" ,python2-sphinx-rtd-theme)
4671 ("python-sphinx" ,python2-sphinx)
4672 ("python-coverage" ,python2-coverage)
4673 ("python-tornado" ,python2-tornado)
4674 ("python-urllib3" ,python2-urllib3)
4675 ("python-sure" ,python2-sure)
4676 ("python-steadymark" ,python2-steadymark)
4677 ("python-requests" ,python2-requests)
4678 ("python-rednose" ,python2-rednose)
4679 ("python-nose-randomly" ,python2-nose-randomly)
4680 ("python-misaka" ,python2-misaka)
4681 ("python-pytest-httpbin" ,python2-pytest-httpbin)
4682 ("python-nose" ,python2-nose)))
4685 ;; Requires mock>=1.3.0 which requires a more up-to-date
4686 ;; python-pbr. After updating these trying to build the
4687 ;; package leads to failures in python-flake8 and other
4688 ;; packages. The cascade of updates and failures this
4689 ;; leads to, seems to not be worth having the test run.
4692 (modify-phases %standard-phases
4693 (add-before 'build 'patch-test-requirements
4694 (lambda* (#:key inputs #:allow-other-keys)
4695 ;; Update requirements from dependecy==version
4696 ;; to dependency>=version
4697 (substitute* "development.txt"
4700 (home-page "http://github.com/gabrielfalcao/httpretty")
4701 (synopsis "HTTP client mock for Python")
4702 (description "@code{httpretty} is a helper for faking web requests,
4703 inspired by Ruby's @code{fakeweb}.")
4713 (uri (string-append "https://github.com/jpmens/jo/releases/download/v"
4714 version "/jo-" version ".tar.gz"))
4717 "0pysickpxrbl53c122h6swvz8sck68q3j0ql38wvbz70q9k4gvb3"))))
4718 (build-system gnu-build-system)
4719 (home-page "https://github.com/jpmens/jo")
4720 (synopsis "Output JSON from a shell")
4721 (description "jo is a command-line utility to create JSON objects or
4722 arrays. It creates a JSON string on stdout from words provided as
4723 command-line arguments or read from stdin.")
4724 (license (list l:gpl2+
4725 l:expat)))) ; json.c, json.h
4727 (define-public python-internetarchive
4729 (name "python-internetarchive")
4734 (uri (string-append "https://github.com/jjjake/internetarchive/archive/"
4735 "v" version ".tar.gz"))
4736 (file-name (string-append name "-" version ".tar.gz"))
4739 "00v1489rv1ydcihwbdl7sqpcpmm98b9kqqlfggr32k0ndmv7ivas"))))
4740 (build-system python-build-system)
4742 `(#:tests? #f ; 11 tests of 105 fail to mock "requests".
4744 (modify-phases %standard-phases
4746 (add-after 'install 'check
4747 (lambda* (#:key inputs outputs target (tests? (not target)) #:allow-other-keys)
4750 (add-installed-pythonpath inputs outputs)
4751 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
4752 ":" (getenv "PATH")))
4753 (zero? (system* "py.test")))
4755 (format #t "test suite not run~%")
4758 `(("python-requests" ,python-requests)
4759 ("python-jsonpatch" ,python-jsonpatch-0.4)
4760 ("python-docopt" ,python-docopt)
4761 ("python-clint" ,python-clint)
4762 ("python-six" ,python-six)
4763 ("python-schema" ,python-schema-0.5)
4764 ("python-backports-csv" ,python-backports-csv)))
4766 `(("python-pytest-3.0" ,python-pytest-3.0)
4767 ("python-pytest-capturelog" ,python-pytest-capturelog)
4768 ("python-responses" ,python-responses)))
4769 (home-page "https://github.com/jjjake/internetarchive")
4770 (synopsis "Command-line interface to archive.org")
4771 (description "@code{ia} is a command-line tool for using
4772 @url{archive.org} from the command-line. It also emplements the
4773 internetarchive python module for programatic access to archive.org.")
4775 `((python2-variant . ,(delay python2-internetarchive))))
4776 (license l:agpl3+)))
4778 (define-public python2-internetarchive
4779 (package-with-python2
4780 (strip-python2-variant python-internetarchive)))