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, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
5 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
6 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
7 ;;; Copyright © 2018 Raoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>
8 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
9 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Eric Bavier <bavier@posteo.net>
10 ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
11 ;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
12 ;;; Copyright © 2016 Jelle Licht <jlicht@fsfe.org>
13 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
14 ;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
15 ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
16 ;;; Copyright © 2016 Clément Lassieur <clement@lassieur.org>
17 ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
18 ;;; Copyright © 2016, 2017, 2018, 2019 Arun Isaac <arunisaac@systemreboot.net>
19 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
20 ;;; Copyright © 2016 Bake Timmons <b3timmons@speedymail.org>
21 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
22 ;;; Copyright © 2017, 2018, 2020 Marius Bakke <mbakke@fastmail.com>
23 ;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
24 ;;; Copyright © 2017 Petter <petter@mykolab.ch>
25 ;;; Copyright © 2017 Pierre Langlois <pierre.langlois@gmx.com>
26 ;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
27 ;;; Copyright © 2017, 2019, 2020 Christopher Baines <mail@cbaines.net>
28 ;;; Copyright © 2018, 2019 Julien Lepiller <julien@lepiller.eu>
29 ;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
30 ;;; Copyright © 2018 Gábor Boskovits <boskovits@gmail.com>
31 ;;; Copyright © 2018 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
32 ;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
33 ;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
34 ;;; Copyright © 2019 Brendan Tildesley <mail@brendan.scot>
35 ;;; Copyright © 2019 Alex Griffin <a@ajgrf.com>
36 ;;; Copyright © 2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
37 ;;; Copyright © 2019 Jakob L. Kreuze <zerodaysfordays@sdf.org>
38 ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
39 ;;; Copyright © 2019 Pierre-Moana Levesque <pierre.moana.levesque@gmail.com>
40 ;;; Copyright © 2019, 2020 Florian Pelz <pelzflorian@pelzflorian.de>
41 ;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si>
42 ;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org>
43 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
44 ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
45 ;;; Copyright © 2018, 2019, 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
46 ;;; Copyright © 2020 Paul Garlick <pgarlick@tourbillion-technology.com>
47 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
48 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
49 ;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@posteo.ro>
51 ;;; This file is part of GNU Guix.
53 ;;; GNU Guix is free software; you can redistribute it and/or modify it
54 ;;; under the terms of the GNU General Public License as published by
55 ;;; the Free Software Foundation; either version 3 of the License, or (at
56 ;;; your option) any later version.
58 ;;; GNU Guix is distributed in the hope that it will be useful, but
59 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
60 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
61 ;;; GNU General Public License for more details.
63 ;;; You should have received a copy of the GNU General Public License
64 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
66 (define-module (gnu packages web)
67 #:use-module (ice-9 match)
68 #:use-module ((guix licenses) #:prefix license:)
69 #:use-module (guix packages)
70 #:use-module (guix download)
71 #:use-module (guix gexp)
72 #:use-module (guix cvs-download)
73 #:use-module (guix hg-download)
74 #:use-module (guix git-download)
75 #:use-module (guix utils)
76 #:use-module (guix build-system ant)
77 #:use-module (guix build-system cmake)
78 #:use-module (guix build-system glib-or-gtk)
79 #:use-module (guix build-system gnu)
80 #:use-module (guix build-system go)
81 #:use-module (guix build-system perl)
82 #:use-module (guix build-system python)
83 #:use-module (guix build-system scons)
84 #:use-module (guix build-system trivial)
85 #:use-module (gnu packages)
86 #:use-module (gnu packages admin)
87 #:use-module (gnu packages adns)
88 #:use-module (gnu packages apr)
89 #:use-module (gnu packages autotools)
90 #:use-module (gnu packages base)
91 #:use-module (gnu packages bison)
92 #:use-module (gnu packages boost)
93 #:use-module (gnu packages check)
94 #:use-module (gnu packages compression)
95 #:use-module (gnu packages curl)
96 #:use-module (gnu packages cyrus-sasl)
97 #:use-module (gnu packages databases)
98 #:use-module (gnu packages docbook)
99 #:use-module (gnu packages documentation)
100 #:use-module (gnu packages emacs)
101 #:use-module (gnu packages emacs-xyz)
102 #:use-module (gnu packages flex)
103 #:use-module (gnu packages fontutils)
104 #:use-module (gnu packages freedesktop)
105 #:use-module (gnu packages gcc)
106 #:use-module (gnu packages gd)
107 #:use-module (gnu packages gettext)
108 #:use-module (gnu packages glib)
109 #:use-module (gnu packages gnome)
110 #:use-module (gnu packages gnu-doc)
111 #:use-module (gnu packages gnupg)
112 #:use-module (gnu packages golang)
113 #:use-module (gnu packages gperf)
114 #:use-module (gnu packages gtk)
115 #:use-module (gnu packages guile)
116 #:use-module (gnu packages guile-xyz)
117 #:use-module (gnu packages hurd)
118 #:use-module (gnu packages image)
119 #:use-module (gnu packages java)
120 #:use-module (gnu packages jemalloc)
121 #:use-module (gnu packages imagemagick)
122 #:use-module (gnu packages kde)
123 #:use-module (gnu packages kerberos)
124 #:use-module (gnu packages libevent)
125 #:use-module (gnu packages libidn)
126 #:use-module (gnu packages libunistring)
127 #:use-module (gnu packages libunwind)
128 #:use-module (gnu packages linux)
129 #:use-module (gnu packages lisp-xyz)
130 #:use-module (gnu packages lsof)
131 #:use-module (gnu packages lua)
132 #:use-module (gnu packages man)
133 #:use-module (gnu packages markup)
134 #:use-module (gnu packages ncurses)
135 #:use-module (gnu packages networking)
136 #:use-module (gnu packages nss)
137 #:use-module (gnu packages openldap)
138 #:use-module (gnu packages openstack)
139 #:use-module (gnu packages package-management)
140 #:use-module (gnu packages pcre)
141 #:use-module (gnu packages perl)
142 #:use-module (gnu packages perl-check)
143 #:use-module (gnu packages python)
144 #:use-module (gnu packages python-crypto)
145 #:use-module (gnu packages python-web)
146 #:use-module (gnu packages python-xyz)
147 #:use-module (gnu packages pkg-config)
148 #:use-module (gnu packages qt)
149 #:use-module (gnu packages re2c)
150 #:use-module (gnu packages readline)
151 #:use-module (gnu packages sphinx)
152 #:use-module (gnu packages texinfo)
153 #:use-module (gnu packages textutils)
154 #:use-module (gnu packages tls)
155 #:use-module (gnu packages valgrind)
156 #:use-module (gnu packages version-control)
157 #:use-module (gnu packages vim)
158 #:use-module (gnu packages xml)
159 #:use-module ((srfi srfi-1) #:select (delete-duplicates)))
167 (uri (string-append "mirror://apache/httpd/httpd-"
171 "1sj1rwgbcjgkzac3ybjy7j68c9b3dv3ap71m48mrjhf6w7vds3kl"))))
172 (build-system gnu-build-system)
173 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
174 (inputs `(("apr" ,apr)
175 ("apr-util" ,apr-util)
177 ("perl" ,perl))) ; needed to run bin/apxs
179 `(#:test-target "test"
180 #:configure-flags (list "--enable-rewrite"
182 "--enable-vhost-alias"
184 "--enable-mime-magic"
185 (string-append "--sysconfdir="
186 (assoc-ref %outputs "out")
188 (synopsis "Featureful HTTP server")
190 "The Apache HTTP Server Project is a collaborative software development
191 effort aimed at creating a robust, commercial-grade, featureful, and
192 freely-available source code implementation of an HTTP (Web) server. The
193 project is jointly managed by a group of volunteers located around the world,
194 using the Internet and the Web to communicate, plan, and develop the server
195 and its related documentation.")
196 (license license:asl2.0)
197 (home-page "https://httpd.apache.org/")))
199 (define-public mod-wsgi
206 (url "https://github.com/GrahamDumpleton/mod_wsgi")
208 (file-name (git-file-name name version))
211 "1savh6h3qds20mwn1nqasmqzcp57pdhfc9v4b4k78d6q28y0r17s"))))
212 (build-system gnu-build-system)
214 '(#:tests? #f ; TODO: can't figure out if there are tests
216 (string-append "DESTDIR="
217 (assoc-ref %outputs "out"))
218 "LIBEXECDIR=/modules")))
221 ("python" ,python-wrapper)))
222 (synopsis "Apache HTTPD module for Python WSGI applications")
224 "The mod_wsgi module for the Apache HTTPD Server adds support for running
225 applications that support the Python @acronym{WSGI, Web Server Gateway
226 Interface} specification.")
227 (license license:asl2.0)
228 (home-page "https://modwsgi.readthedocs.io/")))
233 ;; Track the ‘mainline’ branch. Upstream considers it more reliable than
234 ;; ’stable’ and recommends that “in general you deploy the NGINX mainline
235 ;; branch at all times” (https://www.nginx.com/blog/nginx-1-6-1-7-released/)
236 ;; Consider updating the nginx-documentation package together with this one.
240 (uri (string-append "https://nginx.org/download/nginx-"
244 "1w4dkq7bl5gyix3x0ap3d9lndh7zyvc3mscl693d4ybql57vgrci"))))
245 (build-system gnu-build-system)
246 (inputs `(("openssl" ,openssl)
250 `(#:tests? #f ; no test target
252 (modify-phases %standard-phases
253 (add-before 'configure 'patch-/bin/sh
255 (substitute* "auto/feature"
256 (("/bin/sh") (which "sh")))
259 ;; The configure script is hand-written, not from GNU autotools.
260 (lambda* (#:key configure-flags outputs #:allow-other-keys)
262 (append (list (string-append "--prefix=" (assoc-ref outputs "out"))
263 "--with-http_ssl_module"
264 "--with-http_v2_module"
267 ;; Even when not cross-building, we pass the
268 ;; --crossbuild option to avoid customizing for the
269 ;; kernel version on the build machine.
270 ,(let ((system "Linux") ; uname -s
271 (release "3.2.0") ; uname -r
273 (machine (match (or (%current-target-system)
275 ("x86_64-linux" "x86_64")
276 ("i686-linux" "i686")
277 ("mips64el-linux" "mips64")
278 ;; Prevent errors when querying
279 ;; this package on unsupported
280 ;; platforms, e.g. when running
281 ;; "guix package --search="
283 (string-append "--crossbuild="
284 system ":" release ":" machine)))
287 (format #t "configure flags: ~s~%" flags)
288 (apply invoke "./configure" flags)
290 (add-after 'install 'install-man-page
291 (lambda* (#:key outputs #:allow-other-keys)
292 (let* ((out (assoc-ref outputs "out"))
293 (man (string-append out "/share/man")))
294 (install-file "objs/nginx.8" (string-append man "/man8"))
296 (add-after 'install 'fix-root-dirs
297 (lambda* (#:key outputs #:allow-other-keys)
298 ;; 'make install' puts things in strange places, so we need to
299 ;; clean it up ourselves.
300 (let* ((out (assoc-ref outputs "out"))
301 (share (string-append out "/share/nginx")))
302 ;; This directory is empty, so get rid of it.
303 (rmdir (string-append out "/logs"))
304 ;; Example configuration and HTML files belong in
307 (rename-file (string-append out "/conf")
308 (string-append share "/conf"))
309 (rename-file (string-append out "/html")
310 (string-append share "/html"))
312 (home-page "https://nginx.org")
313 (synopsis "HTTP and reverse proxy server")
315 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
316 created by Igor Sysoev. It can be used both as a stand-alone web server
317 and as a proxy to reduce the load on back-end HTTP or mail servers.")
318 ;; Almost all of nginx is distributed under the bsd-2 license.
319 ;; The exceptions are:
320 ;; * The 'nginx-http-push' module is covered by the expat license.
321 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
322 ;; except for two source files which are bsd-4 licensed.
323 (license (list license:bsd-2 license:expat license:bsd-3 license:bsd-4))))
325 (define-public nginx-documentation
326 ;; This documentation should be relevant for the current nginx package.
327 (let ((version "1.19.3")
329 (changeset "94ebfbcd68bb"))
331 (name "nginx-documentation")
332 (version (simple-format #f "~A-~A-~A" version revision changeset))
334 (origin (method hg-fetch)
336 (url "http://hg.nginx.org/nginx.org")
337 (changeset changeset)))
338 (file-name (string-append name "-" version))
341 "1yryharm4dkjnj424r7sy0rc28h8ypfyj8as255a42gmllkwl2pg"))))
342 (build-system gnu-build-system)
344 '(#:tests? #f ; no test suite
346 (modify-phases %standard-phases
347 (delete 'configure) ; no configure script
349 (lambda* (#:key outputs #:allow-other-keys)
350 (let ((output (assoc-ref outputs "out")))
351 (substitute* "umasked.sh"
352 ((" /bin/sh") (string-append " " (which "sh"))))
353 ;; The documentation includes a banner, which makes sense on
354 ;; the NGinx website, but doesn't make much sense when
355 ;; viewing locally. Therefore, modify the CSS to remove the
357 (substitute* "xslt/style.xslt"
358 (("#banner \\{ background: black;")
359 "#banner { display: none;"))
363 (lambda* (#:key outputs #:allow-other-keys)
364 (let ((output (assoc-ref outputs "out")))
366 (copy-recursively "libxslt" output)
369 `(("libxml2" ,libxml2)
371 ("nginx-xslscript" ,nginx-xslscript)))
372 (home-page "https://nginx.org")
373 (synopsis "Documentation for the nginx web server")
375 "This package provides HTML documentation for the nginx web server.")
376 (license license:bsd-2))))
378 (define-public nginx-accept-language-module
379 ;; Upstream has never made a release; use current commit instead.
380 (let ((commit "2f69842f83dac77f7d98b41a2b31b13b87aeaba7")
383 (name "nginx-accept-language-module")
384 (version (git-version "0.0.0" ;upstream has no version number
390 (url "https://github.com/giom/nginx_accept_language_module")
392 (file-name (git-file-name name version))
394 (base32 "1hjysrl15kh5233w7apq298cc2bp4q1z5mvaqcka9pdl90m0vhbw"))))
395 (build-system gnu-build-system)
396 (inputs `(("openssl" ,openssl)
398 ("nginx-sources" ,(package-source nginx))
401 `(#:tests? #f ; no test target
402 #:make-flags (list "modules")
403 #:modules ((guix build utils)
404 (guix build gnu-build-system)
407 (ice-9 textual-ports))
409 (modify-phases %standard-phases
410 (add-after 'unpack 'unpack-nginx-sources
411 (lambda* (#:key inputs native-inputs #:allow-other-keys)
413 ;; The nginx source code is part of the module’s source.
414 (format #t "decompressing nginx source code~%")
415 (let ((tar (assoc-ref inputs "tar"))
416 (nginx-srcs (assoc-ref inputs "nginx-sources")))
417 (invoke (string-append tar "/bin/tar")
418 "xvf" nginx-srcs "--strip-components=1"))
420 (add-after 'unpack 'convert-to-dynamic-module
423 (with-atomic-file-replacement "config"
425 ;; cf. https://www.nginx.com/resources/wiki/extending/new_config/
426 (format out "ngx_module_type=HTTP~%")
427 (format out "ngx_module_name=\
428 ngx_http_accept_language_module~%")
429 (let* ((str (get-string-all in))
431 "NGX_ADDON_SRCS=\"\\$NGX_ADDON_SRCS (.*)\""))
432 (m (regexp-exec rx str))
433 (srcs (match:substring m 1)))
434 (format out (string-append "ngx_module_srcs=\""
436 (format out ". auto/module~%")
437 (format out "ngx_addon_name=$ngx_module_name~%"))))))
438 (add-before 'configure 'patch-/bin/sh
440 (substitute* "auto/feature"
441 (("/bin/sh") (which "sh")))
444 ;; This phase is largely copied from the nginx package.
445 (lambda* (#:key outputs #:allow-other-keys)
447 (list ;; A copy of nginx’ flags follows, otherwise we
448 ;; get a binary compatibility error. FIXME: Code
449 ;; duplication is bad.
450 (string-append "--prefix=" (assoc-ref outputs "out"))
451 "--with-http_ssl_module"
452 "--with-http_v2_module"
455 ;; Even when not cross-building, we pass the
456 ;; --crossbuild option to avoid customizing for the
457 ;; kernel version on the build machine.
458 ,(let ((system "Linux") ; uname -s
459 (release "3.2.0") ; uname -r
461 (machine (match (or (%current-target-system)
463 ("x86_64-linux" "x86_64")
464 ("i686-linux" "i686")
465 ("mips64el-linux" "mips64")
466 ;; Prevent errors when querying
467 ;; this package on unsupported
468 ;; platforms, e.g. when running
469 ;; "guix package --search="
471 (string-append "--crossbuild="
472 system ":" release ":" machine))
473 ;; The following are the args decribed on
474 ;; <https://www.nginx.com/blog/compiling-dynamic-modules-nginx-plus>.
475 ;; Enabling --with-compat here and in the nginx package
476 ;; would ensure binary compatibility even when using
477 ;; different configure options from the main nginx
478 ;; package. This is not needed for Guix.
480 "--add-dynamic-module=.")))
482 (format #t "environment variable `CC' set to `gcc'~%")
483 (format #t "configure flags: ~s~%" flags)
484 (apply invoke "./configure" flags)
487 (lambda* (#:key outputs #:allow-other-keys)
488 (let* ((out (assoc-ref outputs "out"))
489 (modules-dir (string-append out "/etc/nginx/modules"))
490 (doc-dir (string-append
491 out "/share/doc/nginx-accept-language-module")))
492 (mkdir-p modules-dir)
493 (copy-file "objs/ngx_http_accept_language_module.so"
495 modules-dir "/ngx_http_accept_language_module.so"))
497 (copy-file "README.textile"
498 (string-append doc-dir "/README.textile"))
501 "https://www.nginx.com/resources/wiki/modules/accept_language/")
502 (synopsis "Nginx module for parsing the Accept-Language HTTP header")
504 "This nginx module parses the Accept-Language field in HTTP headers and
505 chooses the most suitable locale for the user from the list of locales
506 supported at your website.")
507 (license (delete-duplicates
508 (cons license:bsd-2 ;license of nginx-accept-language-module
509 ;; The module’s code is linked statically with nginx,
510 ;; therefore nginx’ other licenses may also apply to its
512 (package-license nginx)))))))
514 (define nginx-xslscript
516 (changeset "01dc9ba12e1b"))
518 (name "nginx-xslscript")
520 (simple-format #f "2014-03-31-~A-~A" revision changeset))
524 (url "http://hg.nginx.org/xslscript")
525 (changeset changeset)))
526 (file-name (string-append name "-" version))
529 "0am8zvdx3jmiwkg5q07qjaw5r26r4i2v5i4yr8a1k0jgib6ii08g"))))
530 (build-system gnu-build-system)
532 '(#:tests? #f ; No test suite
534 (modify-phases %standard-phases
538 (lambda* (#:key outputs #:allow-other-keys)
539 (let ((out-bin (string-append
540 (assoc-ref outputs "out")
543 (copy-file "xslscript.pl"
548 (home-page "http://hg.nginx.org/xslscript")
549 (synopsis "XSLScript with NGinx specific modifications")
551 "XSLScript is a terse notation for writing complex XSLT stylesheets.
552 This is modified version, specifically intended for use with the NGinx
554 (license license:bsd-2))))
556 (define nginx-socket-cloexec
559 (name "nginx-socket-cloexec") ;required for lua-resty-shell
562 (inherit (package-source nginx))
563 (patches (append (search-patches "nginx-socket-cloexec.patch")
564 (origin-patches (package-source nginx))))))))
566 (define-public nginx-lua-module
569 (name "nginx-lua-module")
575 (url "https://github.com/openresty/lua-nginx-module")
576 (commit (string-append "v" version))))
577 (file-name (git-file-name "lua-nginx-module" version))
580 "1j216isp0546hycklbr5wi8mlga5hq170hk7f2sm16sfavlkh5gz"))))
581 (build-system gnu-build-system)
583 `(("nginx-sources" ,(package-source nginx-socket-cloexec))
585 ,@(package-inputs nginx)))
587 (substitute-keyword-arguments
588 `(#:configure-flags '("--add-dynamic-module=.")
589 #:make-flags '("modules")
590 #:modules ((guix build utils)
591 (guix build gnu-build-system)
594 (ice-9 textual-ports))
595 ,@(package-arguments nginx))
597 `(modify-phases ,phases
598 (add-after 'unpack 'unpack-nginx-sources
599 (lambda* (#:key inputs native-inputs #:allow-other-keys)
601 ;; The nginx source code is part of the module’s source.
602 (format #t "decompressing nginx source code~%")
603 (let ((tar (assoc-ref inputs "tar"))
604 (nginx-srcs (assoc-ref inputs "nginx-sources")))
605 (invoke (string-append tar "/bin/tar")
606 "xvf" nginx-srcs "--strip-components=1"))
608 (add-before 'configure 'set-luajit-env
609 (lambda* (#:key inputs #:allow-other-keys)
610 (let ((luajit (assoc-ref inputs "luajit")))
612 (string-append luajit "/lib"))
614 (string-append luajit "/include/luajit-2.1"))
617 (lambda* (#:key outputs #:allow-other-keys)
618 (let ((modules-dir (string-append (assoc-ref outputs "out")
619 "/etc/nginx/modules")))
620 (install-file "objs/ngx_http_lua_module.so" modules-dir)
622 (delete 'fix-root-dirs)
623 (delete 'install-man-page)))))
624 (synopsis "NGINX module for Lua programming language support")
625 (description "This NGINX module provides a scripting support with Lua
626 programming language.")))
628 (define-public lighttpd
634 (uri (string-append "https://download.lighttpd.net/lighttpd/"
635 "releases-" (version-major+minor version) ".x/"
636 "lighttpd-" version ".tar.xz"))
639 "09z947730yjh438wrqb3z1c5hr1dbb11a8sr92g3vk6mr7lm02va"))))
640 (build-system gnu-build-system)
651 (modify-phases %standard-phases
652 (add-after 'unpack 'embed-/bin/sh-reference
654 (substitute* "src/mod_ssi.c"
655 (("/bin/sh") (which "sh")))
657 (add-after 'unpack 'fix-tests
659 (setenv "SHELL" (which "sh"))
660 ;; gethostbyaddr fails
661 (substitute* "tests/LightyTest.pm"
662 (("\\{HOSTNAME\\} = \\$name;")
663 "{HOSTNAME} = \"127.0.0.1\";"))
666 `(("cyrus-sasl" ,cyrus-sasl)
668 ("libunwind" ,libunwind)
669 ("linux-pam" ,linux-pam)
670 ("mit-krb5" ,mit-krb5)
671 ("openldap" ,openldap)
674 ("pcre:bin" ,pcre "bin")
677 `(("perl" ,perl) ; for tests
678 ("pkg-config" ,pkg-config)
680 (home-page "https://www.lighttpd.net/")
681 (synopsis "Lightweight HTTP and reverse proxy server")
683 "Lighttpd is a secure, fast, compliant, and very flexible web-server that
684 has been optimized for high-performance environments. It has a very low
685 memory footprint compared to other webservers. Its features include FastCGI,
686 CGI, authentication, output compression, URL rewriting and many more.")
687 (license license:bsd-3)))
696 ;; Upstream has disappeared.
698 (url "https://github.com/FastCGI-Archives/fcgi2")
700 (file-name (git-file-name name version))
702 (base32 "1jhz6jfwv5kawa8kajvg18nfwc1b30f38zc0lggszd1vcmrwqkz1"))))
703 (build-system gnu-build-system)
704 ;; Parallel building is not supported.
705 (arguments `(#:parallel-build? #f))
707 `(("autoconf" ,autoconf)
708 ("automake" ,automake)
709 ("libtool" ,libtool)))
710 ;; This is an archived fork of the original home page, www.fastcgi.com.
711 (home-page "https://fastcgi-archives.github.io/")
712 (synopsis "Language-independent, high-performant extension to CGI")
713 (description "FastCGI is a language-independent, scalable extension to CGI
714 that provides high performance without the limitations of server specific
716 ;; This package is released under the Open Market License, a variant of
717 ;; the Expat license, incompatible with the GPL.
718 (license (license:non-copyleft "file://LICENSE.TERMS"))))
720 (define-public fcgiwrap
728 (url "https://github.com/gnosek/fcgiwrap")
730 (file-name (git-file-name name version))
732 (base32 "1ryw66h9aazi83amk8l7ha8k5g0c7qvk5g6jv376a1ws9xk2qw6f"))))
733 (build-system gnu-build-system)
735 `(#:tests? #f ; no tests included
736 #:make-flags (list "CC=gcc")
738 (modify-phases %standard-phases
739 (add-after 'unpack 'fix-CFLAGS
740 ;; Remove broken options unconditionally added to CFLAGS.
742 (substitute* "configure.ac"
746 `(("autoconf" ,autoconf)
747 ("automake" ,automake)
748 ("pkg-config" ,pkg-config)))
751 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
752 (synopsis "Simple server for running CGI applications over FastCGI")
753 (description "Fcgiwrap is a simple server for running CGI applications
754 over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
755 servers that may need it).")
756 (license license:expat)))
758 (define-public starman
765 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
766 "Starman-" version ".tar.gz"))
768 (base32 "1y1kn4929k299fbf6sw9lxcsdlq9fvq777p6yrzk591rr9xhkx8h"))))
769 (build-system perl-build-system)
771 `(("perl-libwww" ,perl-libwww)
772 ("perl-module-build-tiny" ,perl-module-build-tiny)
773 ("perl-test-requires" ,perl-test-requires)))
775 `(("perl-data-dump" ,perl-data-dump)
776 ("perl-http-date" ,perl-http-date)
777 ("perl-http-message" ,perl-http-message)
778 ("perl-http-parser-xs" ,perl-http-parser-xs)
779 ("perl-net-server" ,perl-net-server)
780 ("perl-plack" ,perl-plack)
781 ("perl-test-tcp" ,perl-test-tcp)))
782 (home-page "https://metacpan.org/release/Starman")
783 (synopsis "PSGI/Plack web server")
784 (description "Starman is a PSGI perl web server that has unique features
785 such as high performance, preforking, signal support, superdaemon awareness,
786 and UNIX socket support.")
787 (license license:perl-license)))
789 (define-public icedtea-web
796 "http://icedtea.wildebeest.org/download/source/"
797 name "-" version ".tar.gz"))
800 "004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf"))))
801 (build-system gnu-build-system)
804 (list "--disable-plugin" ;NPAPI plugins are obsolete nowadays.
805 (string-append "BIN_BASH=" (assoc-ref %build-inputs "bash")
807 (string-append "--with-jdk-home=" (assoc-ref %build-inputs "jdk")))))
808 (outputs '("out" "doc"))
810 `(("pkg-config" ,pkg-config)
814 ("jdk" ,icedtea "jdk")))
815 (home-page "http://icedtea.classpath.org/wiki/IcedTea-Web")
816 (synopsis "Java Web Start")
818 "IcedTea-Web is an implementation of the @dfn{Java Network Launching
819 Protocol}, also known as Java Web Start. This package provides tools and
820 libraries for working with JNLP applets.")
821 ;; The program is mainly GPL2+, with some individual files under LGPL2.1+
823 (license license:gpl2+)))
825 (define-public jansson
832 (string-append "http://www.digip.org/jansson/releases/jansson-"
836 "1lp1mv8pjp5yziws66cy0dhpcam4bbjqhffk13v4vgdybp674pb4"))))
837 (build-system gnu-build-system)
839 `(#:configure-flags '("--disable-static")))
840 (home-page "http://www.digip.org/jansson/")
841 (synopsis "JSON C library")
843 "Jansson is a C library for encoding, decoding and manipulating JSON
845 (license license:expat)))
847 (define-public json-c
849 (replacement json-c/fixed)
855 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
859 "0w381krr99q5a2rypx4g437fa7gzgl82i64sgnrs6g5jr44dwxxk"))))
860 (build-system cmake-build-system)
861 (home-page "https://github.com/json-c/json-c/wiki")
862 (synopsis "JSON implementation in C")
864 "JSON-C implements a reference counting object model that allows you to
865 easily construct JSON objects in C, output them as JSON-formatted strings and
866 parse JSON-formatted strings back into the C representation of JSON objects.
867 It aims to conform to RFC 7159.")
868 (license license:x11)))
876 (inherit (package-source json-c))
877 (patches (search-patches "json-c-CVE-2020-12762.patch"))))))
879 ;; TODO: Remove these old versions when all dependents have been updated.
880 (define-public json-c-0.13
887 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
890 (base32 "0ws8dz9nk8q2c0gbf66kg2r6mrkl7kamd3gpdv9zsyrz9n6n0zmq"))
891 (patches (search-patches "json-c-0.13-CVE-2020-12762.patch"))
892 (modules '((guix build utils)))
895 ;; Somehow 'config.h.in' is older than
896 ;; 'aclocal.m4', which would trigger a rule to
898 (set-file-time "config.h.in"
901 (build-system gnu-build-system)))
903 (define-public json-c-0.12
905 (inherit json-c-0.13)
910 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
913 (base32 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
914 (patches (search-patches "json-c-0.12-CVE-2020-12762.patch"))
915 (modules '((guix build utils)))
918 ;; Somehow 'config.h.in' is older than
919 ;; 'aclocal.m4', which would trigger a rule to
921 (set-file-time "config.h.in"
924 ;; Don't try to build with -Werror.
925 (substitute* (find-files "." "Makefile\\.in")
929 (define-public json-parser
934 ;; do not use auto-generated tarballs
937 (url "https://github.com/udp/json-parser")
938 (commit (string-append "v" version))))
939 (file-name (git-file-name name version))
942 "1ls7z4fx0sq633s5bc0j1gh36sv087gmrgr7rza22wjq2d4606yf"))))
943 ;; FIXME: we should build the python bindings in a separate package
944 (build-system gnu-build-system)
945 ;; the tests are written for the python bindings which are not built here
946 (arguments '(#:tests? #f))
947 (home-page "https://github.com/udp/json-parser")
948 (synopsis "JSON parser written in ANSI C")
949 (description "This package provides a very low footprint JSON parser
950 written in portable ANSI C.
953 @item BSD licensed with no dependencies (i.e. just drop the C file into your
955 @item Never recurses or allocates more memory than it needs
956 @item Very simple API with operator sugar for C++
958 (license license:bsd-2)))
967 (url "https://github.com/flavio/qjson")
969 (file-name (git-file-name name version))
972 "1f4wnxzx0qdmxzc7hqk28m0sva7z9p9xmxm6aifvjlp0ha6pmfxs"))))
973 (build-system cmake-build-system)
975 ;; The tests require a running X server.
976 `(#:configure-flags '("-DQJSON_BUILD_TESTS=ON"
977 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -fPIC")
979 (modify-phases %standard-phases
980 (add-after 'unpack 'disable-broken-test
982 ;; FIXME: One test fails. See
983 ;; https://github.com/flavio/qjson/issues/105
984 (substitute* "tests/scanner/testscanner.cpp"
985 (("QTest::newRow\\(\"too large exponential\"\\)" line)
986 (string-append "//" line)))
988 (add-before 'check 'render-offscreen
989 (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen") #t)))))
991 `(("qtbase" ,qtbase)))
992 (home-page "http://qjson.sourceforge.net")
993 (synopsis "Library that maps JSON data to QVariant objects")
994 (description "QJson is a Qt-based library that maps JSON data to
995 @code{QVariant} objects. JSON arrays will be mapped to @code{QVariantList}
996 instances, while JSON's objects will be mapped to @code{QVariantMap}.")
997 ;; Only version 2.1 of the license
998 (license license:lgpl2.1)))
1000 (define-public qoauth
1007 (url "https://github.com/ayoy/qoauth")
1008 (commit (string-append "v" version))))
1009 (file-name (git-file-name name version))
1012 "1b2jdqs526ac635yb2whm049spcsk7almnnr6r5b4yqhq922anw3"))))
1013 (build-system gnu-build-system)
1016 ("qtbase" ,qtbase)))
1019 (modify-phases %standard-phases
1020 (add-after 'unpack 'patch-code
1022 (make-file-writable "src/qoauth.pc")
1023 (substitute* "src/src.pro"
1024 (("/lib64") "/lib"))
1026 (delete 'configure) ; no configure script
1027 (delete 'check) ; no test target
1028 (add-before 'build 'qmake
1030 (let ((qca (assoc-ref %build-inputs "qca")))
1033 (string-append "PREFIX=" (assoc-ref %outputs "out"))
1034 (string-append "QMAKE_INCDIR+=" qca "/include/Qca-qt5/QtCrypto")
1035 (string-append "LIBS+=-L" qca "/lib")
1036 (string-append "LIBS+=-lqca-qt5"))))))))
1037 (home-page "https://github.com/ayoy/qoauth")
1038 (synopsis "Qt-based C++ library for OAuth authorization scheme")
1039 (description "QOAuth is an attempt to support interaction with
1040 OAuth-powered network services in a Qt way, i.e. simply, clearly and
1041 efficiently. It gives the application developer no more than 4 methods.")
1042 (license license:lgpl2.1+)))
1044 (define-public krona-tools
1046 (name "krona-tools")
1051 "https://github.com/marbl/Krona/releases/download/v"
1052 version "/KronaTools-" version ".tar"))
1055 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
1056 (build-system perl-build-system)
1059 (modify-phases %standard-phases
1060 ;; There is no configure or build steps.
1063 ;; Install script "install.pl" expects the build directory to remain
1064 ;; after installation, creating symlinks etc., so re-implement it
1067 (lambda* (#:key outputs #:allow-other-keys)
1068 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
1069 (perl (string-append (assoc-ref outputs "out")
1070 "/lib/perl5/site_perl/krona-tools/lib")))
1074 (let* ((executable (string-append "scripts/" script ".pl")))
1075 ;; Prefix executables with 'kt' as install script does.
1076 (copy-file executable (string-append bin "/kt" script))))
1078 "GetContigMagnitudes"
1088 "ImportMETAREP-BLAST"
1093 "ImportRDPComparison"
1099 (copy-recursively directory
1100 (string-append perl "/../" directory)))
1101 (list "data" "img" "taxonomy" "src"))
1102 (install-file "lib/KronaTools.pm" perl))))
1103 (add-after 'install 'wrap-program
1104 (lambda* (#:key inputs outputs #:allow-other-keys)
1105 (let* ((out (assoc-ref outputs "out"))
1106 (path (getenv "PERL5LIB")))
1108 (lambda (executable)
1109 (wrap-program executable
1110 `("PERL5LIB" ":" prefix
1111 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
1112 (find-files (string-append out "/bin/") ".*")))))
1114 (add-after 'wrap-program 'check
1115 (lambda* (#:key inputs outputs #:allow-other-keys)
1116 (with-directory-excursion "data"
1117 (invoke (string-append (assoc-ref outputs "out") "/bin/ktImportText")
1121 (home-page "https://github.com/marbl/Krona/wiki")
1122 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
1124 "Krona is a flexible tool for exploring the relative proportions of
1125 hierarchical data, such as metagenomic classifications, using a radial,
1126 space-filling display. It is implemented using HTML5 and JavaScript, allowing
1127 charts to be explored locally or served over the Internet, requiring only a
1128 current version of any major web browser.")
1129 (license license:bsd-3)))
1131 (define-public rapidjson
1138 (url "https://github.com/Tencent/rapidjson")
1139 (commit (string-append "v" version))))
1140 (file-name (git-file-name name version))
1143 "1jixgb8w97l9gdh3inihz7avz7i770gy2j2irvvlyrq3wi41f5ab"))
1144 (patches (search-patches "rapidjson-gcc-compat.patch"))
1145 (modules '((guix build utils)))
1148 ;; Remove code using the problematic JSON license (see
1149 ;; <https://www.gnu.org/licenses/license-list.html#JSON>).
1150 (delete-file-recursively "bin/jsonchecker")
1152 (build-system cmake-build-system)
1154 (if (string-prefix? "aarch64" (or (%current-target-system)
1157 (modify-phases %standard-phases
1158 (add-after 'unpack 'patch-aarch-march-detection
1160 (substitute* (find-files "." "^CMakeLists\\.txt$")
1161 (("native") "armv8-a"))
1163 ;; Disable CPU optimization for reproducibility.
1164 '(#:configure-flags '("-DRAPIDJSON_ENABLE_INSTRUMENTATION_OPT=OFF"))))
1165 (home-page "https://github.com/Tencent/rapidjson")
1166 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
1168 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
1170 (license license:expat)))
1172 (define-public libyajl
1179 (url "https://github.com/lloyd/yajl")
1181 (file-name (git-file-name name version))
1184 "00yj06drb6izcxfxfqlhimlrb089kka0w0x8k27pyzyiq7qzcvml"))))
1185 (build-system cmake-build-system)
1188 (modify-phases %standard-phases
1189 (add-after 'patch-source-shebangs 'patch-tests
1191 (substitute* "test/parsing/run_tests.sh"
1192 (("`which echo`") (which "echo")))
1194 (home-page "https://lloyd.github.io/yajl/")
1195 (synopsis "C library for parsing JSON")
1197 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
1198 parser written in ANSI C and a small validating JSON generator.")
1199 (license license:isc)))
1201 (define-public libwebsockets
1203 (name "libwebsockets")
1206 ;; The project does not publish tarballs, so we have to take
1210 (url "https://github.com/warmcat/libwebsockets")
1211 (commit (string-append "v" version
1212 "-chrome37-firefox30"))))
1215 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
1216 (file-name (string-append name "-" version))))
1218 (build-system cmake-build-system)
1220 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
1221 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
1224 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
1225 (inputs `(("zlib" ,zlib)
1226 ("openssl" ,openssl)))
1227 (synopsis "WebSockets library written in C")
1229 "Libwebsockets is a library that allows C programs to establish client
1230 and server WebSockets connections---a protocol layered above HTTP that allows
1231 for efficient socket-like bidirectional reliable communication channels.")
1232 (home-page "https://libwebsockets.org")
1234 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
1235 (license license:lgpl2.1)))
1245 (url "https://github.com/WebAssembly/wabt")
1247 (file-name (git-file-name name version))
1249 (base32 "1zlv3740wkqj4mn6sr84h0x6wk2lcp4pwwmqsh5yyqp1j1glbsa0"))))
1250 (build-system cmake-build-system)
1252 `(#:configure-flags '("-DBUILD_TESTS=OFF")
1254 (inputs `(("python" ,python-2)
1256 (home-page "https://github.com/WebAssembly/wabt")
1257 (synopsis "WebAssembly Binary Toolkit")
1258 (description "WABT (pronounced: wabbit) is a suite of tools for
1259 WebAssembly, including:
1262 @item @command{wat2wasm} translates from WebAssembly text format to the
1263 WebAssembly binary format
1264 @item @command{wasm2wat} is the inverse; it translates from the binary format
1265 back to the text format (also known as a .wat)
1266 @item @command{wasm-objdump} prints information about a wasm binary, similarly
1267 to @command{objdump}.
1268 @item @command{wasm-interp} decodes ands run a WebAssembly binary file using a
1269 stack-based interpreter
1270 @item @command{wat-desugar} parses .wat text form as supported by the spec
1271 interpreter (s-expressions, flat syntax, or mixed) and prints the canonical
1273 @item @command{wasm2c} converts a WebAssembly binary file to a C source and
1277 These tools are intended for use in (or for development of) toolchains or
1278 other systems that want to manipulate WebAssembly files.")
1279 (license license:asl2.0)))
1281 (define-public websocketpp
1283 (name "websocketpp")
1289 (url "https://github.com/zaphoyd/websocketpp")
1291 (file-name (git-file-name name version))
1293 (base32 "1ww4fhl8qf12hkv6jaild8zzsygdspxm1gqpk2f63gv1xfi31wpm"))
1294 (patches (search-patches "websocketpp-fix-for-cmake-3.15.patch"))))
1295 (build-system cmake-build-system)
1296 (inputs `(("boost" ,boost)
1297 ("openssl" ,openssl)))
1298 (arguments '(#:configure-flags '("-DBUILD_TESTS=ON")
1300 (modify-phases %standard-phases
1301 (add-after 'install 'remove-tests
1302 (lambda* (#:key outputs #:allow-other-keys)
1303 (let* ((install-dir (assoc-ref outputs "out"))
1304 (bin-dir (string-append install-dir "/bin")))
1305 (delete-file-recursively bin-dir)
1307 (home-page "https://www.zaphoyd.com/websocketpp/")
1308 (synopsis "C++ library implementing the WebSocket protocol")
1309 (description "WebSocket++ is a C++ library that can be used to implement
1310 WebSocket functionality. The goals of the project are to provide a WebSocket
1311 implementation that is simple, portable, flexible, lightweight, low level, and
1313 (license license:bsd-3)))
1315 (define-public wslay
1323 (url "https://github.com/tatsuhiro-t/wslay")
1324 (commit (string-append "release-" version))))
1325 (file-name (git-file-name name version))
1327 (base32 "1w32iljg4inqf0712w5fxxhggvmjh6ipl2lnz0h36dv1xrj0d964"))))
1328 (build-system gnu-build-system)
1330 ;; Parallel builds don't reliably succeed.
1331 `(#:parallel-build? #f))
1333 `(("autoconf" ,autoconf)
1334 ("automake" ,automake)
1335 ("cunit" ,cunit) ; for tests
1336 ("libtool" ,libtool)
1337 ("pkg-config" ,pkg-config)
1338 ("python-sphinx" ,python-sphinx)))
1339 (home-page "https://tatsuhiro-t.github.io/wslay/")
1340 (synopsis "C WebSocket library")
1341 (description "@code{Wslay} is an event-based C library for the WebSocket
1342 protocol version 13, described in RFC 6455. Besides a high-level API it
1343 provides callbacks for sending and receiving frames directly. @code{Wslay}
1344 only supports the data transfer part of WebSocket protocol and does not
1345 perform the opening handshake in HTTP.")
1346 (license license:expat)))
1348 (define-public libpsl
1354 (uri (string-append "https://github.com/rockdaboot/libpsl/"
1355 "releases/download/libpsl-" version
1356 "/libpsl-" version ".tar.gz"))
1359 "04pfagb7ppq3yibx4lhazd1v9nwkxdfkyy2rgcrmrf3mldsirga1"))))
1360 (build-system gnu-build-system)
1362 `(("pkg-config" ,pkg-config)
1365 ("python" ,python-wrapper)))
1367 `(("libidn2" ,libidn2)
1368 ("libunistring" ,libunistring)))
1369 (home-page "https://github.com/rockdaboot/libpsl")
1370 (synopsis "C library for the Publix Suffix List")
1372 "A \"public suffix\" is a domain name under which Internet users can
1373 directly register own names.
1375 Browsers and other web clients can use it to avoid privacy-leaking
1376 \"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
1377 highlighting parts of the domain in a user interface, and sorting domain lists
1380 Libpsl has built-in PSL data for fast access, allowing to load PSL data from
1381 files, checks if a given domain is a public suffix, provides immediate cookie
1382 domain verification, finds the longest public part of a given domain, finds
1383 the shortest private part of a given domain, works with international
1384 domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
1386 (license license:x11)))
1391 (version "20091223")
1396 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
1398 (revision "2009-12-23")))
1399 (file-name (string-append name "-" version "-checkout"))
1402 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
1403 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
1404 (build-system gnu-build-system)
1406 '(#:phases (modify-phases %standard-phases
1408 (lambda* (#:key inputs #:allow-other-keys)
1409 ;; configure.in and Makefile.am aren't in the root of the
1411 (copy-recursively "build/gnuauto" ".")
1412 (setenv "AUTOMAKE" "automake --foreign")
1413 (invoke "autoreconf" "-vfi"))))))
1415 `(("automake" ,automake)
1416 ("autoconf" ,autoconf)
1417 ("libtool" ,libtool)))
1418 (synopsis "HTML validator and tidier")
1419 (description "HTML Tidy is a command-line tool and C library that can be
1420 used to validate and fix HTML data.")
1421 (home-page "http://tidy.sourceforge.net/")
1422 (license (license:x11-style "file:///include/tidy.h"))))
1424 (define-public esbuild
1432 (url "https://github.com/evanw/esbuild")
1433 (commit (string-append "v" version))))
1434 (file-name (git-file-name name version))
1437 "0lmq7yqssnc1cgd63m5zl734ahf8c0q0k1p2zdcn3qm15wfz7sh7"))
1438 (modules '((guix build utils)))
1441 ;; Remove prebuilt binaries
1442 (delete-file-recursively "npm")
1444 (build-system go-build-system)
1446 '(#:import-path "github.com/evanw/esbuild/cmd/esbuild"
1447 #:unpack-path "github.com/evanw/esbuild"
1449 (modify-phases %standard-phases
1451 (lambda* (#:key tests? unpack-path #:allow-other-keys)
1453 (with-directory-excursion (string-append "src/" unpack-path)
1454 (invoke "make" "test-go")))
1457 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
1459 `(("go-github-com-kylelemons-godebug" ,go-github-com-kylelemons-godebug)))
1460 (home-page "https://github.com/evanw/esbuild")
1461 (synopsis "Bundler and minifier tool for JavaScript and TypeScript")
1463 "The esbuild tool provides a unified bundler, transpiler and
1464 minifier. It packages up JavaScript and TypeScript code, along with JSON
1465 and other data, for distribution on the web.")
1466 (license license:expat)))
1468 (define-public tinyproxy
1474 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
1475 "releases/download/" version "/tinyproxy-"
1479 "10jnk6y2swld25mm47mjc0nkffyzsfysnsxwr7cs0ns1kil8ggjr"))))
1480 (build-system gnu-build-system)
1484 ;; For the log file, etc.
1485 "--localstatedir=/var")
1487 (modify-phases %standard-phases
1488 (add-before 'build 'pre-build
1489 (lambda* (#:key inputs #:allow-other-keys #:rest args)
1490 ;; Uncommenting the next two lines may assist in debugging
1491 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
1492 ;; (setenv "XML_DEBUG_CATALOG" "1")
1494 (home-page "https://tinyproxy.github.io/")
1495 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
1496 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
1497 daemon. Designed from the ground up to be fast and yet small, it is an ideal
1498 solution for use cases such as embedded deployments where a full featured HTTP
1499 proxy is required, but the system resources for a larger proxy are
1501 (license license:gpl2+)))
1503 (define-public polipo
1511 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
1515 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
1516 (native-inputs `(("texinfo" ,texinfo)))
1517 (build-system gnu-build-system)
1519 `(#:phases (modify-phases %standard-phases
1520 (delete 'configure))
1521 #:make-flags (let ((out (assoc-ref %outputs "out")))
1522 (list (string-append "PREFIX=" out)
1523 (string-append "LOCAL_ROOT="
1524 out "/share/polipo/www")
1526 ;; No 'check' target.
1528 (home-page "https://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
1529 (synopsis "Small caching web proxy")
1531 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
1532 server). It was primarily designed to be used by one person or a small group
1534 (license license:expat)))
1536 (define-public websockify
1543 (url "https://github.com/novnc/websockify")
1544 (commit (string-append "v" version))))
1545 (file-name (git-file-name name version))
1548 "0pcic8qs0gdwrfjgfaf893jyddaw97wcjm2mmvwn0xyhmy8mbmw1"))))
1549 (build-system python-build-system)
1551 `(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No module
1552 ; named 'stubout'". The tests can be run by replacing the check phase with
1553 ; the command "python setup.py nosetests --verbosity=3".
1554 (native-inputs `(; Required for tests:
1555 ("python-mox3" ,python-mox3)
1556 ("python-nose" ,python-nose)))
1557 (propagated-inputs `(("python-numpy" ,python-numpy)))
1558 (home-page "https://github.com/novnc/websockify")
1559 (synopsis "WebSockets support for any application/server")
1560 (description "Websockify translates WebSockets traffic to normal socket
1561 traffic. Websockify accepts the WebSockets handshake, parses it, and then
1562 begins forwarding traffic between the client and the target in both
1564 (license license:lgpl3)))
1566 (define-public wwwoffle
1572 (uri (string-append "https://www.gedanken.org.uk/software/"
1573 "wwwoffle/download/wwwoffle-"
1577 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
1578 (build-system gnu-build-system)
1580 `(#:configure-flags '("--with-gnutls")
1581 #:tests? #f)) ; no test target
1582 (native-inputs `(("flex" ,flex)))
1583 (inputs `(("gnutls" ,gnutls)
1584 ("libcrypt" ,libgcrypt)))
1585 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
1586 (synopsis "Caching web proxy optimized for intermittent internet links")
1587 (description "WWWOFFLE is a proxy web server that is especially good for
1588 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
1589 protocols, and supports browsing and requesting pages while offline, indexing,
1590 modifying pages and incoming and outgoing headers, monitoring pages for
1591 changes, and much more.")
1592 (license license:gpl2+)))
1594 (define-public liboauth
1600 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
1604 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
1605 (build-system gnu-build-system)
1606 (arguments '(#:configure-flags '("--enable-nss")))
1607 (native-inputs `(("pkg-config" ,pkg-config)))
1611 (home-page "https://sourceforge.net/projects/liboauth")
1612 (synopsis "C library implementing the OAuth API")
1614 "liboauth is a collection of C functions implementing the OAuth API.
1615 liboauth provides functions to escape and encode strings according to OAuth
1616 specifications and offers high-level functionality built on top to sign
1617 requests or verify signatures using either NSS or OpenSSL for calculating the
1619 ;; Source code may be distributed under either license.
1620 (license (list license:expat license:gpl2+))))
1622 (define-public libyaml
1629 (uri (string-append "https://pyyaml.org/download/libyaml/yaml-"
1632 (base32 "0mq5wf17ifcwwxq3kbimhi53jn3fg23vcynqpzxjcz3vfjlfs2nq"))))
1633 (build-system gnu-build-system)
1634 (home-page "https://pyyaml.org/wiki/LibYAML")
1635 (synopsis "YAML 1.1 parser and emitter written in C")
1637 "LibYAML is a YAML 1.1 parser and emitter written in C.")
1638 (license license:expat)))
1640 (define-public libquvi-scripts
1642 (name "libquvi-scripts")
1648 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
1649 name "/" name "-" version ".tar.xz"))
1651 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
1652 (build-system gnu-build-system)
1653 (home-page "http://quvi.sourceforge.net/")
1654 (synopsis "Media stream URL parser")
1655 (description "This package contains support scripts called by libquvi to
1656 parse media stream properties.")
1657 (license license:lgpl2.1+)))
1659 (define-public libquvi
1667 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
1668 name "-" version ".tar.xz"))
1670 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
1671 (build-system gnu-build-system)
1672 (native-inputs `(("pkg-config" ,pkg-config)))
1675 ("cyrus-sasl" ,cyrus-sasl)
1676 ("libquvi-scripts" ,libquvi-scripts)
1678 ("openssl" ,openssl)
1681 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
1683 (let ((lua (assoc-ref %build-inputs "lua")))
1685 (string-append "liblua_CFLAGS=-I" lua "/include")
1686 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
1687 (home-page "http://quvi.sourceforge.net/")
1688 (synopsis "Media stream URL parser")
1689 (description "libquvi is a library with a C API for parsing media stream
1690 URLs and extracting their actual media files.")
1691 (license license:lgpl2.1+)))
1701 "mirror://sourceforge/" name "/" (version-major+minor version)
1702 "/" name "/" name "-" version ".tar.xz"))
1704 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
1705 (build-system gnu-build-system)
1706 (native-inputs `(("pkg-config" ,pkg-config)))
1709 ("libquvi" ,libquvi)))
1710 (home-page "http://quvi.sourceforge.net/")
1711 (synopsis "Media stream URL parser")
1712 (description "quvi is a command-line-tool suite to extract media files
1713 from streaming URLs. It is a command-line wrapper for the libquvi library.")
1714 (license license:lgpl2.1+)))
1723 (uri (string-append "mirror://apache/serf/serf-"
1724 version ".tar.bz2"))
1726 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
1727 (build-system scons-build-system)
1730 ("apr-util" ,apr-util)
1731 ("openssl" ,openssl)))
1733 `(;; TODO: Fix build with gss.
1737 `(#:scons ,scons-python2
1738 #:scons-flags (list (string-append "APR=" (assoc-ref %build-inputs "apr"))
1739 (string-append "APU=" (assoc-ref %build-inputs "apr-util"))
1740 (string-append "OPENSSL=" (assoc-ref %build-inputs "openssl"))
1741 ;; (string-append "GSSAPI=" (assoc-ref %build-inputs "gss"))
1742 (string-append "ZLIB=" (assoc-ref %build-inputs "zlib"))
1743 (string-append "PREFIX=" %output))
1745 (modify-phases %standard-phases
1746 (add-after 'unpack 'scons-propagate-environment
1748 ;; By design, SCons does not, by default, propagate
1749 ;; environment variables to subprocesses. See:
1750 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
1751 ;; Here, we modify the SConstruct file to arrange for
1752 ;; environment variables to be propagated.
1753 (substitute* "SConstruct"
1754 (("^env = Environment\\(")
1755 "env = Environment(ENV=os.environ, "))))
1756 (add-before 'check 'disable-broken-tests
1758 ;; These tests rely on SSL certificates that expired 2017-04-18.
1759 ;; While there are newer certs available upstream, we don't want
1760 ;; this package to suddenly "expire" some time in the future.
1761 ;; https://bugs.gnu.org/26671
1763 '("test_ssl_trust_rootca"
1764 "test_ssl_certificate_chain_with_anchor"
1765 "test_ssl_certificate_chain_all_from_server"
1766 "test_ssl_no_servercert_callback_allok"
1767 "test_ssl_large_response"
1768 "test_ssl_large_request"
1769 "test_ssl_client_certificate"
1770 "test_ssl_future_server_cert"
1771 "test_setup_ssltunnel"
1772 "test_ssltunnel_basic_auth"
1773 "test_ssltunnel_basic_auth_server_has_keepalive_off"
1774 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
1775 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
1776 "test_ssltunnel_digest_auth")))
1779 (substitute* "test/test_context.c"
1780 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
1783 (home-page "https://serf.apache.org/")
1784 (synopsis "High-performance asynchronous HTTP client library")
1786 "serf is a C-based HTTP client library built upon the Apache Portable
1787 Runtime (APR) library. It multiplexes connections, running the read/write
1788 communication asynchronously. Memory copies and transformations are kept to a
1789 minimum to provide high performance operation.")
1790 ;; Most of the code is covered by the Apache License, Version 2.0, but the
1791 ;; bundled CuTest framework uses a different non-copyleft license.
1792 (license (list license:asl2.0 (license:non-copyleft "file://test/CuTest-README.txt")))))
1794 (define-public libsass
1797 ;; When updating, check whether sassc/libsass-3.5 is still needed.
1802 (url "https://github.com/sass/libsass")
1804 (file-name (git-file-name name version))
1807 "0r8lfqvr3rjhjd8r036zd1wc9q17gyiskppcw9m13jks9an7xp4j"))))
1808 (build-system gnu-build-system)
1811 (modify-phases %standard-phases
1812 (add-before 'bootstrap 'set-LIBSASS_VERSION
1814 (setenv "LIBSASS_VERSION" ,version)
1817 `(("autoconf" ,autoconf)
1818 ("automake" ,automake)
1819 ("libtool" ,libtool)))
1820 (home-page "https://sass-lang.com/libsass")
1821 (synopsis "SASS Compiler, implemented as a C/C++ library")
1823 "LibSass is a @acronym{SASS,Syntactically awesome style sheets} compiler
1824 library designed for portability and efficiency. To actually compile SASS
1825 stylesheets, you'll need to use another program that uses this library,
1826 @var{sassc} for example.")
1827 (license license:expat)))
1829 (define-public sassc
1836 (url "https://github.com/sass/sassc")
1838 (file-name (git-file-name name version))
1841 "1sxm54mkhs9m4vnl7vn11y17mhzamc403hv3966j1c7p2rbzg5pv"))))
1842 (build-system gnu-build-system)
1846 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1847 #:tests? #f ; no test suite
1849 (modify-phases %standard-phases
1850 (add-after 'unpack 'patch-Makefile
1852 (substitute* "Makefile"
1853 (("build-shared: \\$\\(RESOURCES\\) \\$\\(OBJECTS\\) \\$\\(LIB_SHARED\\)")
1854 "build-shared: $(RESOURCES) $(OBJECTS)")
1855 (("\\$\\(SASSC_EXE\\): libsass build")
1856 "$(SASSC_EXE): build")
1857 (("install: libsass-install-\\$\\(BUILD\\) \\\\")
1860 ;; This phase fails for some reason.
1862 ;; There is no configure script.
1864 (add-before 'build 'setup-environment
1866 (setenv "BUILD" "shared")
1867 (setenv "SASSC_VERSION" ,version)
1870 `(("libsass" ,libsass)))
1871 (synopsis "CSS pre-processor")
1872 (description "SassC is a compiler written in C for the CSS pre-processor
1873 language known as SASS.")
1874 (home-page "https://sass-lang.com/libsass")
1875 (license license:expat)))
1877 (define-public sassc/libsass-3.5
1878 ;; Newer libsass versions suffor from a memory leak when building (some?)
1879 ;; GTK themes <https://github.com/sass/libsass/issues/3033>.
1893 (url "https://github.com/sass/libsass")
1895 (file-name (git-file-name name version))
1898 "0830pjcvhzxh6yixj82x5k5r1xnadjqzi16kp53213icbly0r9ma"))))))))
1899 (properties '((hidden? . #t)))))
1902 (define-public perl-apache-logformat-compiler
1904 (name "perl-apache-logformat-compiler")
1909 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
1910 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1912 (base32 "05xcl7j65vakx7x79jqjikyw0nzf60bc2w6hhc0q5sklxq1ral4l"))))
1913 (build-system perl-build-system)
1915 `(("perl-http-message" ,perl-http-message)
1916 ("perl-module-build-tiny" ,perl-module-build-tiny)
1917 ("perl-test-mocktime" ,perl-test-mocktime)
1918 ("perl-try-tiny" ,perl-try-tiny)
1919 ("perl-uri" ,perl-uri)))
1921 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1922 (arguments `(#:tests? #f)) ; TODO: Timezone test failures
1923 (home-page "https://metacpan.org/release/Apache-LogFormat-Compiler")
1924 (synopsis "Compile a log format string to perl-code")
1925 (description "This module provides methods to compile a log format string
1926 to perl-code, for faster generation of access_log lines.")
1927 (license license:perl-license)))
1929 (define-public perl-authen-sasl
1931 (name "perl-authen-sasl")
1936 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
1937 "Authen-SASL-" version ".tar.gz"))
1940 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
1941 (build-system perl-build-system)
1944 (modify-phases %standard-phases
1945 (add-after 'unpack 'set-env
1946 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
1947 ;; versions of perl-authen-sasl.
1948 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
1950 `(("perl-digest-hmac" ,perl-digest-hmac)
1951 ("perl-gssapi" ,perl-gssapi)))
1952 (home-page "https://metacpan.org/release/Authen-SASL")
1953 (synopsis "SASL authentication framework")
1954 (description "Authen::SASL provides an SASL authentication framework.")
1955 (license license:perl-license)))
1957 (define-public perl-catalyst-action-renderview
1959 (name "perl-catalyst-action-renderview")
1964 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1965 "Catalyst-Action-RenderView-"
1969 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
1970 (build-system perl-build-system)
1972 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
1973 ("perl-module-install" ,perl-module-install)))
1975 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1976 ("perl-data-visitor" ,perl-data-visitor)
1977 ("perl-mro-compat" ,perl-mro-compat)))
1978 (home-page "https://metacpan.org/release/Catalyst-Action-RenderView")
1979 (synopsis "Sensible default Catalyst action")
1980 (description "This Catalyst action implements a sensible default end
1981 action, which will forward to the first available view.")
1982 (license license:perl-license)))
1984 (define-public perl-catalyst-action-rest
1986 (name "perl-catalyst-action-rest")
1990 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1991 "Catalyst-Action-REST-" version ".tar.gz"))
1994 "086bykggzalbjfk0islac4b48g9s2ypj7y81d6ns1lq0aax1py6c"))))
1995 (build-system perl-build-system)
1997 `(("perl-test-requires" ,perl-test-requires)
1998 ("perl-module-install" ,perl-module-install)))
2000 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2001 ("perl-class-inspector" ,perl-class-inspector)
2002 ("perl-config-general" ,perl-config-general)
2003 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
2004 ("perl-libwww" ,perl-libwww)
2005 ("perl-moose" ,perl-moose)
2006 ("perl-mro-compat" ,perl-mro-compat)
2007 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2008 ("perl-params-validate" ,perl-params-validate)
2009 ("perl-uri-find" ,perl-uri-find)
2010 ("perl-xml-simple" ,perl-xml-simple)))
2011 (home-page "https://metacpan.org/release/Catalyst-Action-REST")
2012 (synopsis "Automated REST Method Dispatching")
2013 (description "This Action handles doing automatic method dispatching for
2014 REST requests. It takes a normal Catalyst action, and changes the dispatch to
2015 append an underscore and method name. First it will try dispatching to an
2016 action with the generated name, and failing that it will try to dispatch to a
2018 (license license:perl-license)))
2020 (define-public perl-catalyst-authentication-store-dbix-class
2022 (name "perl-catalyst-authentication-store-dbix-class")
2027 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
2028 "Catalyst-Authentication-Store-DBIx-Class-"
2032 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
2033 (build-system perl-build-system)
2035 `(("perl-catalyst-plugin-authorization-roles"
2036 ,perl-catalyst-plugin-authorization-roles)
2037 ("perl-catalyst-plugin-session-state-cookie"
2038 ,perl-catalyst-plugin-session-state-cookie)
2039 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
2040 ("perl-module-install" ,perl-module-install)
2041 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2043 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2044 ("perl-catalyst-plugin-authentication"
2045 ,perl-catalyst-plugin-authentication)
2046 ("perl-dbix-class" ,perl-dbix-class)
2047 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
2049 "https://metacpan.org/release/Catalyst-Authentication-Store-DBIx-Class")
2050 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
2051 (description "The Catalyst::Authentication::Store::DBIx::Class class
2052 provides access to authentication information stored in a database via
2054 (license license:perl-license)))
2056 (define-public perl-catalyst-component-instancepercontext
2058 (name "perl-catalyst-component-instancepercontext")
2059 (version "0.001001")
2063 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
2064 "Catalyst-Component-InstancePerContext-"
2068 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
2069 (build-system perl-build-system)
2071 `(("perl-module-install" ,perl-module-install)))
2073 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2074 ("perl-moose" ,perl-moose)))
2076 "https://metacpan.org/release/Catalyst-Component-InstancePerContext")
2077 (synopsis "Create only one instance of Moose component per context")
2078 (description "Catalyst::Component::InstancePerContext returns a new
2079 instance of a component on each request.")
2080 (license license:perl-license)))
2082 (define-public perl-catalyst-devel
2084 (name "perl-catalyst-devel")
2089 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2090 "Catalyst-Devel-" version ".tar.gz"))
2092 (base32 "1r8arq7sw37d0mjyfzkc3pg1a9plgydqbscryc8qpvba4swpljls"))))
2093 (build-system perl-build-system)
2095 `(("perl-test-fatal" ,perl-test-fatal)))
2097 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
2098 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
2099 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
2100 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2101 ("perl-config-general" ,perl-config-general)
2102 ("perl-file-changenotify" ,perl-file-changenotify)
2103 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
2104 ("perl-file-sharedir" ,perl-file-sharedir)
2105 ("perl-module-install" ,perl-module-install)
2106 ("perl-moose" ,perl-moose)
2107 ("perl-moosex-emulate-class-accessor-fast"
2108 ,perl-moosex-emulate-class-accessor-fast)
2109 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2110 ("perl-namespace-clean" ,perl-namespace-clean)
2111 ("perl-path-class" ,perl-path-class)
2112 ("perl-template-toolkit" ,perl-template-toolkit)))
2113 (home-page "https://metacpan.org/release/Catalyst-Devel")
2114 (synopsis "Catalyst Development Tools")
2115 (description "The Catalyst-Devel distribution includes a variety of
2116 modules useful for the development of Catalyst applications, but not required
2117 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
2118 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
2119 extension for Catalyst; and requirements for a variety of development-related
2121 (license license:perl-license)))
2123 (define-public perl-catalyst-dispatchtype-regex
2125 (name "perl-catalyst-dispatchtype-regex")
2130 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
2131 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
2134 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
2135 (build-system perl-build-system)
2137 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
2138 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2139 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
2141 `(("perl-moose" ,perl-moose)
2142 ("perl-text-simpletable" ,perl-text-simpletable)))
2143 (home-page "https://metacpan.org/release/Catalyst-DispatchType-Regex")
2144 (synopsis "Regex DispatchType for Catalyst")
2145 (description "Dispatch type managing path-matching behaviour using
2146 regexes. Regex dispatch types have been deprecated and removed from Catalyst
2147 core. It is recommend that you use Chained methods or other techniques
2148 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
2149 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
2150 when the dispatch type is first seen in your application.")
2151 (license license:perl-license)))
2153 (define-public perl-catalyst-model-dbic-schema
2155 (name "perl-catalyst-model-dbic-schema")
2160 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
2161 "Catalyst-Model-DBIC-Schema-"
2165 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
2166 (build-system perl-build-system)
2168 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
2169 ("perl-module-install" ,perl-module-install)
2170 ("perl-test-exception" ,perl-test-exception)
2171 ("perl-test-requires" ,perl-test-requires)))
2173 `(("perl-carp-clan" ,perl-carp-clan)
2174 ("perl-catalyst-component-instancepercontext"
2175 ,perl-catalyst-component-instancepercontext)
2176 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2177 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
2178 ("perl-dbix-class" ,perl-dbix-class)
2179 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
2180 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
2181 ("perl-hash-merge" ,perl-hash-merge)
2182 ("perl-list-moreutils" ,perl-list-moreutils)
2183 ("perl-module-runtime" ,perl-module-runtime)
2184 ("perl-moose" ,perl-moose)
2185 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
2186 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
2187 ("perl-moosex-types" ,perl-moosex-types)
2188 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
2189 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2190 ("perl-namespace-clean" ,perl-namespace-clean)
2191 ("perl-tie-ixhash" ,perl-tie-ixhash)
2192 ("perl-try-tiny" ,perl-try-tiny)))
2193 (home-page "https://metacpan.org/release/Catalyst-Model-DBIC-Schema")
2194 (synopsis "DBIx::Class::Schema Model Class")
2195 (description "This is a Catalyst Model for DBIx::Class::Schema-based
2197 (license license:perl-license)))
2199 (define-public perl-catalyst-plugin-accesslog
2201 (name "perl-catalyst-plugin-accesslog")
2206 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
2207 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
2210 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
2211 (build-system perl-build-system)
2213 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2214 ("perl-datetime" ,perl-datetime)
2215 ("perl-moose" ,perl-moose)
2216 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2217 (home-page "https://metacpan.org/release/Catalyst-Plugin-AccessLog")
2218 (synopsis "Request logging from within Catalyst")
2219 (description "This Catalyst plugin enables you to create \"access logs\"
2220 from within a Catalyst application instead of requiring a webserver to do it
2221 for you. It will work even with Catalyst debug logging turned off.")
2222 (license license:perl-license)))
2224 (define-public perl-catalyst-plugin-authentication
2226 (name "perl-catalyst-plugin-authentication")
2231 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2232 "Catalyst-Plugin-Authentication-"
2236 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
2237 (build-system perl-build-system)
2239 `(("perl-module-install" ,perl-module-install)))
2241 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2242 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2243 ("perl-class-inspector" ,perl-class-inspector)
2244 ("perl-moose" ,perl-moose)
2245 ("perl-moosex-emulate-class-accessor-fast"
2246 ,perl-moosex-emulate-class-accessor-fast)
2247 ("perl-mro-compat" ,perl-mro-compat)
2248 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2249 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2250 ("perl-test-exception" ,perl-test-exception)
2251 ("perl-try-tiny" ,perl-try-tiny)))
2252 (home-page "https://metacpan.org/release/Catalyst-Plugin-Authentication")
2253 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
2254 (description "The authentication plugin provides generic user support for
2255 Catalyst apps. It is the basis for both authentication (checking the user is
2256 who they claim to be), and authorization (allowing the user to do what the
2257 system authorises them to do).")
2258 (license license:perl-license)))
2260 (define-public perl-catalyst-plugin-authorization-roles
2262 (name "perl-catalyst-plugin-authorization-roles")
2267 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2268 "Catalyst-Plugin-Authorization-Roles-"
2272 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
2273 (build-system perl-build-system)
2275 `(("perl-module-install" ,perl-module-install)
2276 ("perl-test-exception" ,perl-test-exception)))
2278 `(("perl-catalyst-plugin-authentication"
2279 ,perl-catalyst-plugin-authentication)
2280 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2281 ("perl-set-object" ,perl-set-object)
2282 ("perl-universal-isa" ,perl-universal-isa)))
2284 "https://metacpan.org/release/Catalyst-Plugin-Authorization-Roles")
2285 (synopsis "Role-based authorization for Catalyst")
2286 (description "Catalyst::Plugin::Authorization::Roles provides role-based
2287 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
2288 (license license:perl-license)))
2290 (define-public perl-catalyst-plugin-captcha
2292 (name "perl-catalyst-plugin-captcha")
2297 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
2298 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
2301 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
2302 (build-system perl-build-system)
2304 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2305 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2306 ("perl-gd-securityimage" ,perl-gd-securityimage)
2307 ("perl-http-date" ,perl-http-date)))
2308 (home-page "https://metacpan.org/release/Catalyst-Plugin-Captcha")
2309 (synopsis "Captchas for Catalyst")
2310 (description "This plugin creates and validates Captcha images for
2312 (license license:perl-license)))
2314 (define-public perl-catalyst-plugin-configloader
2316 (name "perl-catalyst-plugin-configloader")
2321 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2322 "Catalyst-Plugin-ConfigLoader-"
2325 (base32 "0w8r3bbxqnlykvra6sx3sh3wh8ylkj914xg5ql6nw11ddy56jaly"))))
2326 (build-system perl-build-system)
2328 `(("perl-path-class" ,perl-path-class)
2329 ("perl-module-install" ,perl-module-install)))
2331 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2332 ("perl-config-any" ,perl-config-any)
2333 ("perl-data-visitor" ,perl-data-visitor)
2334 ("perl-mro-compat" ,perl-mro-compat)))
2335 (home-page "https://metacpan.org/release/Catalyst-Plugin-ConfigLoader")
2336 (synopsis "Load config files of various types")
2337 (description "This module will attempt to load find and load configuration
2338 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
2340 (license license:perl-license)))
2342 (define-public perl-catalyst-plugin-session
2344 (name "perl-catalyst-plugin-session")
2349 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2350 "Catalyst-Plugin-Session-" version ".tar.gz"))
2352 (base32 "0a451997zc2vjx7rvndgx1ldbrpic8sfbddyvncynh0zr8bhlqc5"))))
2353 (build-system perl-build-system)
2355 `(("perl-module-install" ,perl-module-install)
2356 ("perl-test-deep" ,perl-test-deep)
2357 ("perl-test-exception" ,perl-test-exception)))
2359 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2360 ("perl-moose" ,perl-moose)
2361 ("perl-moosex-emulate-class-accessor-fast"
2362 ,perl-moosex-emulate-class-accessor-fast)
2363 ("perl-mro-compat" ,perl-mro-compat)
2364 ("perl-namespace-clean" ,perl-namespace-clean)
2365 ("perl-object-signature" ,perl-object-signature)
2366 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
2367 (home-page "https://metacpan.org/release/Catalyst-Plugin-Session")
2368 (synopsis "Catalyst generic session plugin")
2369 (description "This plugin links the two pieces required for session
2370 management in web applications together: the state, and the store.")
2371 (license license:perl-license)))
2373 (define-public perl-catalyst-plugin-session-state-cookie
2375 (name "perl-catalyst-plugin-session-state-cookie")
2380 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
2381 "Catalyst-Plugin-Session-State-Cookie-"
2385 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
2386 (build-system perl-build-system)
2388 `(("perl-module-install" ,perl-module-install)))
2390 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2391 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2392 ("perl-moose" ,perl-moose)
2393 ("perl-mro-compat" ,perl-mro-compat)
2394 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2396 "https://metacpan.org/release/Catalyst-Plugin-Session-State-Cookie")
2397 (synopsis "Maintain session IDs using cookies")
2398 (description "In order for Catalyst::Plugin::Session to work, the session
2399 ID needs to be stored on the client, and the session data needs to be stored
2400 on the server. This plugin stores the session ID on the client using the
2402 (license license:perl-license)))
2404 (define-public perl-catalyst-plugin-session-store-fastmmap
2406 (name "perl-catalyst-plugin-session-store-fastmmap")
2411 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2412 "Catalyst-Plugin-Session-Store-FastMmap-"
2416 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
2417 (build-system perl-build-system)
2419 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
2420 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2421 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2422 ("perl-moosex-emulate-class-accessor-fast"
2423 ,perl-moosex-emulate-class-accessor-fast)
2424 ("perl-mro-compat" ,perl-mro-compat)
2425 ("perl-path-class" ,perl-path-class)))
2427 "https://metacpan.org/release/Catalyst-Plugin-Session-Store-FastMmap")
2428 (synopsis "FastMmap session storage backend")
2429 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
2430 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
2431 memory interprocess cache. It is based on Cache::FastMmap.")
2432 (license license:perl-license)))
2434 (define-public perl-catalyst-plugin-stacktrace
2436 (name "perl-catalyst-plugin-stacktrace")
2441 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2442 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
2445 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
2446 (build-system perl-build-system)
2448 `(("perl-module-install" ,perl-module-install)))
2450 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2451 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
2452 ("perl-mro-compat" ,perl-mro-compat)))
2453 (home-page "https://metacpan.org/release/Catalyst-Plugin-StackTrace")
2454 (synopsis "Stack trace on the Catalyst debug screen")
2455 (description "This plugin enhances the standard Catalyst debug screen by
2456 including a stack trace of your application up to the point where the error
2457 occurred. Each stack frame is displayed along with the package name, line
2458 number, file name, and code context surrounding the line number.")
2459 (license license:perl-license)))
2461 (define-public perl-catalyst-plugin-static-simple
2463 (name "perl-catalyst-plugin-static-simple")
2468 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
2469 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
2472 "0m4l627p2fvzr4i6sgdxhdvsx4wpa6qmaibsbxlg5x5yjs7k7drn"))))
2473 (build-system perl-build-system)
2475 `(("perl-module-install" ,perl-module-install)))
2477 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2478 ("perl-mime-types" ,perl-mime-types)
2479 ("perl-moose" ,perl-moose)
2480 ("perl-moosex-types" ,perl-moosex-types)
2481 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2482 (home-page "https://metacpan.org/release/Catalyst-Plugin-Static-Simple")
2483 (synopsis "Simple serving of static pages")
2484 (description "The Static::Simple plugin is designed to make serving static
2485 content in your application during development quick and easy, without
2486 requiring a single line of code from you. This plugin detects static files by
2487 looking at the file extension in the URL (such as .css or .png or .js). The
2488 plugin uses the lightweight MIME::Types module to map file extensions to
2489 IANA-registered MIME types, and will serve your static files with the correct
2490 MIME type directly to the browser, without being processed through Catalyst.")
2491 (license license:perl-license)))
2493 (define-public perl-catalyst-runtime
2495 (name "perl-catalyst-runtime")
2500 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2501 "Catalyst-Runtime-" version ".tar.gz"))
2504 "001yk1i0xwn4v308qx15nvnp6v9qfdigdlvz1rgw5zpnq7kwnq1a"))))
2505 (build-system perl-build-system)
2507 `(("perl-test-fatal" ,perl-test-fatal)))
2509 `(("perl-cgi-simple" ,perl-cgi-simple)
2510 ("perl-cgi-struct" ,perl-cgi-struct)
2511 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
2512 ("perl-class-date" ,perl-class-date)
2513 ("perl-class-load" ,perl-class-load)
2514 ("perl-data-dump" ,perl-data-dump)
2515 ("perl-http-body" ,perl-http-body)
2516 ("perl-http-message" ,perl-http-message)
2517 ("perl-json-maybexs" ,perl-json-maybexs)
2518 ("perl-libwww" ,perl-libwww)
2519 ("perl-module-pluggable" ,perl-module-pluggable)
2520 ("perl-moose" ,perl-moose)
2521 ("perl-moosex-emulate-class-accessor-fast"
2522 ,perl-moosex-emulate-class-accessor-fast)
2523 ("perl-moosex-getopt" ,perl-moosex-getopt)
2524 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
2525 ("perl-namespace-clean" ,perl-namespace-clean)
2526 ("perl-path-class" ,perl-path-class)
2527 ("perl-perlio-utf8-strict" ,perl-perlio-utf8_strict)
2528 ("perl-plack" ,perl-plack)
2529 ("perl-plack-middleware-fixmissingbodyinredirect"
2530 ,perl-plack-middleware-fixmissingbodyinredirect)
2531 ("perl-plack-middleware-methodoverride"
2532 ,perl-plack-middleware-methodoverride)
2533 ("perl-plack-middleware-removeredundantbody"
2534 ,perl-plack-middleware-removeredundantbody)
2535 ("perl-plack-middleware-reverseproxy"
2536 ,perl-plack-middleware-reverseproxy)
2537 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
2538 ("perl-safe-isa" ,perl-safe-isa)
2539 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2540 ("perl-text-simpletable" ,perl-text-simpletable)
2541 ("perl-tree-simple" ,perl-tree-simple)
2542 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
2543 ("perl-try-tiny" ,perl-try-tiny)
2544 ("perl-uri" ,perl-uri)
2545 ("perl-uri-ws" ,perl-uri-ws)))
2546 (home-page "https://metacpan.org/release/Catalyst-Runtime")
2547 (synopsis "The Catalyst Framework Runtime")
2548 (description "Catalyst is a modern framework for making web applications.
2549 It is designed to make it easy to manage the various tasks you need to do to
2550 run an application on the web, either by doing them itself, or by letting you
2551 \"plug in\" existing Perl modules that do what you need.")
2552 (license license:perl-license)))
2554 (define-public perl-catalyst-traitfor-request-proxybase
2556 (name "perl-catalyst-traitfor-request-proxybase")
2557 (version "0.000005")
2561 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2562 "Catalyst-TraitFor-Request-ProxyBase-"
2566 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
2567 (build-system perl-build-system)
2569 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2570 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
2571 ("perl-http-message" ,perl-http-message)
2572 ("perl-module-install" ,perl-module-install)))
2574 `(("perl-moose" ,perl-moose)
2575 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2576 ("perl-uri" ,perl-uri)))
2578 "https://metacpan.org/release/Catalyst-TraitFor-Request-ProxyBase")
2579 (synopsis "Replace request base with value passed by HTTP proxy")
2580 (description "This module is a Moose::Role which allows you more
2581 flexibility in your application's deployment configurations when deployed
2582 behind a proxy. Using this module, the request base ($c->req->base) is
2583 replaced with the contents of the X-Request-Base header.")
2584 (license license:perl-license)))
2586 (define-public perl-catalyst-view-download
2588 (name "perl-catalyst-view-download")
2593 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
2594 "Catalyst-View-Download-" version ".tar.gz"))
2597 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
2598 (build-system perl-build-system)
2600 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2601 ("perl-module-install" ,perl-module-install)
2602 ("perl-test-simple" ,perl-test-simple)
2603 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
2604 ("perl-text-csv" ,perl-text-csv)
2605 ("perl-xml-simple" ,perl-xml-simple)))
2606 (home-page "https://metacpan.org/release/Catalyst-View-Download")
2607 (synopsis "Download data in many formats")
2608 (description "The purpose of this module is to provide a method for
2609 downloading data into many supportable formats. For example, downloading a
2610 table based report in a variety of formats (CSV, HTML, etc.).")
2611 (license license:perl-license)))
2613 (define-public perl-catalyst-view-json
2615 (name "perl-catalyst-view-json")
2620 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2621 "Catalyst-View-JSON-" version ".tar.gz"))
2624 "1v4xkzazs743sc7cd1kxkbi99cf00a4dadyyancckcbpi9p3znn5"))))
2625 (build-system perl-build-system)
2627 `(("perl-module-install" ,perl-module-install)
2628 ("perl-yaml" ,perl-yaml)))
2630 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2631 ("perl-json-maybexs" ,perl-json-maybexs)
2632 ("perl-mro-compat" ,perl-mro-compat)))
2633 (home-page "https://metacpan.org/release/Catalyst-View-JSON")
2634 (synopsis "Catalyst JSON view")
2635 (description "Catalyst::View::JSON is a Catalyst View handler that returns
2636 stash data in JSON format.")
2637 (license license:perl-license)))
2639 (define-public perl-catalyst-view-tt
2641 (name "perl-catalyst-view-tt")
2646 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2647 "Catalyst-View-TT-" version ".tar.gz"))
2649 (base32 "0jzgpkgq5pwq82zlb0nykdyk40dfpsyn9ilz91d0wpixgi9i5pr8"))))
2650 (build-system perl-build-system)
2652 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2653 ("perl-class-accessor" ,perl-class-accessor)
2654 ("perl-data-dump" ,perl-data-dump)
2655 ("perl-mro-compat" ,perl-mro-compat)
2656 ("perl-path-class" ,perl-path-class)
2657 ("perl-template-timer" ,perl-template-timer)
2658 ("perl-template-toolkit" ,perl-template-toolkit)))
2659 (home-page "https://metacpan.org/release/Catalyst-View-TT")
2660 (synopsis "Template View Class")
2661 (description "This module is a Catalyst view class for the Template
2663 (license license:perl-license)))
2665 (define-public perl-catalystx-component-traits
2667 (name "perl-catalystx-component-traits")
2672 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
2673 "CatalystX-Component-Traits-" version ".tar.gz"))
2676 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
2677 (build-system perl-build-system)
2679 `(("perl-moose" ,perl-moose)
2680 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2681 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
2683 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2684 ("perl-class-load" ,perl-class-load)
2685 ("perl-moose" ,perl-moose)
2686 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
2687 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2688 ("perl-list-moreutils" ,perl-list-moreutils)))
2689 (home-page "https://metacpan.org/release/CatalystX-Component-Traits")
2690 (synopsis "Trait Loading and Resolution for Catalyst Components")
2691 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
2692 Catalyst component base class that reads the optional \"traits\" parameter
2693 from app and component config and instantiates the component subclass with
2694 those traits using \"new_with_traits\" in MooseX::Traits from
2695 MooseX::Traits::Pluggable.")
2696 (license license:perl-license)))
2698 (define-public perl-catalystx-roleapplicator
2700 (name "perl-catalystx-roleapplicator")
2705 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
2706 "CatalystX-RoleApplicator-" version ".tar.gz"))
2709 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
2710 (build-system perl-build-system)
2712 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2713 ("perl-moose" ,perl-moose)
2714 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
2715 (home-page "https://metacpan.org/release/CatalystX-RoleApplicator")
2716 (synopsis "Apply roles to Catalyst classes")
2717 (description "CatalystX::RoleApplicator applies roles to Catalyst
2718 application classes.")
2719 (license license:perl-license)))
2721 (define-public perl-catalystx-script-server-starman
2723 (name "perl-catalystx-script-server-starman")
2728 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
2729 "CatalystX-Script-Server-Starman-"
2733 "08jvibq4v8xjj0c3cr93h0w8w0c88ajwjn37xjy7ygxl9krlffp6"))))
2734 (build-system perl-build-system)
2736 `(("perl-module-install" ,perl-module-install)
2737 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2739 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2740 ("perl-moose" ,perl-moose)
2741 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2742 ("starman" ,starman)))
2743 (home-page "https://metacpan.org/release/CatalystX-Script-Server-Starman")
2744 (synopsis "Catalyst development server with Starman")
2745 (description "This module provides a Catalyst extension to replace the
2746 development server with Starman.")
2747 (license license:perl-license)))
2749 (define-public perl-cgi
2756 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
2757 "CGI-" version ".tar.gz"))
2759 (base32 "02k0p8zwbn0fz9r39rg8jvbmky8fwdg6kznklzk557rg07kiblhb"))))
2760 (build-system perl-build-system)
2762 `(("perl-test-deep" ,perl-test-deep)
2763 ("perl-test-nowarnings" ,perl-test-nowarnings)
2764 ("perl-test-warn" ,perl-test-warn)))
2766 `(("perl-html-parser" ,perl-html-parser)))
2767 (home-page "https://metacpan.org/release/CGI")
2768 (synopsis "Handle Common Gateway Interface requests and responses")
2769 (description "CGI.pm is a stable, complete and mature solution for
2770 processing and preparing HTTP requests and responses. Major features include
2771 processing form submissions, file uploads, reading and writing cookies, query
2772 string generation and manipulation, and processing and preparing HTTP
2774 (license license:perl-license)))
2776 (define-public perl-cgi-formbuilder
2778 (name "perl-cgi-formbuilder")
2784 "https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/"
2785 "CGI-FormBuilder-" version ".tar.gz"))
2788 "163ixq9kninqq094z2rnkg9pv3bcmvjphlww4vksfrzhq3h9pjdf"))))
2789 (build-system perl-build-system)
2790 (inputs `(("perl-cgi" ,perl-cgi)))
2792 "https://metacpan.org/release/CGI-FormBuilder")
2794 "Generate and process stateful forms")
2796 "@code{CGI::FormBuilder} provides an easy way to generate and process CGI
2797 form-based applications.")
2798 (license license:perl-license)))
2800 (define-public perl-cgi-session
2802 (name "perl-cgi-session")
2808 "mirror://cpan/authors/id/M/MA/MARKSTOS/CGI-Session-"
2813 "1xsl2pz1jrh127pq0b01yffnj4mnp9nvkp88h5mndrscq9hn8xa6"))))
2814 (build-system perl-build-system)
2816 `(("perl-module-build" ,perl-module-build)))
2817 (inputs `(("perl-cgi" ,perl-cgi)))
2819 "https://metacpan.org/release/CGI-Session")
2821 "Persistent session data in CGI applications")
2823 "@code{CGI::Session} provides modular session management system across
2825 (license license:perl-license)))
2827 (define-public perl-cgi-simple
2829 (name "perl-cgi-simple")
2834 (uri (string-append "mirror://cpan/authors/id/M/MA/MANWAR/"
2835 "CGI-Simple-" version ".tar.gz"))
2837 (base32 "13c7iwnnavky10ab87pi8jc1kqph03s0rhvj7myn7szhbfisc4gn"))))
2838 (build-system perl-build-system)
2840 `(("perl-io-stringy" ,perl-io-stringy) ; for IO::Scalar
2841 ("perl-module-build" ,perl-module-build)
2842 ("perl-test-exception" ,perl-test-exception)
2843 ("perl-test-nowarnings" ,perl-test-nowarnings)))
2844 (home-page "https://metacpan.org/release/CGI-Simple")
2845 (synopsis "CGI interface that is CGI.pm compliant")
2846 (description "CGI::Simple provides a relatively lightweight drop in
2847 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
2848 parameter parsing, file upload, cookie handling and header generation.")
2849 (license license:perl-license)))
2851 (define-public perl-cgi-struct
2853 (name "perl-cgi-struct")
2858 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
2859 "CGI-Struct-" version ".tar.gz"))
2862 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
2863 (build-system perl-build-system)
2865 `(("perl-test-deep" ,perl-test-deep)))
2866 (home-page "https://metacpan.org/release/CGI-Struct")
2867 (synopsis "Build structures from CGI data")
2868 (description "This is a module for building structured data from CGI
2869 inputs, in a manner reminiscent of how PHP does.")
2870 (license license:bsd-2)))
2872 (define-public perl-datetime-format-http
2874 (name "perl-datetime-format-http")
2879 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
2880 "DateTime-Format-HTTP-" version ".tar.gz"))
2883 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
2884 (build-system perl-build-system)
2886 `(("perl-module-build" ,perl-module-build)))
2888 `(("perl-datetime" ,perl-datetime)
2889 ("perl-http-date" ,perl-http-date)))
2890 (home-page "https://metacpan.org/release/DateTime-Format-HTTP")
2891 (synopsis "Date conversion routines")
2892 (description "This module provides functions that deal with the date
2893 formats used by the HTTP protocol.")
2894 (license license:perl-license)))
2896 (define-public perl-digest-md5-file
2898 (name "perl-digest-md5-file")
2903 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
2904 "Digest-MD5-File-" version ".tar.gz"))
2907 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
2908 (build-system perl-build-system)
2910 `(("perl-libwww" ,perl-libwww)))
2911 (home-page "https://metacpan.org/release/Digest-MD5-File")
2912 (synopsis "MD5 sums for files and urls")
2913 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
2914 for files and urls.")
2915 (license license:perl-license)))
2917 (define-public perl-encode-locale
2919 (name "perl-encode-locale")
2924 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
2928 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
2929 (build-system perl-build-system)
2930 (license license:perl-license)
2931 (synopsis "Perl locale encoding determination")
2933 "The POSIX locale system is used to specify both the language
2934 conventions requested by the user and the preferred character set to
2935 consume and output. The Encode::Locale module looks up the charset and
2936 encoding (called a CODESET in the locale jargon) and arranges for the
2937 Encode module to know this encoding under the name \"locale\". It means
2938 bytes obtained from the environment can be converted to Unicode strings
2939 by calling Encode::encode(locale => $bytes) and converted back again
2940 with Encode::decode(locale => $string).")
2941 (home-page "https://metacpan.org/release/Encode-Locale")))
2943 (define-public perl-feed-find
2945 (name "perl-feed-find")
2949 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
2950 "Feed-Find-" version ".tar.gz"))
2953 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
2954 (build-system perl-build-system)
2956 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
2959 (modify-phases %standard-phases
2960 (add-after 'unpack 'set-env
2961 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
2963 `(("perl-class-errorhandler" ,perl-class-errorhandler)
2964 ("perl-html-parser" ,perl-html-parser)
2965 ("perl-libwww" ,perl-libwww)
2966 ("perl-uri" ,perl-uri)))
2967 (home-page "https://metacpan.org/release/Feed-Find")
2968 (synopsis "Syndication feed auto-discovery")
2969 (description "@code{Feed::Find} implements feed auto-discovery for finding
2970 syndication feeds, given a URI. It will discover the following feed formats:
2971 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
2972 (license license:perl-license)))
2974 (define-public perl-file-listing
2976 (name "perl-file-listing")
2981 "mirror://cpan/authors/id/P/PL/PLICEASE/File-Listing-"
2985 "0vmzw1mhv580flzkla80gvwfpficnhlbqr1dnlf9x50bw7n18k62"))))
2986 (build-system perl-build-system)
2988 `(("perl-http-date" ,perl-http-date)))
2989 (license license:perl-license)
2990 (synopsis "Perl directory listing parser")
2992 "The File::Listing module exports a single function called parse_dir(),
2993 which can be used to parse directory listings.")
2994 (home-page "https://metacpan.org/release/File-Listing")))
2996 (define-public perl-finance-quote
2998 (name "perl-finance-quote")
3003 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
3004 "Finance-Quote-" version ".tar.gz"))
3006 (base32 "0gzbq85738f299jaw4nj3ljnka380j2y6yspmyl71rgfypqjvbr7"))
3007 (patches (search-patches
3008 "perl-finance-quote-unuse-mozilla-ca.patch"))))
3009 (build-system perl-build-system)
3011 `(("perl-cgi" ,perl-cgi)
3012 ("perl-datetime" ,perl-datetime)
3013 ("perl-html-parser" ,perl-html-parser)
3014 ("perl-html-tableextract" ,perl-html-tableextract)
3015 ("perl-html-tree" ,perl-html-tree)
3016 ("perl-http-cookies" ,perl-http-cookies)
3017 ("perl-http-message" ,perl-http-message)
3018 ("perl-json" ,perl-json)
3019 ("perl-libwww" ,perl-libwww)
3020 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
3021 ("perl-uri" ,perl-uri)))
3022 (home-page "https://metacpan.org/release/Finance-Quote")
3023 (synopsis "Stock and mutual fund quotes")
3025 "Finance::Quote gets stock quotes from various internet sources, including
3026 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
3027 (license license:gpl2)))
3029 (define-public perl-gssapi
3031 (name "perl-gssapi")
3036 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
3037 "GSSAPI-" version ".tar.gz"))
3040 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
3041 (build-system perl-build-system)
3042 (inputs `(("gssapi" ,mit-krb5)))
3044 `(#:make-maker-flags
3045 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
3046 (home-page "https://metacpan.org/release/GSSAPI")
3047 (synopsis "Perl extension providing access to the GSSAPIv2 library")
3048 (description "This is a Perl extension for using GSSAPI C bindings as
3049 described in RFC 2744.")
3050 (license license:perl-license)))
3052 (define-public perl-html-element-extended
3054 (name "perl-html-element-extended")
3059 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
3060 "HTML-Element-Extended-" version ".tar.gz"))
3063 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
3064 (build-system perl-build-system)
3066 `(("perl-html-tree" ,perl-html-tree)))
3067 (home-page "https://metacpan.org/release/HTML-Element-Extended")
3068 (synopsis "Manipulate tables of HTML::Element")
3070 "HTML::Element::Extended is a Perl extension for manipulating a table
3071 composed of HTML::Element style components.")
3072 (license license:perl-license)))
3074 (define-public perl-html-form
3076 (name "perl-html-form")
3081 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3082 "HTML-Form-" version ".tar.gz"))
3084 (base32 "14i4ldyvdvhdhvfhh9kiq6z853q2f84biq8vcpv1k5w2r80wdiin"))))
3085 (build-system perl-build-system)
3087 `(("perl-html-parser" ,perl-html-parser)
3088 ("perl-html-tagset" ,perl-html-tagset)
3089 ("perl-http-message" ,perl-http-message)
3090 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
3091 ("perl-uri" ,perl-uri)))
3092 (home-page "https://metacpan.org/release/HTML-Form")
3093 (synopsis "Perl class representing an HTML form element")
3094 (description "Objects of the HTML::Form class represents a single HTML
3095 <form> ... </form> instance.")
3096 (license license:perl-license)))
3098 (define-public perl-html-scrubber
3100 (name "perl-html-scrubber")
3106 "mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
3111 "06p7w4zd42b2yh541mlzyqj40lwmvvn3fyqi8big4mf34la7m2jm"))))
3112 (build-system perl-build-system)
3114 `(("perl-module-build" ,perl-module-build)
3115 ("perl-test-cpan-meta" ,perl-test-cpan-meta)
3116 ("perl-test-differences" ,perl-test-differences)
3117 ("perl-test-eol" ,perl-test-eol)
3118 ("perl-test-memory-cycle" ,perl-test-memory-cycle)
3119 ("perl-test-notabs" ,perl-test-notabs)))
3121 `(("perl-html-parser" ,perl-html-parser)))
3123 "https://metacpan.org/release/HTML-Scrubber")
3125 "Perl extension for scrubbing/sanitizing html")
3127 "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
3128 (license license:perl-license)))
3130 (define-public perl-html-lint
3132 (name "perl-html-lint")
3137 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3138 "HTML-Lint-" version ".tar.gz"))
3140 (base32 "0lk02xpfxcg7ij4dvpsa4wjlzhmiizj0jfr3rwmdpbj69nvc93br"))))
3141 (build-system perl-build-system)
3143 `(("perl-html-parser" ,perl-html-parser)
3144 ("perl-html-tagset" ,perl-html-tagset)
3145 ("perl-libwww" ,perl-libwww)))
3146 (home-page "https://metacpan.org/release/HTML-Lint")
3147 (synopsis "Check for HTML errors in a string or file")
3148 (description "HTML::Lint is a pure-Perl HTML parser and checker for
3149 syntactic legitmacy.")
3150 (license license:artistic2.0)))
3152 (define-public perl-html-tableextract
3154 (name "perl-html-tableextract")
3159 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
3160 "HTML-TableExtract-" version ".tar.gz"))
3163 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
3164 (build-system perl-build-system)
3166 `(("perl-html-element-extended" ,perl-html-element-extended)
3167 ("perl-html-parser" ,perl-html-parser)))
3168 (home-page "https://metacpan.org/release/HTML-TableExtract")
3169 (synopsis "Extract contents from HTML tables")
3171 "HTML::TableExtract is a Perl module for extracting the content contained
3172 in tables within an HTML document, either as text or encoded element trees.")
3173 (license license:perl-license)))
3175 (define-public perl-html-tree
3177 (name "perl-html-tree")
3182 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
3183 "HTML-Tree-" version ".tar.gz"))
3186 "1gyvm4qlwm9y6hczkpnrdfl303ggbybr0nqxdjw09hii8yw4sdzh"))))
3187 (build-system perl-build-system)
3189 `(("perl-module-build" ,perl-module-build)
3190 ("perl-test-fatal" ,perl-test-fatal)))
3192 `(("perl-html-parser" ,perl-html-parser)
3193 ("perl-html-tagset" ,perl-html-tagset)
3194 ("perl-libwww" ,perl-libwww)))
3195 (home-page "https://metacpan.org/release/HTML-Tree")
3196 (synopsis "Work with HTML in a DOM-like tree structure")
3197 (description "This distribution contains a suite of modules for
3198 representing, creating, and extracting information from HTML syntax trees.")
3199 (license license:perl-license)))
3201 (define-public perl-html-parser
3203 (name "perl-html-parser")
3208 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
3212 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
3213 (build-system perl-build-system)
3215 `(("perl-html-tagset" ,perl-html-tagset)
3216 ("perl-http-message" ,perl-http-message)))
3217 (license license:perl-license)
3218 (synopsis "Perl HTML parser class")
3220 "Objects of the HTML::Parser class will recognize markup and separate
3221 it from plain text (alias data content) in HTML documents. As different
3222 kinds of markup and text are recognized, the corresponding event handlers
3224 (home-page "https://metacpan.org/release/HTML-Parser")))
3226 (define-public perl-html-tagset
3228 (name "perl-html-tagset")
3233 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
3237 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
3238 (build-system perl-build-system)
3239 (license license:perl-license)
3240 (synopsis "Perl data tables useful in parsing HTML")
3242 "The HTML::Tagset module contains several data tables useful in various
3243 kinds of HTML parsing operations.")
3244 (home-page "https://metacpan.org/release/HTML-Tagset")))
3246 (define-public perl-html-template
3248 (name "perl-html-template")
3252 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
3253 "HTML-Template-" version ".tar.gz"))
3256 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
3257 (build-system perl-build-system)
3259 `(("perl-cgi" ,perl-cgi)))
3260 (home-page "https://metacpan.org/release/HTML-Template")
3261 (synopsis "HTML-like templates")
3263 "This module attempts to make using HTML templates simple and natural.
3264 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
3265 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
3266 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
3267 these new tags is called a template. Using this module you fill in the values
3268 for the variables, loops and branches declared in the template. This allows
3269 you to separate design from the data.")
3270 (license license:perl-license)))
3272 (define-public perl-http-body
3274 (name "perl-http-body")
3279 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
3280 "HTTP-Body-" version ".tar.gz"))
3283 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
3284 (build-system perl-build-system)
3286 `(("perl-test-deep" ,perl-test-deep)))
3288 `(("perl-file-temp" ,perl-file-temp)
3289 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
3290 (home-page "https://metacpan.org/release/HTTP-Body")
3291 (synopsis "HTTP Body Parser")
3292 (description "HTTP::Body parses chunks of HTTP POST data and supports
3293 application/octet-stream, application/json, application/x-www-form-urlencoded,
3294 and multipart/form-data.")
3295 (license license:perl-license)))
3297 (define-public perl-http-cookiejar
3299 (name "perl-http-cookiejar")
3304 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3305 "HTTP-CookieJar-" version ".tar.gz"))
3307 (base32 "1l7mqsca4fmls7agzwmp6yq1x16y9jwq4114i6i75n654gl37qsn"))))
3308 (build-system perl-build-system)
3310 `(("perl-test-deep" ,perl-test-deep)
3311 ("perl-test-requires" ,perl-test-requires)
3312 ("perl-time-mock" ,perl-time-mock)
3313 ("perl-uri" ,perl-uri)))
3315 `(("perl-time-local" ,perl-time-local)
3316 ("perl-http-date" ,perl-http-date)))
3317 (home-page "https://metacpan.org/release/HTTP-CookieJar")
3318 (synopsis "Minimalist HTTP user agent cookie jar")
3319 (description "This module implements a minimalist HTTP user agent cookie
3320 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
3321 (license license:asl2.0)))
3323 (define-public perl-http-cookies
3325 (name "perl-http-cookies")
3330 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Cookies-"
3334 "13rnz3233vbsfariya4njiyfaj6k94j6bvlyh3dmfmh24hpqgx77"))))
3335 (build-system perl-build-system)
3337 `(("perl-http-message" ,perl-http-message)))
3338 (license license:perl-license)
3339 (synopsis "Perl HTTP cookie jars")
3341 "The HTTP::Cookies class is for objects that represent a cookie jar,
3342 that is, a database of all the HTTP cookies that a given LWP::UserAgent
3343 object knows about.")
3344 (home-page "https://metacpan.org/release/GAAS/HTTP-Cookies-6.01")))
3346 (define-public perl-http-daemon
3348 (name "perl-http-daemon")
3353 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
3357 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
3358 (build-system perl-build-system)
3360 `(("perl-http-message" ,perl-http-message)
3361 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
3362 (license license:perl-license)
3363 (synopsis "Perl simple http server class")
3365 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
3366 on a socket for incoming requests. The HTTP::Daemon is a subclass of
3367 IO::Socket::INET, so you can perform socket operations directly on it too.")
3368 (home-page "https://metacpan.org/release/HTTP-Daemon")))
3370 (define-public perl-http-date
3372 (name "perl-http-date")
3377 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Date-"
3381 "0awjdbz7x0jd5pna55dwxhs3k6xp3sw6b2zg3p2yndxxvya64p9n"))))
3382 (build-system perl-build-system)
3383 (license license:perl-license)
3384 (synopsis "Perl date conversion routines")
3386 "The HTTP::Date module provides functions that deal with date formats
3387 used by the HTTP protocol (and then some more).")
3388 (home-page "https://metacpan.org/release/HTTP-Date")))
3390 (define-public perl-http-lite
3392 (name "perl-http-lite")
3398 "mirror://cpan/authors/id/N/NE/NEILB/HTTP-Lite-"
3402 "0z77nflj8zdcfg70kc93glq5kmd6qxn2nf7h70x4xhfg25wkvr1q"))))
3403 (build-system perl-build-system)
3404 (native-inputs `(("perl-cgi" ,perl-cgi)))
3405 (home-page "https://metacpan.org/release/HTTP-Lite")
3406 (synopsis "Lightweight HTTP implementation")
3407 (description "@code{HTTP::Lite} is a stand-alone lightweight
3408 HTTP/1.1 implementation for perl. It is intended for use in
3409 situations where it is desirable to install the minimal number of
3410 modules to achieve HTTP support. @code{HTTP::Lite} is ideal for
3411 CGI (or mod_perl) programs or for bundling for redistribution with
3412 larger packages where only HTTP GET and POST functionality are
3413 necessary. @code{HTTP::Lite} is compliant with the Host header,
3414 necessary for name based virtual hosting, and supports proxies.
3415 Additionally, @code{HTTP::Lite} supports a callback to allow
3416 processing of request data as it arrives.")
3417 (license license:perl-license)))
3419 (define-public perl-http-message
3421 (name "perl-http-message")
3426 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Message-"
3430 "04lih0fn89jpyk74c4aq1rzq18h8v4zd3x0lik2r9dl8sdqd2q6h"))))
3431 (build-system perl-build-system)
3433 `(("perl-try-tiny" ,perl-try-tiny)))
3435 `(("perl-encode-locale" ,perl-encode-locale)
3436 ("perl-http-date" ,perl-http-date)
3437 ("perl-io-html" ,perl-io-html)
3438 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
3439 ("perl-uri" ,perl-uri)))
3440 (license license:perl-license)
3441 (synopsis "Perl HTTP style message")
3443 "An HTTP::Message object contains some headers and a content body.")
3444 (home-page "https://metacpan.org/release/ETHER/HTTP-Message-6.11")))
3446 (define-public perl-http-negotiate
3448 (name "perl-http-negotiate")
3453 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
3457 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
3458 (build-system perl-build-system)
3460 `(("perl-http-message" ,perl-http-message)))
3461 (license license:perl-license)
3462 (synopsis "Perl http content negotiation")
3464 "The HTTP::Negotiate module provides a complete implementation of the
3465 HTTP content negotiation algorithm specified in
3466 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
3467 the selection of a preferred content representation based upon attributes
3468 of the negotiable variants and the value of the various Accept* header
3469 fields in the request.")
3470 (home-page "https://metacpan.org/release/HTTP-Negotiate")))
3472 (define-public perl-http-parser
3474 (name "perl-http-parser")
3479 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
3480 "HTTP-Parser-" version ".tar.gz"))
3483 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
3484 (build-system perl-build-system)
3486 `(("perl-http-message" ,perl-http-message)
3487 ("perl-uri" ,perl-uri)))
3488 (home-page "https://metacpan.org/release/HTTP-Parser")
3489 (synopsis "Parse HTTP/1.1 requests")
3490 (description "This is an HTTP request parser. It takes chunks of text as
3491 received and returns a @code{hint} as to what is required, or returns the
3492 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
3494 (license license:perl-license)))
3496 (define-public perl-http-parser-xs
3498 (name "perl-http-parser-xs")
3503 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
3504 "HTTP-Parser-XS-" version ".tar.gz"))
3507 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
3508 (build-system perl-build-system)
3510 `(("perl-module-install" ,perl-module-install)))
3511 (home-page "https://metacpan.org/release/HTTP-Parser-XS")
3512 (synopsis "Fast HTTP request parser")
3513 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
3515 (license license:perl-license)))
3517 (define-public perl-http-request-ascgi
3519 (name "perl-http-request-ascgi")
3524 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3525 "HTTP-Request-AsCGI-" version ".tar.gz"))
3528 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
3529 (build-system perl-build-system)
3531 `(("perl-class-accessor" ,perl-class-accessor)
3532 ("perl-http-message" ,perl-http-message)))
3533 (home-page "https://metacpan.org/release/HTTP-Request-AsCGI")
3534 (synopsis "Set up a CGI environment from an HTTP::Request")
3535 (description "This module provides a convenient way to set up a CGI
3536 environment from an HTTP::Request.")
3537 (license license:perl-license)))
3539 (define-public perl-http-server-simple
3541 (name "perl-http-server-simple")
3546 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
3547 "HTTP-Server-Simple-" version ".tar.gz"))
3550 "0k6bg7k6mjixfzxdkkdrhqvaqmdhjszx0zsk8g0bimiby6j9z4yq"))))
3551 (build-system perl-build-system)
3553 `(("perl-cgi" ,perl-cgi)))
3555 ;; See the discussion of a related tests issue at
3556 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
3559 #:phases (modify-phases %standard-phases
3560 (add-before 'configure 'set-search-path
3562 ;; Work around "dotless @INC" build failure.
3564 (string-append (getcwd) ":"
3565 (getenv "PERL5LIB")))
3567 (home-page "https://metacpan.org/release/HTTP-Server-Simple")
3568 (synopsis "Lightweight HTTP server")
3569 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
3570 no non-core module dependencies. It can be used for building a standalone
3571 http-based UI to your existing tools.")
3572 (license license:perl-license)))
3574 (define-public perl-http-tiny
3576 (name "perl-http-tiny")
3581 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3582 "HTTP-Tiny-" version ".tar.gz"))
3585 "11wkxxqj3ff84rgj9q2gzkdgscwp3fzj205846k9ycqinlpsmgfx"))))
3586 (build-system perl-build-system)
3588 `(("perl-http-cookiejar" ,perl-http-cookiejar)
3589 ("perl-io-socket-ip" ,perl-io-socket-ip)
3590 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
3591 ("perl-mozilla-ca" ,perl-mozilla-ca)
3592 ("perl-net-ssleay" ,perl-net-ssleay)))
3593 (home-page "https://metacpan.org/release/HTTP-Tiny")
3594 (synopsis "HTTP/1.1 client")
3595 (description "This is a very simple HTTP/1.1 client, designed for doing
3596 simple requests without the overhead of a large framework like LWP::UserAgent.
3597 It supports proxies and redirection. It also correctly resumes after EINTR.")
3598 (license license:perl-license)))
3600 (define-public perl-http-tinyish
3602 (name "perl-http-tinyish")
3608 "mirror://cpan/authors/id/M/MI/MIYAGAWA/HTTP-Tinyish-"
3613 "199sa722amvwhq0czjfb7psj3hbqmvni5vxkrm579r5943pg0rax"))))
3614 (build-system perl-build-system)
3616 `(("perl-file-which" ,perl-file-which)
3617 ("perl-ipc-run3" ,perl-ipc-run3)))
3618 (home-page "https://metacpan.org/release/HTTP-Tinyish")
3619 (synopsis "@code{HTTP::Tiny} compatible HTTP client wrappers")
3621 "@code{HTTP::Tinyish} is a wrapper module for @acronym{LWP,libwww-perl},
3622 @code{HTTP::Tiny}, curl and wget.
3624 It provides an API compatible to HTTP::Tiny.")
3625 (license license:perl-license)))
3627 (define-public perl-io-html
3629 (name "perl-io-html")
3634 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
3638 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
3639 (build-system perl-build-system)
3640 (license license:perl-license)
3641 (synopsis "Perl module to open an HTML file with automatic charset detection")
3643 "IO::HTML provides an easy way to open a file containing HTML while
3644 automatically determining its encoding. It uses the HTML5 encoding sniffing
3645 algorithm specified in section 8.2.2.1 of the draft standard.")
3646 (home-page "https://metacpan.org/release/IO-HTML")))
3648 (define-public perl-io-socket-ip
3650 (name "perl-io-socket-ip")
3655 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
3656 "IO-Socket-IP-" version ".tar.gz"))
3658 (base32 "0ihlpxrkq1xrvhnq52nhghanskic718ch8kpp642afgq72i4b6l4"))))
3659 (build-system perl-build-system)
3660 (native-inputs `(("perl-module-build" ,perl-module-build)))
3661 (home-page "https://metacpan.org/release/IO-Socket-IP")
3662 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
3663 (description "This module provides a protocol-independent way to use IPv4
3664 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
3665 (license license:perl-license)))
3667 (define-public perl-io-socket-ssl
3669 (name "perl-io-socket-ssl")
3673 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
3674 "IO-Socket-SSL-" version ".tar.gz"))
3677 "1kgbws7dwp2hh16qid7169dfkhmcwg7dz9ffbm6k0id5h53hciqd"))
3678 (patches (search-patches
3679 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
3680 (build-system perl-build-system)
3682 `(("perl-net-ssleay" ,perl-net-ssleay)
3684 ("perl-uri" ,perl-uri)))
3685 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
3687 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
3688 necessary functionality into the familiar IO::Socket interface and providing
3689 secure defaults whenever possible. This way existing applications can be made
3690 SSL-aware without much effort, at least if you do blocking I/O and don't use
3692 (license license:perl-license)
3693 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
3695 (define-public perl-libwww
3697 (name "perl-libwww")
3702 "mirror://cpan/authors/id/O/OA/OALDERS/libwww-perl-"
3706 "19k0cg4j4qz005a4ngy48z4r8dc99dxlpq8kvj7qnk15mvgd1r63"))))
3707 (build-system perl-build-system)
3709 `(("perl-test-fatal" ,perl-test-fatal)
3710 ("perl-test-needs" ,perl-test-needs)
3711 ("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3713 `(("perl-encode-locale" ,perl-encode-locale)
3714 ("perl-file-listing" ,perl-file-listing)
3715 ("perl-html-parser" ,perl-html-parser)
3716 ("perl-http-cookies" ,perl-http-cookies)
3717 ("perl-http-daemon" ,perl-http-daemon)
3718 ("perl-http-date" ,perl-http-date)
3719 ("perl-http-message" ,perl-http-message)
3720 ("perl-http-negotiate" ,perl-http-negotiate)
3721 ("perl-net-http" ,perl-net-http)
3722 ("perl-try-tiny" ,perl-try-tiny)
3723 ("perl-uri" ,perl-uri)
3724 ("perl-www-robotrules" ,perl-www-robotrules)))
3725 (license license:perl-license)
3726 (synopsis "Perl modules for the WWW")
3728 "The libwww-perl collection is a set of Perl modules which provides a
3729 simple and consistent application programming interface to the
3730 World-Wide Web. The main focus of the library is to provide classes
3731 and functions that allow you to write WWW clients. The library also
3732 contains modules that are of more general use and even classes that
3733 help you implement simple HTTP servers.")
3734 (home-page "https://metacpan.org/release/libwww-perl")))
3736 (define-public perl-lwp-online
3738 (name "perl-lwp-online")
3744 "mirror://cpan/authors/id/A/AD/ADAMK/LWP-Online-"
3748 "176f6vbk1018i0y7xj9d406ndbjgwzan2j9nihxnsahzg2vr2vz2"))))
3749 (build-system perl-build-system)
3751 `(("perl-libwww" ,perl-libwww)
3752 ("perl-uri" ,perl-uri)))
3754 `(("perl-module-install" ,perl-module-install)))
3755 (home-page "https://metacpan.org/release/LWP-Online")
3756 (synopsis "Checks whether your process has access to the web")
3757 (description "This module attempts to answer, as accurately as it can, one
3758 of the nastiest technical questions there is: am I on the internet?
3760 A host of networking and security issues make this problem very difficult.
3761 There are firewalls, proxies (both well behaved and badly behaved). We might
3762 not have DNS. We might not have a network card at all!")
3763 (license license:perl-license)))
3765 (define-public perl-lwp-mediatypes
3767 (name "perl-lwp-mediatypes")
3772 "mirror://cpan/authors/id/O/OA/OALDERS/LWP-MediaTypes-"
3776 "1n8rg6csv3dsvymg06cmxipimr6cb1g9r903ghm1qsmiv89cl6wg"))))
3777 (build-system perl-build-system)
3779 `(("perl-test-fatal" ,perl-test-fatal)))
3780 (license license:perl-license)
3781 (synopsis "Perl module to guess the media type for a file or a URL")
3783 "The LWP::MediaTypes module provides functions for handling media (also
3784 known as MIME) types and encodings. The mapping from file extensions to
3785 media types is defined by the media.types file. If the ~/.media.types file
3786 exists it is used instead.")
3787 (home-page "https://metacpan.org/release/LWP-MediaTypes")))
3789 (define-public perl-lwp-protocol-https
3791 (name "perl-lwp-protocol-https")
3796 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3797 "LWP-Protocol-https-" version ".tar.gz"))
3800 "1rxrpwylfw1afah0nk96kgkwjbl2p1a7lwx50iipg8c4rx3cjb2j"))))
3801 (build-system perl-build-system)
3804 `(("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3806 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3807 ("perl-libwww" ,perl-libwww)
3808 ;; Users should instead make sure SSL_ca_path is set properly.
3809 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3810 ("perl-net-http" ,perl-net-http)))
3811 (home-page "https://metacpan.org/release/LWP-Protocol-https")
3812 (synopsis "HTTPS support for LWP::UserAgent")
3813 (description "The LWP::Protocol::https module provides support for using
3814 https schemed URLs with LWP.")
3815 (license license:perl-license)))
3817 (define-public perl-lwp-useragent-cached
3819 (name "perl-lwp-useragent-cached")
3824 (uri (string-append "mirror://cpan/authors/id/O/OL/OLEG/"
3825 "LWP-UserAgent-Cached-" version ".tar.gz"))
3828 "1hw7wy7f82kl61xjwkgmhv1ixgg56dhgfr45wxn6ahc0qys5mkix"))))
3829 (build-system perl-build-system)
3831 `(("perl-libwww" ,perl-libwww)))
3832 (home-page "https://metacpan.org/release/LWP-UserAgent-Cached")
3833 (synopsis "Simple caching for LWP::UserAgent")
3834 (description "LWP::UserAgent::Cached is an LWP::UserAgent subclass with
3835 cache support. It returns responses from the local file system, if available,
3836 instead of making an HTTP request.")
3837 (license license:perl-license)))
3839 (define-public perl-lwp-useragent-determined
3841 (name "perl-lwp-useragent-determined")
3846 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
3847 "LWP-UserAgent-Determined-" version ".tar.gz"))
3850 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
3851 (build-system perl-build-system)
3853 `(("perl-libwww" ,perl-libwww)))
3854 (home-page "https://metacpan.org/release/LWP-UserAgent-Determined")
3855 (synopsis "Virtual browser that retries errors")
3856 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
3857 except that when you use it to get a web page but run into a
3858 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
3859 and retry a few times.")
3860 (license license:perl-license)))
3862 (define-public perl-lwpx-paranoidagent
3864 (name "perl-lwpx-paranoidagent")
3870 "mirror://cpan/authors/id/S/SA/SAXJAZMAN/lwp/LWPx-ParanoidAgent-"
3874 "0gfhw3jbs25yya2dryv8xvyn9myngcfcmsybj7gkq62fnznil16c"))))
3875 (build-system perl-build-system)
3877 `(("perl-libwww" ,perl-libwww)
3878 ;; Users should instead make sure SSL_ca_path is set properly.
3879 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3880 ("perl-net-dns" ,perl-net-dns)))
3881 (home-page "https://metacpan.org/release/LWPx-ParanoidAgent")
3882 (synopsis "Security enhanced subclass of LWP::UserAgent")
3883 (description "@code{LWPx::ParanoidAgent} is a class subclassing
3884 @code{LWP::UserAgent} but paranoid against attackers. Its purpose is
3885 to vet requests for a remote resource on behalf of a possibly
3886 malicious user. The class can do the same as @code{LWP::UserAgent},
3887 except that proxy support has been removed. Support for URI schemes
3888 is limited to http and https.")
3889 (license license:perl-license)))
3891 (define-public perl-net-amazon-s3
3893 (name "perl-net-amazon-s3")
3898 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
3899 "Net-Amazon-S3-" version ".tar.gz"))
3902 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
3903 (patches (search-patches
3904 "perl-net-amazon-s3-moose-warning.patch"))))
3905 (build-system perl-build-system)
3907 `(("perl-libwww" ,perl-libwww)
3908 ("perl-test-exception" ,perl-test-exception)))
3910 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
3911 ("perl-datetime-format-http" ,perl-datetime-format-http)
3912 ("perl-digest-hmac" ,perl-digest-hmac)
3913 ("perl-digest-md5-file" ,perl-digest-md5-file)
3914 ("perl-file-find-rule" ,perl-file-find-rule)
3915 ("perl-http-date" ,perl-http-date)
3916 ("perl-http-message" ,perl-http-message)
3917 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
3918 ("perl-mime-types" ,perl-mime-types)
3919 ("perl-moose" ,perl-moose)
3920 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
3921 ("perl-moosex-types-datetime-morecoercions"
3922 ,perl-moosex-types-datetime-morecoercions)
3923 ("perl-path-class" ,perl-path-class)
3924 ("perl-regexp-common" ,perl-regexp-common)
3925 ("perl-term-encoding" ,perl-term-encoding)
3926 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
3927 ("perl-uri" ,perl-uri)
3928 ("perl-xml-libxml" ,perl-xml-libxml)))
3929 (home-page "https://metacpan.org/release/Net-Amazon-S3")
3930 (synopsis "Perl interface to Amazon S3")
3931 (description "This module provides a Perlish interface to Amazon S3.")
3932 (license license:perl-license)))
3934 (define-public perl-net-http
3936 (name "perl-net-http")
3941 "mirror://cpan/authors/id/O/OA/OALDERS/"
3942 "Net-HTTP-" version ".tar.gz"))
3945 "1i1gbcwdzx74whn5vn6xbr2cp7frldfz2rfrcjp2qljr770nxdsj"))))
3946 (build-system perl-build-system)
3948 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3949 ("perl-uri" ,perl-uri)))
3950 (license license:perl-license)
3951 (synopsis "Perl low-level HTTP connection (client)")
3953 "The Net::HTTP class is a low-level HTTP client. An instance of the
3954 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
3955 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
3957 (home-page "https://metacpan.org/release/Net-HTTP")))
3959 (define-public perl-net-server
3961 (name "perl-net-server")
3966 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
3967 "Net-Server-" version ".tar.gz"))
3970 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
3971 (build-system perl-build-system)
3972 (home-page "https://metacpan.org/release/Net-Server")
3973 (synopsis "Extensible Perl server engine")
3974 (description "Net::Server is an extensible, generic Perl server engine.
3975 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
3976 It includes with it the ability to run as an inetd
3977 process (Net::Server::INET), a single connection server (Net::Server or
3978 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
3979 server which maintains a constant number of preforked
3980 children (Net::Server::PreForkSimple), or as a managed preforking server which
3981 maintains the number of children based on server load (Net::Server::PreFork).
3982 In all but the inetd type, the server provides the ability to connect to one
3983 or to multiple server ports.")
3984 (license license:perl-license)))
3986 (define-public perl-net-smtp-ssl
3988 (name "perl-net-smtp-ssl")
3993 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
3994 "Net-SMTP-SSL-" version ".tar.gz"))
3997 "001a6dcfahf7kkyirqkc8jd4fh4fkal7n7vm9c4dblqrvmdc8abv"))))
3998 (build-system perl-build-system)
4000 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
4001 (home-page "https://metacpan.org/release/Net-SMTP-SSL")
4002 (synopsis "SSL support for Net::SMTP")
4003 (description "SSL support for Net::SMTP.")
4004 (license license:perl-license)))
4006 (define-public perl-plack
4013 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4014 "Plack-" version ".tar.gz"))
4017 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
4018 (build-system perl-build-system)
4020 `(("perl-test-requires" ,perl-test-requires)
4021 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
4023 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
4024 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
4025 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
4026 ("perl-file-sharedir" ,perl-file-sharedir)
4027 ("perl-hash-multivalue" ,perl-hash-multivalue)
4028 ("perl-http-body" ,perl-http-body)
4029 ("perl-http-message" ,perl-http-message)
4030 ("perl-http-tiny" ,perl-http-tiny)
4031 ("perl-libwww" ,perl-libwww)
4032 ("perl-stream-buffered" ,perl-stream-buffered)
4033 ("perl-test-tcp" ,perl-test-tcp)
4034 ("perl-try-tiny" ,perl-try-tiny)
4035 ("perl-uri" ,perl-uri)))
4036 (home-page "https://metacpan.org/release/Plack")
4037 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
4038 (description "Plack is a set of tools for using the PSGI stack. It
4039 contains middleware components, a reference server, and utilities for Web
4040 application frameworks. Plack is like Ruby's Rack or Python's Paste for
4042 (license license:perl-license)))
4044 (define-public perl-plack-middleware-deflater
4046 (name "perl-plack-middleware-deflater")
4052 "mirror://cpan/authors/id/K/KA/KAZEBURO/"
4053 "Plack-Middleware-Deflater-" version ".tar.gz"))
4056 "0xf2visi16hgwgyp9q0cjr10ikbn474hjia5mj8mb2scvbkrbni8"))))
4057 (build-system perl-build-system)
4059 `(("perl-module-install" ,perl-module-install)
4060 ("perl-test-requires" ,perl-test-requires)))
4062 `(("perl-plack" ,perl-plack)))
4063 (home-page "https://metacpan.org/release/Plack-Middleware-Deflater")
4064 (synopsis "Compress response body with Gzip or Deflate")
4066 "Plack::Middleware::Deflater is a middleware to encode your response body
4067 in gzip or deflate, based on \"Accept-Encoding\" HTTP request header. It
4068 would save the bandwidth a little bit but should increase the Plack server
4069 load, so ideally you should handle this on the frontend reverse proxy
4071 (license license:perl-license)))
4073 (define-public perl-plack-middleware-fixmissingbodyinredirect
4075 (name "perl-plack-middleware-fixmissingbodyinredirect")
4080 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
4081 "Plack-Middleware-FixMissingBodyInRedirect-"
4085 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
4086 (build-system perl-build-system)
4088 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
4089 ("perl-http-message" ,perl-http-message)
4090 ("perl-plack" ,perl-plack))) ;for Plack::Test
4092 "https://metacpan.org/release/Plack-Middleware-FixMissingBodyInRedirect")
4093 (synopsis "Plack::Middleware which sets body for redirect response")
4094 (description "This module sets the body in redirect response, if it's not
4096 (license license:perl-license)))
4098 (define-public perl-plack-middleware-methodoverride
4100 (name "perl-plack-middleware-methodoverride")
4105 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4106 "Plack-Middleware-MethodOverride-"
4109 (base32 "1wdmmav3rbhv49zpw311zrxxqmg1fz3f3q9src0ypgs8zcp5myyv"))))
4110 (build-system perl-build-system)
4112 `(("perl-module-build" ,perl-module-build)))
4114 `(("perl-plack" ,perl-plack)))
4115 (home-page "https://metacpan.org/release/Plack-Middleware-MethodOverride")
4116 (synopsis "Override REST methods to Plack apps via POST")
4117 (description "This middleware allows for POST requests that pretend to be
4118 something else: by adding either a header named X-HTTP-Method-Override to the
4119 request, or a query parameter named x-tunneled-method to the URI, the client
4120 can say what method it actually meant.")
4121 (license license:perl-license)))
4123 (define-public perl-plack-middleware-removeredundantbody
4125 (name "perl-plack-middleware-removeredundantbody")
4130 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
4131 "Plack-Middleware-RemoveRedundantBody-"
4134 (base32 "1hz3kgb5vw4r02gfk9i911f5ykvz55lrsx45bdcllk2bszal3f34"))))
4135 (build-system perl-build-system)
4137 `(("perl-plack" ,perl-plack)))
4139 "https://metacpan.org/release/Plack-Middleware-RemoveRedundantBody")
4140 (synopsis "Plack::Middleware which removes body for HTTP response")
4141 (description "This module removes the body in an HTTP response if it's not
4143 (license license:perl-license)))
4145 (define-public perl-plack-middleware-reverseproxy
4147 (name "perl-plack-middleware-reverseproxy")
4152 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4153 "Plack-Middleware-ReverseProxy-"
4156 (base32 "0a512n62pnk5ayj3zdzyj50iy1qi8nwh6ygks2h7nrh7gp9k2jc7"))))
4157 (build-system perl-build-system)
4159 `(("perl-module-install" ,perl-module-install)))
4161 `(("perl-plack" ,perl-plack)))
4162 (home-page "https://metacpan.org/release/Plack-Middleware-ReverseProxy")
4163 (synopsis "Supports app to run as a reverse proxy backend")
4164 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
4165 which are changed by reverse-proxy. You can specify the reverse proxy address
4166 and stop fake requests using @code{enable_if} directive in your app.psgi.")
4167 (license license:perl-license)))
4169 (define-public perl-plack-test-externalserver
4171 (name "perl-plack-test-externalserver")
4176 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
4177 "Plack-Test-ExternalServer-" version ".tar.gz"))
4179 (base32 "1l1yj1l25679x7cbpd27ii7s1f1ajpkspif9xqnl21hczrbmrbsv"))))
4180 (build-system perl-build-system)
4182 `(("perl-plack" ,perl-plack)))
4183 (home-page "https://metacpan.org/release/Plack-Test-ExternalServer")
4184 (synopsis "Run HTTP tests on external live servers")
4185 (description "This module allows your to run your Plack::Test tests
4186 against an external server instead of just against a local application through
4187 either mocked HTTP or a locally spawned server.")
4188 (license license:perl-license)))
4190 (define-public perl-test-tcp
4192 (name "perl-test-tcp")
4197 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4198 "Test-TCP-" version ".tar.gz"))
4200 (base32 "0mvv9rqwrwlcfh8qrs0s47p85rhlnw15d4gbpyi802bddp0c6lry"))))
4201 (build-system perl-build-system)
4203 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
4204 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
4205 (home-page "https://metacpan.org/release/Test-TCP")
4206 (synopsis "Testing TCP programs")
4207 (description "Test::TCP is test utilities for TCP/IP programs.")
4208 (license license:perl-license)))
4210 (define-public perl-test-www-mechanize
4212 (name "perl-test-www-mechanize")
4217 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
4218 "Test-WWW-Mechanize-" version ".tar.gz"))
4220 (base32 "1jsywlbxhqw39ij7s8vmgff5vys58vlfaq27072awacnxc65aal4"))))
4221 (build-system perl-build-system)
4223 `(("perl-carp-assert-more" ,perl-carp-assert-more)
4224 ("perl-html-form" ,perl-html-form)
4225 ("perl-html-lint" ,perl-html-lint)
4226 ("perl-http-server-simple" ,perl-http-server-simple)
4227 ("perl-libwww" ,perl-libwww)
4228 ("perl-test-longstring" ,perl-test-longstring)
4229 ("perl-www-mechanize" ,perl-www-mechanize)))
4230 (home-page "https://metacpan.org/release/Test-WWW-Mechanize")
4231 (synopsis "Testing-specific WWW::Mechanize subclass")
4232 (description "Test::WWW::Mechanize is a subclass of the Perl module
4233 WWW::Mechanize that incorporates features for web application testing.")
4234 (license license:artistic2.0)))
4236 (define-public perl-test-www-mechanize-catalyst
4238 (name "perl-test-www-mechanize-catalyst")
4243 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
4244 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
4246 (base32 "1cdc2q16vs6fb335pzaislz2rx1ph9acaxyp7v5hv9xbwwddwfqq"))))
4247 (build-system perl-build-system)
4249 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
4250 ("perl-catalyst-plugin-session-state-cookie"
4251 ,perl-catalyst-plugin-session-state-cookie)
4252 ("perl-module-install" ,perl-module-install)
4253 ("perl-test-exception" ,perl-test-exception)
4254 ("perl-test-pod" ,perl-test-pod)
4255 ("perl-test-utf8" ,perl-test-utf8)))
4257 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
4258 ("perl-class-load" ,perl-class-load)
4259 ("perl-libwww" ,perl-libwww)
4260 ("perl-moose" ,perl-moose)
4261 ("perl-namespace-clean" ,perl-namespace-clean)
4262 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
4263 ("perl-www-mechanize" ,perl-www-mechanize)))
4264 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-Catalyst")
4265 (synopsis "Test::WWW::Mechanize for Catalyst")
4266 (description "The Test::WWW::Mechanize::Catalyst module meshes the
4267 Test::WWW:Mechanize module and the Catalyst web application framework to allow
4268 testing of Catalyst applications without needing to start up a web server.")
4269 (license license:perl-license)))
4271 (define-public perl-test-www-mechanize-psgi
4273 (name "perl-test-www-mechanize-psgi")
4278 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4279 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
4282 "0fsh2i05kf1kfavv2r9kmnjl7qlyqrd11ikc0qcqzzxsqzzjkg9r"))))
4283 (build-system perl-build-system)
4285 `(("perl-test-pod" ,perl-test-pod)))
4287 `(("perl-plack" ,perl-plack)
4288 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
4289 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-PSGI")
4290 (synopsis "Test PSGI programs using WWW::Mechanize")
4291 (description "PSGI is a specification to decouple web server environments
4292 from web application framework code. Test::WWW::Mechanize is a subclass of
4293 WWW::Mechanize that incorporates features for web application testing. The
4294 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
4296 (license license:perl-license)))
4298 (define-public perl-uri
4304 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4305 "URI-" version ".tar.gz"))
4308 "0gj1aj18k43kmzc3y1zhj5giinf8rksacf757r475xfna0fqxjdj"))))
4309 (build-system perl-build-system)
4312 `(("perl-test-needs" ,perl-test-needs)))
4313 (license license:perl-license)
4314 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
4316 "The URI module implements the URI class. Objects of this class
4317 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
4318 and updated by RFC 2732.")
4319 (home-page "https://metacpan.org/release/URI")))
4321 (define-public perl-uri-fetch
4323 (name "perl-uri-fetch")
4327 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
4328 "URI-Fetch-" version ".tar.gz"))
4331 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
4332 (build-system perl-build-system)
4334 `(#:tests? #f)) ; Tests require internet connection to succeed
4336 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4337 ("perl-libwww" ,perl-libwww)
4338 ("perl-uri" ,perl-uri)))
4339 (home-page "https://metacpan.org/release/URI-Fetch")
4340 (synopsis "Smart URI fetching/caching")
4341 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
4342 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
4343 and time-saving way.")
4344 (license license:perl-license)))
4346 (define-public perl-uri-find
4348 (name "perl-uri-find")
4349 (version "20160806")
4353 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
4354 "URI-Find-" version ".tar.gz"))
4357 "1mk3jv8x0mcq3ajrn9garnxd0jc7sw4pkwqi88r5apqvlljs84z2"))))
4358 (build-system perl-build-system)
4360 `(("perl-module-build" ,perl-module-build)))
4362 `(("perl-uri" ,perl-uri)))
4363 (home-page "https://metacpan.org/release/URI-Find")
4364 (synopsis "Find URIs in arbitrary text")
4365 (description "This module finds URIs and URLs (according to what URI.pm
4366 considers a URI) in plain text. It only finds URIs which include a
4367 scheme (http:// or the like), for something a bit less strict, consider
4368 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
4369 (license license:perl-license)))
4371 (define-public perl-uri-ws
4373 (name "perl-uri-ws")
4378 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
4379 "URI-ws-" version ".tar.gz"))
4382 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
4383 (build-system perl-build-system)
4385 `(("perl-uri" ,perl-uri)))
4386 (home-page "https://metacpan.org/release/URI-ws")
4387 (synopsis "WebSocket support for URI package")
4388 (description "With this module, the URI package provides the same set of
4389 methods for WebSocket URIs as it does for HTTP URIs.")
4390 (license license:perl-license)))
4392 (define-public perl-uri-template
4394 (name "perl-uri-template")
4398 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
4402 "1phibcmam2hklrddzj79l43va1gcqpyszbw21ynxq53ynmhjvbk8"))))
4403 (build-system perl-build-system)
4405 `(("perl-uri" ,perl-uri)))
4407 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
4408 ("perl-test-pod" ,perl-test-pod)
4409 ("perl-module-install" ,perl-module-install)
4410 ("perl-json" ,perl-json)))
4411 (home-page "https://metacpan.org/release/URI-Template")
4412 (synopsis "Object for handling URI templates")
4413 (description "This perl module provides a wrapper around URI templates as described in
4415 (license license:perl-license)))
4417 (define-public perl-www-curl
4419 (name "perl-www-curl")
4424 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
4426 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
4429 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
4430 (build-system perl-build-system)
4432 '(#:tests? #f ;XXX: tests require network access
4434 #:phases (modify-phases %standard-phases
4435 (add-before 'configure 'set-search-path
4437 ;; Work around "dotless @INC" build failure.
4439 (string-append (getcwd) ":"
4440 (getenv "PERL5LIB")))
4443 `(("perl-module-install" ,perl-module-install)))
4444 (inputs `(("curl" ,curl)))
4445 (synopsis "Perl extension interface for libcurl")
4447 "This is a Perl extension interface for the libcurl file downloading
4449 (license license:perl-license)
4450 (home-page "https://metacpan.org/release/WWW-Curl")))
4452 (define-public perl-www-mechanize
4454 (name "perl-www-mechanize")
4459 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4460 "WWW-Mechanize-" version ".tar.gz"))
4462 (base32 "0cb14m1vhaf0mgn2fqwi5hm72xhfi77hpq2g57swgy0w83x7m27b"))))
4463 (build-system perl-build-system)
4464 (native-inputs ;only for tests
4465 `(("perl-cgi" ,perl-cgi)
4466 ("perl-test-deep" ,perl-test-deep)
4467 ("perl-test-fatal" ,perl-test-fatal)
4468 ("perl-test-output" ,perl-test-output)
4469 ("perl-test-warnings" ,perl-test-warnings)))
4471 `(("perl-html-form" ,perl-html-form)
4472 ("perl-html-parser" ,perl-html-parser)
4473 ("perl-html-tree" ,perl-html-tree)
4474 ("perl-http-message" ,perl-http-message)
4475 ("perl-http-server-simple" ,perl-http-server-simple)
4476 ("perl-libwww" ,perl-libwww)
4477 ("perl-test-warn" ,perl-test-warn)
4478 ("perl-uri" ,perl-uri)))
4479 (home-page "https://metacpan.org/release/WWW-Mechanize")
4480 (synopsis "Web browsing in a Perl object")
4481 (description "WWW::Mechanize is a Perl module for stateful programmatic
4482 web browsing, used for automating interaction with websites.")
4483 (license license:perl-license)))
4485 (define-public perl-www-opensearch
4487 (name "perl-www-opensearch")
4491 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
4492 "WWW-OpenSearch-" version ".tar.gz"))
4495 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
4496 (build-system perl-build-system)
4498 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4499 ("perl-datetime" ,perl-datetime)
4500 ("perl-datetime-format-mail" ,perl-datetime-format-mail)
4501 ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
4502 ("perl-feed-find" ,perl-feed-find)
4503 ("perl-module-install" ,perl-module-install)
4504 ("perl-module-pluggable" ,perl-module-pluggable)
4505 ("perl-uri-fetch" ,perl-uri-fetch)
4506 ("perl-test-simple" ,perl-test-simple)
4507 ("perl-xml-atom" ,perl-xml-atom)
4508 ("perl-xml-rss" ,perl-xml-rss)))
4510 `(("perl-data-page" ,perl-data-page)
4511 ("perl-libwww" ,perl-libwww)
4512 ("perl-uri" ,perl-uri)
4513 ("perl-uri-template" ,perl-uri-template)
4514 ("perl-xml-feed" ,perl-xml-feed)
4515 ("perl-xml-libxml" ,perl-xml-libxml)))
4516 (home-page "https://metacpan.org/release/WWW-OpenSearch")
4517 (synopsis "Search A9 OpenSearch compatible engines")
4519 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
4520 http://opensearch.a9.com} compatible search engines.")
4521 (license license:perl-license)))
4523 (define-public perl-www-robotrules
4525 (name "perl-www-robotrules")
4530 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
4534 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
4535 (build-system perl-build-system)
4537 `(("perl-uri" ,perl-uri)))
4538 (license license:perl-license)
4539 (synopsis "Perl database of robots.txt-derived permissions")
4541 "The WWW::RobotRules module parses /robots.txt files as specified in
4542 \"A Standard for Robot Exclusion\", at
4543 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
4544 /robots.txt file to forbid conforming robots from accessing parts of
4546 (home-page "https://metacpan.org/release/WWW-RobotRules")))
4548 (define-public python-feedparser
4550 (name "python-feedparser")
4555 (uri (pypi-uri "feedparser" version ".tar.bz2"))
4558 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
4559 (build-system python-build-system)
4563 "https://github.com/kurtmckee/feedparser")
4564 (synopsis "Parse feeds in Python")
4566 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
4567 CDF, Atom 0.3, and Atom 1.0 feeds.")
4568 (license (list license:bsd-2 ; source code
4569 license:freebsd-doc)))) ; documentation
4571 (define-public python2-feedparser
4572 (package-with-python2 python-feedparser))
4574 (define-public guix-data-service
4575 (let ((commit "c596a1c6a90bb2fe07da5339b8dc832b81d94194")
4578 (name "guix-data-service")
4579 (version (string-append "0.0.1-" revision "." (string-take commit 7)))
4583 (url "https://git.savannah.gnu.org/git/guix/data-service.git")
4585 (file-name (git-file-name name version))
4588 "09gn2imhh3aqkzray0xgkz7slriy567inh5lpkxm74bgmx862g3g"))))
4589 (build-system gnu-build-system)
4591 '(#:modules ((guix build utils)
4592 (guix build gnu-build-system)
4597 #:test-target "check-with-tmp-database"
4599 (modify-phases %standard-phases
4600 (add-before 'build 'set-GUILE_AUTO_COMPILE
4602 ;; To avoid warnings relating to 'guild'.
4603 (setenv "GUILE_AUTO_COMPILE" "0")
4605 (add-after 'install 'wrap-executable
4606 (lambda* (#:key inputs outputs #:allow-other-keys)
4607 (let* ((out (assoc-ref outputs "out"))
4608 (bin (string-append out "/bin"))
4609 (guile (assoc-ref inputs "guile"))
4610 (guile-effective-version
4612 (open-pipe* OPEN_READ
4613 (string-append guile "/bin/guile")
4614 "-c" "(display (effective-version))")))
4615 (scm (string-append out "/share/guile/site/"
4616 guile-effective-version))
4617 (go (string-append out "/lib/guile/"
4618 guile-effective-version
4622 (simple-format (current-error-port)
4624 (string-append bin "/" file))
4625 (wrap-program (string-append bin "/" file)
4629 (map (lambda (input)
4631 (assoc-ref inputs input)
4636 `("GUILE_LOAD_PATH" ":" prefix
4637 (,scm ,(getenv "GUILE_LOAD_PATH")))
4638 `("GUILE_LOAD_COMPILED_PATH" ":" prefix
4639 (,go ,(getenv "GUILE_LOAD_COMPILED_PATH")))))
4645 (delete 'strip)))) ; As the .go files aren't compatible
4647 `(("guix" ,guile3.0-guix)
4648 ("guile-fibers" ,guile3.0-fibers)
4649 ("guile-json" ,guile3.0-json)
4650 ("guile-email" ,guile3.0-email)
4651 ("guile-prometheus" ,guile-prometheus)
4652 ("guile-squee" ,guile3.0-squee)
4653 ("ephemeralpg" ,ephemeralpg)
4654 ("util-linux" ,util-linux)
4655 ("postgresql" ,postgresql-11)
4656 ("sqitch" ,sqitch)))
4658 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
4659 ("autoconf" ,autoconf)
4660 ("automake" ,automake)
4661 ("emacs-minimal" ,emacs-minimal)
4662 ("emacs-htmlize" ,emacs-htmlize)
4663 ("pkg-config" ,pkg-config)))
4664 (synopsis "Store and provide data about GNU Guix")
4666 "The Guix Data Service stores data about GNU Guix, and provides this
4667 through a web interface. It supports listening to the guix-commits mailing
4668 list to find out about new revisions, then loads the data from these in to a
4669 PostgreSQL database.")
4670 (home-page "http://data.guix.gnu.org/")
4671 (license license:agpl3+))))
4673 (define-public gumbo-parser
4675 (name "gumbo-parser")
4680 (url "https://github.com/google/gumbo-parser")
4681 (commit (string-append "v" version))))
4682 (file-name (git-file-name name version))
4685 "0xslckwdh2i0g2qjsb6rnm8mjmbagvziz0hjlf7d1lbljfms1iw1"))))
4686 (build-system gnu-build-system)
4688 `(#:tests? #f)) ;tests require bundling googletest sources
4689 ;; The release tarball lacks the generated files.
4691 `(("autoconf" ,autoconf)
4692 ("automake" ,automake)
4693 ("libtool" ,libtool)))
4694 (home-page "https://github.com/google/gumbo-parser")
4695 (synopsis "HTML5 parsing library")
4697 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
4698 a pure C99 library.")
4699 (license license:asl2.0)))
4701 (define-public uwsgi
4707 (uri (string-append "https://projects.unbit.it/downloads/uwsgi-"
4711 "10zmk4npknigmbqcq1wmhd461dk93159px172112vyq0i19sqwj9"))))
4712 (build-system gnu-build-system)
4713 (outputs '("out" "python"))
4715 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
4716 ;; But there is no obvious way to run the real tests.
4719 (modify-phases %standard-phases
4721 ;; Configuration is done by writing an ini file.
4722 (lambda* (#:key outputs #:allow-other-keys)
4723 (let* ((out (assoc-ref outputs "out"))
4724 (bindir (string-append out "/bin"))
4725 (plugindir (string-append out "/lib/uwsgi")))
4726 ;; The build phase outputs files to these directories directly.
4729 ;; XXX: Enable other plugins.
4730 (call-with-output-file "buildconf/guix.ini"
4732 (format port "[uwsgi]
4738 plugins = cgi,python
4740 " bindir plugindir))))
4741 (setenv "PROFILE" "guix")
4744 ;; Move plugins into their own output.
4745 (lambda* (#:key outputs #:allow-other-keys)
4746 (let* ((out (assoc-ref outputs "out"))
4747 (plugindir (string-append out "/lib/uwsgi"))
4748 (python-plugin (string-append
4749 plugindir "/python_plugin.so")))
4750 (install-file python-plugin
4752 (assoc-ref outputs "python") "/lib/uwsgi"))
4753 (delete-file python-plugin)
4756 `(("pkg-config" ,pkg-config)
4757 ("python" ,python-wrapper)))
4759 `(("jansson" ,jansson)
4760 ("libxml2" ,libxml2)
4761 ("libyaml" ,libyaml)
4762 ("openssl" ,openssl)
4766 ("python" ,python)))
4767 (home-page "https://uwsgi-docs.readthedocs.org/")
4768 (synopsis "Application container server")
4770 "uWSGI presents a complete stack for networked/clustered web applications,
4771 implementing message/object passing, caching, RPC and process management.
4772 It uses the uwsgi protocol for all the networking/interprocess communications.")
4773 (license license:gpl2+))) ; with linking exception
4782 (uri (string-append "https://github.com/stedolan/jq"
4783 "/releases/download/jq-" version
4784 "/jq-" version ".tar.gz"))
4786 (base32 "0wmapfskhzfwranf6515nzmm84r7kwljgfs7dg6bjgxakbicis2x"))
4787 (modules '((guix build utils)))
4790 ;; Remove bundled onigurama.
4791 (delete-file-recursively "modules")
4794 `(("oniguruma" ,oniguruma)))
4796 `(;; TODO fix gems to generate documentation
4798 ;;("bundler" ,bundler)
4799 ("valgrind" ,valgrind)))
4800 (build-system gnu-build-system)
4801 (home-page "https://stedolan.github.io/jq/")
4802 (synopsis "Command-line JSON processor")
4803 (description "jq is like sed for JSON data – you can use it to slice and
4804 filter and map and transform structured data with the same ease that sed, awk,
4805 grep and friends let you play with text. It is written in portable C. jq can
4806 mangle the data format that you have into the one that you want with very
4807 little effort, and the program to do so is often shorter and simpler than
4809 (license (list license:expat license:cc-by3.0))))
4811 (define-public uhttpmock
4818 (uri (string-append "https://tecnocode.co.uk/downloads/uhttpmock/"
4819 "uhttpmock-" version ".tar.xz"))
4821 (base32 "0bqizz69hxk8rn4z57asz1d45vizl1rj6i5k3rzxn2x3qcik514h"))))
4822 (build-system glib-or-gtk-build-system)
4824 `(("gobject-introspection" ,gobject-introspection)
4826 ("glib-networking" ,glib-networking)
4827 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4828 ("pkg-config" ,pkg-config)))
4830 `(("libsoup" ,libsoup)))
4831 (home-page "https://gitlab.com/groups/uhttpmock")
4832 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
4834 "Uhttpmock is a project for mocking web service APIs which use HTTP or
4835 HTTPS. It provides a library, libuhttpmock, which implements recording and
4836 playback of HTTP request/response traces.")
4837 (license license:lgpl2.1+)))
4842 (version "2012-05-31")
4846 "http://www.home.unix-ag.org/simon/woof-"
4850 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
4851 (build-system trivial-build-system)
4853 '(#:modules ((guix build utils))
4856 (use-modules (guix build utils))
4857 (let* ((source (assoc-ref %build-inputs "source"))
4858 (out (assoc-ref %outputs "out"))
4859 (bin (string-append out "/bin"))
4860 (python (assoc-ref %build-inputs "python")))
4862 (with-directory-excursion bin
4863 (copy-file source "woof")
4864 (patch-shebang "woof" (list (string-append python "/bin")))
4865 (chmod "woof" #o555))
4867 (inputs `(("python" ,python-2)))
4868 (home-page "http://www.home.unix-ag.org/simon/woof.html")
4869 (synopsis "Single file web server")
4870 (description "Woof (Web Offer One File) is a small simple web server that
4871 can easily be invoked on a single file. Your partner can access the file with
4872 tools they trust (e.g. wget).")
4873 (license license:gpl2+)))
4875 (define netsurf-buildsystem
4877 (name "netsurf-buildsystem")
4882 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4883 "buildsystem-" version ".tar.gz"))
4886 "0alsmaig9ln8dgllb3z63gq90fiz75jz0ic71fi0k0k898qix14k"))))
4887 (build-system gnu-build-system)
4888 (inputs `(("perl" ,perl)))
4890 '(#:make-flags (list (string-append "PREFIX=" %output))
4891 #:tests? #f ;no tests
4892 #:phases (modify-phases %standard-phases
4895 (home-page "https://www.netsurf-browser.org")
4896 (synopsis "Build system for the Netsurf project")
4898 "This package provides the shared build system for Netsurf project
4900 (license license:expat)))
4902 (define netsurf-buildsystem-arguments
4903 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
4904 "CC=gcc" "BUILD_CC=gcc"
4905 ,(string-append "PREFIX=" %output)
4906 ,(string-append "NSSHARED="
4907 (assoc-ref %build-inputs
4908 "netsurf-buildsystem")
4909 "/share/netsurf-buildsystem"))
4910 #:test-target "test"
4911 #:phases (modify-phases %standard-phases
4912 (delete 'configure))))
4914 (define-public libparserutils
4916 (name "libparserutils")
4921 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4922 name "-" version "-src.tar.gz"))
4925 "1n2794y2l0c8nv8z2pxwfnbn882987ifmxjv60zdxkhcndhswarj"))))
4926 (build-system gnu-build-system)
4928 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4929 ("pkg-config" ,pkg-config)
4930 ("perl" ,perl))) ;for test harness
4931 (arguments netsurf-buildsystem-arguments)
4932 (home-page "https://www.netsurf-browser.org/projects/libparserutils/")
4933 (synopsis "Parser building library")
4935 "LibParserUtils is a library for building efficient parsers, written in
4936 C. It is developed as part of the NetSurf project.")
4937 (license license:expat)))
4939 (define-public hubbub
4946 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4947 "libhubbub-" version "-src.tar.gz"))
4950 "1dimfyblmym98qa1b80c5jslv2zk8r44xbdrgrsrw1n9wr9y4yly"))
4951 (patches (search-patches "hubbub-sort-entities.patch"))))
4952 (build-system gnu-build-system)
4954 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4955 ("pkg-config" ,pkg-config)
4956 ("doxygen" ,doxygen)
4957 ("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
4960 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
4961 (arguments netsurf-buildsystem-arguments)
4962 (home-page "https://www.netsurf-browser.org/projects/hubbub/")
4963 (synopsis "HTML5 compliant parsing library")
4965 "Hubbub is an HTML5 compliant parsing library, written in C, which can
4966 parse both valid and invalid web content. It is developed as part of the
4968 (license license:expat)))
4970 (define-public ikiwiki
4973 (version "3.20200202.3")
4978 (url "git://git.ikiwiki.info/")
4980 (file-name (git-file-name name version))
4983 "0fphyqzlk9y8v9s89ypsmrnbhyymzrpc2w0liy0n4knc7kk2pabq"))
4986 ;; The POT file requires write permission during the build
4988 (chmod "po/ikiwiki.pot" #o644)
4990 (build-system perl-build-system)
4993 (modify-phases %standard-phases
4994 (add-after 'patch-source-shebangs 'patch-Makefiles
4996 (substitute* "Makefile.PL"
4997 (("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
4998 (with-directory-excursion "po"
4999 (substitute* "Makefile"
5000 (("PERL5LIB=") "PERL5LIB=${PERL5LIB}:")))
5002 (add-before 'build 'set-modification-times
5003 ;; The wiki '--refresh' steps, which are executed during
5004 ;; the check phase, require recent timestamps on files in
5005 ;; the 'doc' and 'underlays' directories.
5007 (invoke "find" "doc" "underlays" "-type" "f" "-exec"
5010 (add-before 'check 'pre-check
5011 (lambda* (#:key inputs #:allow-other-keys)
5012 ;; Six tests use IPC::Run. For these tests the PERL5LIB
5013 ;; variable is needed in the runtime environment and also
5014 ;; in the search path list in the setup file.
5016 '("t/aggregate-file.t" "t/git-cgi.t" "t/git-untrusted.t"
5017 "t/passwordauth.t" "t/relativity.t" "t/wrapper-environ.t")
5018 (("(.*)\"perl\"(.*)$" _ prefix suffix)
5019 (string-append prefix "qw(env), 'PERL5LIB='.$ENV{PERL5LIB}"
5020 ", qw(perl)" suffix))
5021 (("(.*) PERL5LIB=(.*) perl(.*)$" _ prefix middle suffix)
5022 (string-append prefix "), 'PERL5LIB='.$ENV{PERL5LIB}.':"
5023 middle "', qw(perl" suffix))
5024 (("(.*)setup(.* )getcwd(.*)$" _ prefix middle suffix)
5025 (string-append prefix "setup" middle
5026 "$ENV{PERL5LIB}.':'.getcwd" suffix))
5027 (("^ENV(.*): '(.*)$" _ middle suffix)
5028 (string-append "ENV" middle
5029 ": '$ENV{PERL5LIB}:" suffix)))
5030 ;; XDG_DATA_DIRS is needed by the podcast.t test.
5031 (setenv "XDG_DATA_DIRS"
5032 (string-append (assoc-ref inputs "shared-mime-info")
5034 ;; CC is needed by IkiWiki/Wrapper.pm.
5037 (add-after 'install 'wrap-programs
5038 (lambda* (#:key outputs #:allow-other-keys)
5039 (let* ((out (assoc-ref outputs "out"))
5040 (bin (string-append out "/bin/"))
5041 (path (getenv "PERL5LIB")))
5042 (for-each (lambda (file)
5044 `("PERL5LIB" ":" prefix (,path))))
5049 ("gettext" ,gettext-minimal)
5050 ("subversion" ,subversion)
5054 ("mercurial" ,mercurial)))
5056 `(("python" ,python-wrapper)
5057 ("perl-authen-passphrase" ,perl-authen-passphrase)
5058 ("perl-cgi-simple" ,perl-cgi-simple)
5059 ("perl-db-file" ,perl-db-file)
5060 ("perl-file-mimeinfo" ,perl-file-mimeinfo)
5061 ("perl-html-tagset" ,perl-html-tagset)
5062 ("perl-image-magick" ,perl-image-magick)
5063 ("perl-ipc-run" ,perl-ipc-run)
5064 ("perl-lwpx-paranoidagent" ,perl-lwpx-paranoidagent)
5065 ("perl-xml-feed" ,perl-xml-feed)
5066 ("perl-xml-sax" ,perl-xml-sax)
5067 ("perl-xml-twig" ,perl-xml-twig)
5070 `(("perl-cgi-formbuilder" ,perl-cgi-formbuilder)
5071 ("perl-cgi-session" ,perl-cgi-session)
5072 ("perl-html-parser" ,perl-html-parser)
5073 ("perl-html-scrubber" ,perl-html-scrubber)
5074 ("perl-html-template" ,perl-html-template)
5075 ("perl-json" ,perl-json)
5076 ("perl-mail-sendmail" ,perl-mail-sendmail)
5077 ("perl-text-markdown-discount" ,perl-text-markdown-discount)
5078 ("perl-timedate" ,perl-timedate)
5079 ("perl-uri" ,perl-uri)
5080 ("perl-xml-simple" ,perl-xml-simple)
5081 ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
5082 (home-page "https://ikiwiki.info/")
5083 (synopsis "Wiki compiler, capable of generating HTML")
5085 "Ikiwiki is a wiki compiler, capable of generating a static set of web
5086 pages, but also incorporating dynamic features like a web based editor and
5088 (license license:gpl2+)))
5090 (define-public libwapcaplet
5092 (name "libwapcaplet")
5097 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5098 "libwapcaplet-" version "-src.tar.gz"))
5101 "0p0c2q9lsj4vs97aa7vjllfhw33zv3dpysdkjblzhib6dpfs2alv"))))
5102 (build-system gnu-build-system)
5104 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5105 ("pkg-config" ,pkg-config)
5106 ("check" ,check))) ;for tests
5107 (arguments netsurf-buildsystem-arguments)
5108 (home-page "https://www.netsurf-browser.org/projects/libwapcaplet/")
5109 (synopsis "String internment library")
5111 "LibWapcaplet provides a reference counted string internment system
5112 designed to store small strings and allow rapid comparison of them. It is
5113 developed as part of the Netsurf project.")
5114 (license license:expat)))
5116 (define-public libcss
5123 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5124 "libcss-" version "-src.tar.gz"))
5127 "1p66sdiiqm7w4jkq23hsf08khsnmq93hshh9f9m8sbirjdpf3p6j"))))
5128 (build-system gnu-build-system)
5130 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5131 ("pkg-config" ,pkg-config)
5133 (propagated-inputs ;needed for libcss.pc
5134 `(("libparserutils" ,libparserutils)
5135 ("libwapcaplet" ,libwapcaplet)))
5136 (arguments netsurf-buildsystem-arguments)
5137 (home-page "https://www.netsurf-browser.org/projects/libcss/")
5138 (synopsis "CSS parser and selection library")
5140 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
5141 written in C. It is developed as part of the NetSurf project.")
5142 (license license:expat)))
5144 (define-public libcyaml
5152 (url "https://github.com/tlsa/libcyaml")
5153 (commit (string-append "v" version))))
5154 (file-name (git-file-name name version))
5156 (base32 "0428p0rwq71nhh5nzcbapsbrjxa0x5l6h6ns32nxv7j624f0zd93"))))
5157 (build-system gnu-build-system)
5160 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5161 (string-append "CC=gcc"))
5163 (modify-phases %standard-phases
5164 (delete 'configure) ; no configure script
5168 (invoke "make" "test"))))))
5170 `(("libyaml" ,libyaml)))
5172 `(("pkg-config" ,pkg-config)))
5173 (synopsis "C library for reading and writing YAML")
5175 "LibCYAML is a C library written in ISO C11 for reading and writing
5176 structured YAML documents. The fundamental idea behind CYAML is to allow
5177 applications to construct schemas which describe both the permissible
5178 structure of the YAML documents to read/write, and the C data structure(s)
5179 in which the loaded data is arranged in memory.")
5180 (home-page "https://github.com/tlsa/libcyaml")
5181 (license license:isc)))
5183 (define-public libdom
5190 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5191 "libdom-" version "-src.tar.gz"))
5194 "0jpg5hx3y0mdxk5szd47dyijqimd2321brbqk2620pp5f4j0gvlq"))))
5195 (build-system gnu-build-system)
5197 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5198 ("pkg-config" ,pkg-config)
5199 ("perl" ,perl) ;for test harness
5200 ("perl-libxml" ,perl-libxml)
5201 ("perl-switch" ,perl-switch)
5202 ("perl-xml-xpath" ,perl-xml-xpath)))
5204 `(("libparserutils" ,libparserutils)
5205 ("libwapcaplet" ,libwapcaplet)))
5207 `(("expat" ,expat) ;needed for headers and linking
5208 ("hubbub" ,hubbub))) ;for libdom.pc
5210 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
5211 ,@netsurf-buildsystem-arguments))
5212 (home-page "https://www.netsurf-browser.org/projects/libdom/")
5213 (synopsis "Implementation of the W3C DOM")
5215 "LibDOM is an implementation of the W3C DOM, written in C. It is
5216 developed as part of the NetSurf project.")
5217 (license license:expat)))
5219 (define-public libsvgtiny
5226 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5227 name "-" version "-src.tar.gz"))
5230 "10bpkmvfpydj74im3r6kqm9vnvgib6afy0alx71q5n0w5yawy39c"))))
5231 (build-system gnu-build-system)
5233 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5234 ("pkg-config" ,pkg-config)
5235 ("gperf" ,gperf-3.0)))
5237 `(("libwapcaplet" ,libwapcaplet)))
5239 `(("libdom" ,libdom))) ;for libsvgtiny.pc
5240 (arguments netsurf-buildsystem-arguments)
5241 (home-page "https://www.netsurf-browser.org/projects/libsvgtiny/")
5242 (synopsis "Library for parsing SVG files")
5244 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
5245 which can be rendered easily, as defined in
5246 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
5248 (license license:expat)))
5250 (define-public libnsbmp
5257 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5258 name "-" version "-src.tar.gz"))
5261 "0krjg69a2amxjsahdgm3wmy9ngnyr3gfs2a1zhdlbvb0z1jr7i3r"))))
5262 (build-system gnu-build-system)
5264 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5265 (arguments netsurf-buildsystem-arguments)
5266 (home-page "https://www.netsurf-browser.org/projects/libnsbmp/")
5267 (synopsis "Decoding library for BMP and ICO files")
5269 "Libnsbmp is a decoding library for BMP and ICO image file formats,
5270 written in C. It is developed as part of the NetSurf project.")
5271 (license license:expat)))
5273 (define-public libnsgif
5280 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5281 name "-" version "-src.tar.gz"))
5284 "0jwshypgmx16xlsbx3d8njk8a5khazlplca5mxd3rdbhrlsabbly"))))
5285 (build-system gnu-build-system)
5287 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5288 (arguments netsurf-buildsystem-arguments)
5289 (home-page "https://www.netsurf-browser.org/projects/libnsgif/")
5290 (synopsis "Decoding library for GIF files")
5292 "Libnsgif is a decoding library for the GIF image file format, written in
5293 C. It is developed as part of the NetSurf project.")
5294 (license license:expat)))
5296 (define-public libnslog
5303 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5304 "libnslog-" version "-src.tar.gz"))
5307 "1l2k0kdv9iv18svhv360vszjavhl4g09cp8a8yb719pgsylxr67w"))))
5308 (build-system gnu-build-system)
5310 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5311 ("pkg-config" ,pkg-config)
5312 ("check" ,check) ; For tests
5315 (arguments netsurf-buildsystem-arguments)
5316 (home-page "https://www.netsurf-browser.org/")
5317 (synopsis "Logging library")
5319 "Libnslog provides a category-based logging library which supports
5320 complex logging filters, multiple log levels, and provides context through to
5321 client applications. It is developed as part of the NetSurf project.")
5322 (license license:expat)))
5324 (define-public libnsutils
5331 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5332 name "-" version "-src.tar.gz"))
5335 "1w5fyy2i60a3v3if3iqcn9sy9sycx6966rcx53v85gja6hb6a33r"))))
5336 (build-system gnu-build-system)
5338 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5339 (arguments netsurf-buildsystem-arguments)
5340 (home-page "https://www.netsurf-browser.org/")
5341 (synopsis "Utility library for NetSurf")
5343 "Libnsutils provides a small number of useful utility routines. It is
5344 developed as part of the NetSurf project.")
5345 (license license:expat)))
5347 (define-public libnspsl
5354 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5355 "libnspsl-" version "-src.tar.gz"))
5358 "02q28n5i6fwqcz1nn167rb71k1q95mx38mfah6zi1lvqrc2q5ifk"))))
5359 (build-system gnu-build-system)
5361 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5362 (arguments netsurf-buildsystem-arguments)
5363 (home-page "https://www.netsurf-browser.org/")
5364 (synopsis "Library to generate a static Public Suffix List")
5366 "Libnspsl is a library to generate a static code representation of the
5367 Public Suffix List. It is developed as part of the NetSurf project.")
5368 (license license:expat)))
5370 (define-public nsgenbind
5377 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5378 "nsgenbind-" version "-src.tar.gz"))
5381 "1cqwgwca49jvmijwiyaab2bwxicgxdrnlpinf8kp3nha02nm73ad"))))
5382 (build-system gnu-build-system)
5384 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5388 (substitute-keyword-arguments netsurf-buildsystem-arguments
5389 ((#:make-flags flags)
5390 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
5391 (home-page "https://www.netsurf-browser.org/")
5392 (synopsis "Generate JavaScript to DOM bindings")
5394 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
5395 w3c webidl files and a binding configuration file.")
5396 (license license:expat)))
5398 (define-public netsurf
5405 (uri (string-append "https://download.netsurf-browser.org/netsurf/"
5406 "releases/source/netsurf-" version "-src.tar.gz"))
5409 "0plra64c5xyiw12yx2q13brxsv8apmany97zqa2lcqckw4ll8j1n"))
5410 (patches (search-patches "netsurf-system-utf8proc.patch"
5411 "netsurf-y2038-tests.patch"
5412 "netsurf-longer-test-timeout.patch"
5413 "netsurf-message-timestamp.patch"))))
5414 (build-system glib-or-gtk-build-system)
5416 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5417 ("nsgenbind" ,nsgenbind)
5418 ("libidn" ,libidn) ;only for tests
5421 ("perl-html-parser" ,perl-html-parser)
5422 ("pkg-config" ,pkg-config)
5427 ("openssl" ,openssl)
5428 ("utf8proc" ,utf8proc)
5430 ("libjpeg" ,libjpeg-turbo)
5433 ("libnsbmp" ,libnsbmp)
5434 ("libnsgif" ,libnsgif)
5435 ("libnslog" ,libnslog)
5436 ("libnspsl" ,libnspsl)
5437 ("libnsutils" ,libnsutils)
5438 ("libsvgtiny" ,libsvgtiny)
5439 ("miscfiles" ,miscfiles)))
5441 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
5443 ,(string-append "PREFIX=" %output)
5444 ,(string-append "NSSHARED="
5445 (assoc-ref %build-inputs
5446 "netsurf-buildsystem")
5447 "/share/netsurf-buildsystem"))
5448 #:test-target "test"
5449 #:modules ((ice-9 rdelim)
5453 ,@%glib-or-gtk-build-system-modules)
5455 (modify-phases %standard-phases
5457 (add-after 'build 'adjust-welcome
5459 (substitute* "frontends/gtk/res/welcome.html"
5460 ;; Close some XHTML tags.
5461 (("<(img|input)([^>]*)>" _ tag contents)
5462 (string-append "<" tag contents " />"))
5463 ;; Increase freedom.
5464 ((" open source") ", free software")
5465 ;; Prefer a more privacy-respecting default search engine.
5466 (("www.google.co.uk") "www.duckduckgo.com/html")
5467 (("Google Search") "DuckDuckGo Search")
5468 (("name=\"btnG\"") ""))
5469 ;; Remove default links so it doesn't seem we're endorsing them.
5470 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
5472 ;; Leave the DOCTYPE header as is.
5473 (display (read-line in 'concat) out)
5475 (let rec ((sxml (xml->sxml in
5476 #:default-entity-handler
5478 (string-append "<ENTITY>"
5479 (symbol->string name)
5481 ;; We'd like to use sxml-match here, but it can't
5482 ;; match against generic tag symbols...
5484 (`(div (@ (class "links")) . ,rest)
5493 (add-before 'check 'patch-check
5494 (lambda* (#:key inputs #:allow-other-keys)
5495 (substitute* '("test/bloom.c" "test/hashtable.c")
5496 (("/usr/share/dict/words")
5497 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
5499 (add-after 'install 'install-more
5500 (lambda* (#:key outputs #:allow-other-keys)
5501 (let* ((out (assoc-ref outputs "out"))
5502 (desktop (string-append out "/share/applications/"
5503 "netsurf.desktop")))
5504 (mkdir-p (dirname desktop))
5505 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
5507 (substitute* desktop
5508 (("netsurf-gtk") (string-append out "/bin/netsurf-gtk3"))
5509 (("netsurf.png") (string-append out "/share/netsurf/"
5511 (install-file "docs/netsurf-gtk.1"
5512 (string-append out "/share/man/man1/"))
5514 (home-page "https://www.netsurf-browser.org")
5515 (synopsis "Web browser")
5517 "NetSurf is a lightweight web browser that has its own layout and
5518 rendering engine entirely written from scratch. It is small and capable of
5519 handling many of the web standards in use today.")
5520 (license license:gpl2+)))
5522 (define-public surfraw
5529 (uri (string-append "https://gitlab.com/surfraw/Surfraw/uploads/"
5530 "2de827b2786ef2fe43b6f07913ca7b7f/"
5531 "surfraw-" version ".tar.gz"))
5533 (base32 "099nbif0x5cbcf18snc58nx1a3q7z0v9br9p2jiq9pcc7ic2015d"))))
5534 (build-system gnu-build-system)
5537 (modify-phases %standard-phases
5538 (add-before 'configure 'patch-perl
5539 (lambda* (#:key inputs #:allow-other-keys)
5540 (let ((perl (assoc-ref inputs "perl")))
5541 (substitute* "surfraw.IN"
5543 (string-append perl "/bin/perl -e")))
5545 (add-after 'install 'compress-elvi.1sr
5546 (lambda* (#:key outputs #:allow-other-keys)
5547 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
5548 ;; but elvi.1sr does not get compressed by our manpage phase.
5549 (let* ((out (assoc-ref %outputs "out"))
5550 (man (string-append out "/share/man/man1")))
5551 (with-directory-excursion man
5552 (invoke "gzip" "elvi.1sr"))))))))
5555 ("perl-www-opensearch" ,perl-www-opensearch)
5556 ("perl-html-parser" ,perl-html-parser)
5557 ("perl-libwww" ,perl-libwww)))
5558 (synopsis "Unix command line interface to the www")
5559 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
5560 provides a unix command line interface to a variety of popular www search engines
5561 and similar services.")
5562 (home-page "https://surfraw.alioth.debian.org/")
5563 (license license:public-domain)))
5565 (define-public darkhttpd
5572 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
5573 version ".tar.bz2"))
5576 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
5577 (build-system gnu-build-system)
5579 `(#:make-flags '("CC=gcc")
5580 #:tests? #f ; No test suite
5582 (modify-phases %standard-phases
5585 (lambda* (#:key outputs #:allow-other-keys)
5586 (install-file "darkhttpd"
5587 (string-append (assoc-ref outputs "out")
5590 (synopsis "Simple static web server")
5591 (description "darkhttpd is a simple static web server. It is
5592 standalone and does not need inetd or ucspi-tcp. It does not need any
5593 config files---you only have to specify the www root.")
5594 (home-page "https://unix4lyfe.org/darkhttpd/")
5595 (license license:isc)))
5597 (define-public goaccess
5603 (uri (string-append "http://tar.goaccess.io/goaccess-"
5607 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
5608 (modules '((guix build utils)))
5610 (substitute* "src/error.h"
5611 (("__DATE__") "\"1970-01-01\"")
5612 (("__TIME__") "\"00:00:00\""))
5614 (build-system gnu-build-system)
5616 ;; TODO: Add dependency on geoip-tools.
5618 ("ncurses" ,ncurses)))
5620 `(("pkg-config" ,pkg-config)))
5621 (home-page "https://goaccess.io")
5622 (synopsis "Analyze Web server logs in real time")
5624 "GoAccess is a real-time web log analyzer and interactive viewer that
5625 runs in a terminal or through your browser. It provides fast and valuable
5626 HTTP statistics for system administrators that require a visual server report
5628 (license license:x11)))
5630 (define-public hitch
5634 (home-page "https://hitch-tls.org/")
5637 (uri (string-append home-page "source/hitch-" version ".tar.gz"))
5640 "01n70yf8hx42jb801jv5q1xhrpqxyjnqhd98hjf81lvxpd5fnisf"))))
5641 (build-system gnu-build-system)
5643 `(#:phases (modify-phases %standard-phases
5644 (add-before 'check 'pre-check
5646 ;; Most tests attempts to access hitch-tls.org which is
5647 ;; unavailable in the build container. Run them against
5648 ;; a dummy local web server instead.
5649 (for-each (lambda (test)
5651 (("\\[hitch-tls\\.org\\]:80")
5652 "[localhost]:8000")))
5653 (find-files "src/tests" "\\.sh$"))
5654 (system "python3 -m http.server &")
5656 ;; The build container does not reap zombie processes,
5657 ;; causing stop_hitch to hang indefinitely while waiting
5658 ;; for the process to terminate because 'kill -0' never
5659 ;; succeeds. Use a different test to see whether the
5660 ;; process has shut down.
5661 (substitute* "src/tests/hitch_test.sh"
5662 (("kill -0 \"\\$HITCH_PID\"")
5663 "$(ps -p $HITCH_PID -o state= | grep -qv '^Z$')"))
5666 `(("pkg-config" ,pkg-config)
5672 ("python" ,python)))
5675 ("openssl" ,openssl)))
5676 (synopsis "Scalable TLS proxy")
5678 "Hitch is a performant TLS proxy based on @code{libev}. It terminates
5679 SSL/TLS connections and forwards the unencrypted traffic to a backend such
5680 as a web server. It is designed to handle many thousand connections on
5681 multicore machines.")
5682 (license license:bsd-2)))
5684 (define-public httptunnel
5691 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
5692 name "-" version ".tar.gz"))
5695 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
5696 (modules '((guix build utils)))
5698 ;; Remove non-free IETF RFC documentation.
5699 (delete-file-recursively "doc")
5701 (build-system gnu-build-system)
5704 (modify-phases %standard-phases
5705 ;; The default configure phase tries to pass environment variables as
5706 ;; command-line arguments, which confuses the ./configure script.
5708 (lambda* (#:key outputs #:allow-other-keys)
5709 (let* ((out (assoc-ref outputs "out")))
5710 (setenv "CONFIG_SHELL" (which "bash"))
5711 (invoke "./configure"
5712 (string-append "--prefix=" out))))))))
5713 (home-page "http://www.nocrew.org/software/httptunnel.html")
5714 (synopsis "Tunnel data connections through HTTP requests")
5715 (description "httptunnel creates a bidirectional virtual data connection
5716 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
5717 useful for users behind restrictive firewalls. As long as Web traffic is
5718 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
5719 tools like SSH (Secure Shell) to reach the outside world.")
5720 (license license:gpl2+)))
5722 (define-public stunnel
5729 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
5732 (base32 "1q8gc05fiz7w55ws0whwzb94ffjnhzfppf1mhz1hf671vmrvjnmg"))))
5733 (build-system gnu-build-system)
5736 `(("iproute" ,iproute)
5738 ("procps" ,procps)))
5739 (inputs `(("openssl" ,openssl)))
5742 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))
5744 (modify-phases %standard-phases
5745 (add-after 'unpack 'patch-output-directories
5747 ;; Some (not all) Makefiles have a hard-coded incorrect docdir.
5748 (substitute* (list "Makefile.in"
5750 "tools/Makefile.in")
5752 (string-append "/doc/" ,name "-" ,version)))
5754 (add-before 'check 'patch-tests
5756 (substitute* "tests/make_test"
5758 (string-append (which "sh") " ")))
5760 (home-page "https://www.stunnel.org")
5761 (synopsis "TLS proxy for clients or servers")
5762 (description "Stunnel is a proxy designed to add TLS encryption
5763 functionality to existing clients and servers without any changes in the
5764 programs' code. Its architecture is optimized for security, portability, and
5765 scalability (including load-balancing), making it suitable for large
5767 (license license:gpl2+)))
5769 (define-public varnish
5772 (home-page "https://varnish-cache.org/")
5776 (uri (string-append home-page "_downloads/varnish-" version ".tgz"))
5779 "1hkn98vbxk7rc1sd08367qn6rcv8wkxgwbmm1x46y50vi0nvldpn"))))
5780 (build-system gnu-build-system)
5782 `(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
5783 ;; Use absolute path of GCC so it's found at runtime.
5784 (string-append "PTHREAD_CC="
5785 (assoc-ref %build-inputs "gcc")
5787 "--localstatedir=/var")
5789 (modify-phases %standard-phases
5790 (add-after 'unpack 'use-absolute-file-names
5792 (substitute* '("bin/varnishtest/vtc_varnish.c"
5793 "bin/varnishtest/vtc_process.c"
5794 "bin/varnishd/mgt/mgt_vcc.c"
5795 "bin/varnishtest/tests/u00014.vtc")
5796 (("/bin/sh") (which "sh")))
5797 (substitute* "bin/varnishd/mgt/mgt_shmem.c"
5798 (("rm -rf") (string-append (which "rm") " -rf")))
5799 (substitute* "bin/varnishtest/vtc_main.c"
5800 (("/bin/rm") (which "rm")))
5802 (add-before 'install 'patch-Makefile
5804 (substitute* "Makefile"
5805 ;; Do not create /var/varnish during install.
5806 (("^install-data-am: install-data-local") "install-data-am: "))
5808 (add-after 'install 'wrap-varnishd
5809 ;; Varnish uses GCC to compile VCL, so wrap it with required GCC
5810 ;; environment variables to avoid propagating them to profiles.
5811 (lambda* (#:key inputs outputs #:allow-other-keys)
5812 (let* ((out (assoc-ref outputs "out"))
5813 (varnishd (string-append out "/sbin/varnishd"))
5814 (PATH (string-append (assoc-ref inputs "binutils") "/bin"))
5815 (LIBRARY_PATH (string-append (assoc-ref inputs "libc") "/lib")))
5816 (wrap-program varnishd
5817 ;; Add binutils to PATH so gcc finds the 'as' executable.
5818 `("PATH" ":" prefix (,PATH))
5819 ;; Make sure 'crti.o' et.al is found.
5820 `("LIBRARY_PATH" ":" prefix (,LIBRARY_PATH)))
5823 `(("pkg-config" ,pkg-config)
5824 ("python-sphinx" ,python-sphinx)
5825 ("rst2man" ,python-docutils)))
5827 `(("jemalloc" ,jemalloc)
5828 ("ncurses" ,ncurses)
5830 ("python" ,python-wrapper)
5831 ("readline" ,readline)))
5832 (synopsis "Web application accelerator")
5834 "Varnish is a high-performance HTTP accelerator. It acts as a caching
5835 reverse proxy and load balancer. You install it in front of any server that
5836 speaks HTTP and configure it to cache the contents through an extensive
5837 configuration language.")
5838 (license (list license:bsd-2 ;main distribution
5839 license:zlib ;lib/libvgz/*
5840 license:public-domain ;bin/varnishncsa/as64.c, include/miniobj.h
5841 license:bsd-3)))) ;include/vqueue.h, lib/libvarnishcompat/daemon.c
5843 (define-public varnish-modules
5845 (name "varnish-modules")
5846 (home-page "https://github.com/varnish/varnish-modules")
5850 (uri (string-append "https://github.com/varnish/varnish-modules"
5851 "/releases/download/varnish-modules-" version
5852 "/varnish-modules-" version ".tar.gz"))
5855 "1ph5bplsip4rycql1c2hgbvmrwbgcrgv2ldgfp7saxxbsv5cpcds"))))
5856 (build-system gnu-build-system)
5858 `(("pkg-config" ,pkg-config)))
5860 `(("python" ,python)
5861 ("varnish" ,varnish)))
5862 (synopsis "Collection of Varnish modules")
5864 "This package provides a collection of modules (@dfn{vmods}) for the Varnish
5865 cache server, extending the @acronym{VCL, Varnish Configuration Language} with
5866 additional capabilities.")
5867 (license license:bsd-2)))
5869 (define-public xinetd
5872 ;; This is the maintenance fork currently used by openSUSE and Debian.
5873 (version "2.3.15.4")
5878 (url "https://github.com/openSUSE/xinetd")
5880 (file-name (git-file-name name version))
5882 (base32 "0lrp3lcj6azhjplwxws2rx40bkyp6i6bp7n77ndcisb7ninad30q"))))
5883 (build-system gnu-build-system)
5885 `(#:configure-flags '("--with-loadavg")
5886 #:tests? #f)) ; no tests
5888 `(("autoconf" ,autoconf)
5889 ("automake" ,automake)
5890 ("libtool" ,libtool)
5891 ("pkg-config" ,pkg-config)))
5892 (home-page "https://github.com/openSUSE/xinetd")
5893 (synopsis "Internet services daemon")
5894 (description "@code{xinetd}, a more secure replacement for @code{inetd},
5895 listens for incoming requests over a network and launches the appropriate
5896 service for that request. Requests are made using port numbers as identifiers
5897 and xinetd usually launches another daemon to handle the request. It can be
5898 used to start services with both privileged and non-privileged port numbers.")
5899 (license (license:fsf-free "file://COPYRIGHT"))))
5901 (define-public tidy-html
5909 (url "https://github.com/htacg/tidy-html5")
5911 (file-name (git-file-name name version))
5914 "01k5sqwgcsr26i8031v1yr2r8qcy9a5w7sj800660haszgfbjz2f"))))
5915 (build-system cmake-build-system)
5917 "static")) ; 1.3MiB of .a files
5919 `(#:tests? #f ; no tests available
5920 #:build-type "Release"
5922 (modify-phases %standard-phases
5923 (add-after 'install 'move-static-libraries
5924 (lambda* (#:key outputs #:allow-other-keys)
5925 ;; Move static libraries to the "static" output.
5926 (let* ((out (assoc-ref outputs "out"))
5927 (lib (string-append out "/lib"))
5928 (static (assoc-ref outputs "static"))
5929 (slib (string-append static "/lib")))
5931 (for-each (lambda (file)
5932 (install-file file slib)
5934 (find-files lib "\\.a$"))
5937 `(("libxslt" ,libxslt)))
5938 (home-page "http://www.html-tidy.org/")
5939 (synopsis "HTML Tidy with HTML5 support")
5941 "Tidy is a console application which corrects and cleans up
5942 HTML and XML documents by fixing markup errors and upgrading
5943 legacy code to modern standards.
5945 Tidy also provides @code{libtidy}, a C static and dynamic library that
5946 developers can integrate into their applications to make use of the
5947 functions of Tidy.")
5948 (license license:bsd-3)))
5950 (define-public hiawatha
5957 (uri (string-append "https://www.hiawatha-webserver.org/files/"
5958 "hiawatha-" version ".tar.gz"))
5959 (modules '((guix build utils)))
5961 ;; We use packaged libraries, so delete the bundled copies.
5962 (for-each delete-file-recursively
5963 (list "extra/nghttp2.tgz" "mbedtls"))
5966 (base32 "09wpgilbv13zal71v9lbsqr8c3fignygadykpd1p1pb8blb5vn3r"))))
5967 (build-system cmake-build-system)
5969 `(#:tests? #f ; no tests included
5970 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
5971 (string-append "-DENABLE_HTTP2=on")
5972 (string-append "-DUSE_SYSTEM_NGHTTP2=on")
5973 (string-append "-DENABLE_TOMAHAWK=on")
5974 (string-append "-DLOG_DIR=/var/log/hiawatha")
5975 (string-append "-DPID_DIR=/run")
5976 (string-append "-DWEBROOT_DIR="
5977 (assoc-ref %outputs "out")
5978 "/share/hiawatha/html")
5979 (string-append "-DWORK_DIR=/var/lib/hiawatha"))
5981 (modify-phases %standard-phases
5982 (add-after 'unpack 'install-no-empty-directories
5984 (substitute* "CMakeLists.txt"
5985 (("install\\(DIRECTORY DESTINATION" match)
5986 (string-append "#" match)))
5988 (add-after 'install 'wrap
5989 (lambda* (#:key inputs outputs #:allow-other-keys)
5990 ;; Make sure 'hiawatha' finds 'mbedtls'.
5991 (let* ((out (assoc-ref outputs "out"))
5992 (sbin (string-append out "/sbin"))
5993 (mbed (assoc-ref inputs "mbedtls-apache")))
5994 (wrap-program (string-append sbin "/hiawatha")
5995 `("PATH" ":" prefix (,mbed)))))))))
5997 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha".
5998 `(("libxslt" ,libxslt)
5999 ("libxml2" ,libxml2)
6000 ("mbedtls-apache" ,mbedtls-for-hiawatha)
6001 ("nghttp2" ,nghttp2 "lib")
6003 (home-page "https://www.hiawatha-webserver.org")
6004 (synopsis "Webserver with focus on security")
6006 "Hiawatha has been written with security in mind.
6007 Features include the ability to stop SQL injections, XSS and CSRF attacks and
6009 (license license:gpl2)))
6011 (define-public python-httpbin
6013 (name "python-httpbin")
6018 (uri (pypi-uri "httpbin" version))
6021 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
6022 (build-system python-build-system)
6024 `(("python-decorator" ,python-decorator)
6025 ("python-flask" ,python-flask)
6026 ("python-itsdangerous" ,python-itsdangerous)
6027 ("python-markupsafe" ,python-markupsafe)
6028 ("python-six" ,python-six)))
6029 (home-page "https://github.com/Runscope/httpbin")
6030 (synopsis "HTTP request and response service")
6031 (description "Testing an HTTP Library can become difficult sometimes.
6032 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
6033 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
6035 (license license:isc)))
6037 (define-public python2-httpbin
6038 (package-with-python2 python-httpbin))
6040 (define-public python-pytest-httpbin
6042 (name "python-pytest-httpbin")
6047 (uri (pypi-uri "pytest-httpbin" version))
6050 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
6051 (build-system python-build-system)
6053 `(("python-six" ,python-six)
6054 ("python-httpbin" ,python-httpbin)
6055 ("python-pytest" ,python-pytest)))
6057 "https://github.com/kevin1024/pytest-httpbin")
6059 "Test your HTTP library against a local copy of httpbin")
6061 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
6062 into your tests. It automatically starts up a HTTP server in a separate thread running
6063 @code{httpbin} and provides your test with the URL in the fixture.")
6064 (license license:expat)))
6066 (define-public python2-pytest-httpbin
6067 (package-with-python2 python-pytest-httpbin))
6069 (define-public http-parser
6071 (name "http-parser")
6073 (home-page "https://github.com/nodejs/http-parser")
6077 (uri (git-reference (url home-page)
6078 (commit (string-append "v" version))))
6080 (base32 "1vda4dp75pjf5fcph73sy0ifm3xrssrmf927qd1x8g3q46z0cv6c"))
6081 (file-name (git-file-name name version))
6085 ;; Treat an empty port (e.g. `http://hostname:/`) when parsing
6086 ;; URLs as if no port were specified. This patch is applied
6087 ;; to Fedora's http-parser and to libgit2's bundled version.
6090 "https://src.fedoraproject.org/rpms/http-parser/raw/"
6091 "e89b4c4e2874c19079a5a1a2d2ccc61b551aa289/"
6092 "f/0001-url-treat-empty-port-as-default.patch"))
6095 "0pbxf2nq9pcn299k2b2ls8ldghaqln9glnp79gi57mamx4iy0f6g")))))))
6096 (build-system gnu-build-system)
6098 `(#:test-target "test"
6100 (list (string-append "PREFIX="
6101 (assoc-ref %outputs "out"))
6103 ,@(if (%current-target-system)
6107 (modify-phases %standard-phases
6108 ,@(match (%current-system)
6110 '((add-before 'check 'apply-assertion.patch
6111 (lambda* (#:key inputs #:allow-other-keys)
6112 (let ((patch (assoc-ref inputs "assertion.patch")))
6113 (invoke "patch" "-p1" "-i" patch)
6116 ,@(if (%current-target-system)
6117 '((replace 'configure
6118 (lambda* (#:key target #:allow-other-keys)
6119 (substitute* (find-files "." "Makefile")
6121 (string-append "CC=" target "-gcc\n"))
6123 (string-append "AR=" target "-ar\n")))
6125 '((delete 'configure))))))
6127 `(,@(match (%current-system)
6129 ;; A fix for <https://issues.guix.gnu.org/40604> which in turn
6130 ;; breaks i686-linux builds.
6131 `(("assertion.patch"
6132 ,@(search-patches "http-parser-fix-assertion-on-armhf.patch"))))
6134 (synopsis "HTTP request/response parser for C")
6135 (description "This is a parser for HTTP messages written in C. It parses
6136 both requests and responses. The parser is designed to be used in
6137 high-performance HTTP applications. It does not make any syscalls nor
6138 allocations, it does not buffer data, it can be interrupted at anytime.
6139 Depending on your architecture, it only requires about 40 bytes of data per
6140 message stream (in a web server that is per connection).")
6141 (license license:expat)))
6143 (define-public python-httpretty
6145 (name "python-httpretty")
6150 (uri (pypi-uri "httpretty" version))
6152 (base32 "1p1rb4mpngh0632xrmdfhvc8yink519yfkqz97d2ww3y0x2jvd81"))))
6153 (build-system python-build-system)
6155 `(("python-six" ,python-six)))
6157 `(("python-coverage" ,python-coverage)
6158 ("python-httplib2" ,python-httplib2)
6159 ("python-mock" ,python-mock)
6160 ("python-nose" ,python-nose)
6161 ("python-nose-randomly" ,python-nose-randomly)
6162 ("python-rednose" ,python-rednose)
6163 ("python-requests" ,python-requests)
6164 ("python-sure" ,python-sure)
6165 ("python-tornado" ,python-tornado)
6166 ("python-urllib3" ,python-urllib3)))
6167 (home-page "https://httpretty.readthedocs.io")
6168 (synopsis "HTTP client mock for Python")
6169 (description "@code{httpretty} is a helper for faking web requests,
6170 inspired by Ruby's @code{fakeweb}.")
6171 (license license:expat)))
6180 (uri (string-append "https://github.com/jpmens/jo/releases/download/"
6181 version "/jo-" version ".tar.gz"))
6183 (base32 "18jna9xlpxci3cak3z85c448zv2zr41baclgym3hk433p0p4vii4"))))
6184 (build-system gnu-build-system)
6185 (home-page "https://github.com/jpmens/jo")
6186 (synopsis "Output JSON from a shell")
6187 (description "jo is a command-line utility to create JSON objects or
6188 arrays. It creates a JSON string on stdout from words provided as
6189 command-line arguments or read from stdin.")
6190 (license (list license:gpl2+
6191 license:expat)))) ; json.c, json.h
6193 (define-public python-internetarchive
6195 (name "python-internetarchive")
6201 (url "https://github.com/jjjake/internetarchive")
6202 (commit (string-append "v" version))))
6203 (file-name (git-file-name name version))
6206 "0ih7hplv92wbv6cmgc1gs0v35qkajwicalwcq8vcljw30plr24fp"))
6207 (modules '((guix build utils)))
6210 ;; Python 3.7 removed `_pattern_type'.
6211 (for-each (lambda (file)
6214 (("^import re\n" line)
6215 (string-append line "re._pattern_type = re.Pattern\n"))))
6216 (find-files "." "\\.py$"))
6218 (build-system python-build-system)
6221 (modify-phases %standard-phases
6223 (add-after 'install 'check
6224 (lambda* (#:key inputs outputs #:allow-other-keys)
6225 (add-installed-pythonpath inputs outputs)
6226 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
6227 ":" (getenv "PATH")))
6228 (invoke "py.test" "-v" "-k"
6230 ;; These tests attempt to make a connection to
6231 ;; an external web service.
6232 "not test_get_item_with_kwargs"
6233 " and not test_ia")))))))
6235 `(("python-requests" ,python-requests)
6236 ("python-jsonpatch" ,python-jsonpatch-0.4)
6237 ("python-docopt" ,python-docopt)
6238 ("python-clint" ,python-clint)
6239 ("python-six" ,python-six)
6240 ("python-schema" ,python-schema-0.5)
6241 ("python-backports-csv" ,python-backports-csv)))
6243 `(("python-pytest" ,python-pytest)
6244 ("python-pytest-capturelog" ,python-pytest-capturelog)
6245 ("python-responses" ,python-responses)))
6246 (home-page "https://github.com/jjjake/internetarchive")
6247 (synopsis "Command-line interface to archive.org")
6248 (description "@code{ia} is a command-line tool for using
6249 @url{archive.org} from the command-line. It also emplements the
6250 internetarchive python module for programmatic access to archive.org.")
6251 (license license:agpl3+)))
6253 (define-public python-clf
6254 (let ((commit-test-clf "d01d25923c599d3261910f79fb948825b4270d07")) ; 0.5.7
6261 (uri (pypi-uri "clf" version))
6264 "0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
6265 (build-system python-build-system)
6267 `(("python-docopt" ,python-docopt)
6268 ("python-pygments" ,python-pygments)
6269 ("python-requests" ,python-requests)
6270 ("python-nose" ,python-nose)
6271 ("python-lxml" ,python-lxml)
6272 ("python-pyaml" ,python-pyaml)))
6277 (uri (string-append "https://raw.githubusercontent.com"
6278 "/ncrocfer/clf/" commit-test-clf
6282 "19lr5zdzsmxgkg7wrjq1yzkiahd03wi4k3dskssyhmjls8c10nqd"))))))
6285 (modify-phases %standard-phases
6286 (add-after 'unpack 'get-tests
6288 (copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")
6293 ;; These tests require an Internet connection.
6294 "--exclude=test_browse"
6295 "--exclude=test_command"
6296 "--exclude=test_search"))))))
6297 (home-page "https://github.com/ncrocfer/clf")
6298 (synopsis "Search code snippets on @url{https://commandlinefu.com}")
6299 (description "@code{clf} is a command line tool for searching code
6300 snippets on @url{https://commandlinefu.com}.")
6301 (license license:expat))))
6303 (define-public python2-clf
6304 (package-with-python2 python-clf))
6306 (define-public rss-bridge
6309 (version "2019-09-12")
6314 (url "https://github.com/RSS-Bridge/rss-bridge")
6316 (file-name (git-file-name name version))
6318 (base32 "1mx7f3l45nqhcrng531l4cq8kpzm164hhbwn26g5akb2pamdlnra"))))
6319 (build-system trivial-build-system)
6321 '(#:modules ((guix build utils))
6324 (use-modules (guix build utils)
6326 (let* ((out (assoc-ref %outputs "out"))
6327 (share-rss-bridge (string-append out "/share/rss-bridge")))
6328 (mkdir-p share-rss-bridge)
6329 (copy-recursively (assoc-ref %build-inputs "source") share-rss-bridge)
6331 (home-page "https://github.com/RSS-Bridge/rss-bridge")
6332 (synopsis "Generate Atom feeds for social networking websites")
6333 (description "rss-bridge generates Atom feeds for social networking
6334 websites lacking feeds. Supported websites include Facebook, Twitter,
6335 Instagram and YouTube.")
6336 (license (list license:public-domain
6337 license:expat)))) ; vendor/simplehtmldom/simple_html_dom.php
6339 (define-public linkchecker
6341 (name "linkchecker")
6347 (url "https://github.com/linkchecker/linkchecker")
6348 (commit (string-append "v" version))))
6350 (search-patches "linkchecker-tests-require-network.patch"))
6351 (file-name (git-file-name name version))
6354 "03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187"))))
6355 (build-system python-build-system)
6357 `(("python2-dnspython" ,python2-dnspython)
6358 ("python2-pyxdg" ,python2-pyxdg)
6359 ("python2-requests" ,python2-requests)))
6361 `(("gettext" ,gettext-minimal)
6362 ("python2-pytest" ,python2-pytest)
6363 ("python2-miniboa" ,python2-miniboa)
6364 ("python2-parameterized" ,python2-parameterized)))
6366 `(#:python ,python-2
6368 (modify-phases %standard-phases
6369 ;; Move the 'check phase to after 'install, so that the installed
6370 ;; library can be used
6372 (add-after 'install 'check
6373 (lambda* (#:key outputs #:allow-other-keys)
6374 (let ((out (assoc-ref outputs "out")))
6375 ;; Set PYTHONPATH so that the installed linkchecker is used
6376 (setenv "PYTHONPATH"
6377 (string-append out "/lib/python2.7/site-packages"
6379 (getenv "PYTHONPATH")))
6380 ;; Remove this directory to avoid it being used when running
6382 (delete-file-recursively "linkcheck")
6384 (invoke "py.test" "tests"))
6386 (home-page "https://linkcheck.github.io/linkchecker")
6387 (synopsis "Check websites for broken links")
6388 (description "LinkChecker is a website validator. It checks for broken
6389 links in websites. It is recursive and multithreaded providing output in
6390 colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It
6391 supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
6393 (license (list license:gpl2+
6394 license:bsd-2 ; linkcheck/better_exchook2.py
6395 license:bsd-3 ; linkcheck/colorama.py
6396 license:psfl ; linkcheck/gzip2.py
6397 license:expat)))) ; linkcheck/mem.py
6399 (define-public cadaver
6406 (uri (string-append "http://www.webdav.org/cadaver/"
6407 name "-" version ".tar.gz"))
6410 "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"))))
6411 (build-system gnu-build-system)
6412 ;; TODO: Unbundle libneon and make build succeed with new neon.
6414 `(#:configure-flags (list "--with-ssl=openssl")
6415 #:tests? #f)) ;No tests included
6417 `(("gettext" ,gettext-minimal)
6418 ("pkg-config" ,pkg-config)
6419 ("intltool" ,intltool)))
6422 ("openssl" ,openssl-1.0)))
6423 (home-page "http://www.webdav.org/cadaver/")
6424 (synopsis "Command-line WebDAV client")
6426 "Cadaver is a command-line WebDAV client for Unix. It supports
6427 file upload, download, on-screen display, namespace operations (move/copy),
6428 collection creation and deletion, and locking operations.")
6429 (license license:gpl2)))
6431 (define-public python-py-ubjson
6433 (name "python-py-ubjson")
6438 (uri (pypi-uri "py-ubjson" version))
6441 "03l9m9w5ip4hw0y69wlys5gzsfb7zcq3a77blj88grgiqhn5vm5n"))))
6442 (build-system python-build-system)
6443 (home-page "https://github.com/Iotic-Labs/py-ubjson")
6444 (synopsis "Universal Binary JSON encoder/decoder")
6446 "Py-ubjson is a Python module providing an Universal Binary JSON
6447 encoder/decoder based on the draft-12 specification for UBJSON.")
6448 (license license:asl2.0)))
6450 (define-public java-tomcat
6452 (name "java-tomcat")
6456 (uri (string-append "mirror://apache/tomcat/tomcat-8/v"
6457 version "/src/apache-tomcat-" version "-src.tar.gz"))
6460 "15lwq3clf21hzk7mma70sffpxjqn8ww5mjq6zhmwcp4m17m22z26"))
6461 (modules '((guix build utils)))
6462 ;; Delete bundled jars.
6465 (for-each delete-file (find-files "." "\\.jar$"))
6466 (for-each delete-file (find-files "." "\\.bat$"))
6468 (build-system ant-build-system)
6470 `(("java-commons-daemon" ,java-commons-daemon)
6471 ("java-ecj" ,java-ecj)))
6473 `(#:build-target "deploy"
6474 #:tests? #f; requires downloading some files.
6476 (modify-phases %standard-phases
6477 (add-after 'unpack 'prevent-download
6479 ;; This directory must exist
6481 ;; We patch build.xml so it doesn't download any dependency, because
6482 ;; we already have all of them.
6483 (substitute* "build.xml"
6484 (("download-compile,") "")
6485 (("depends=\"validate\"") "depends=\"build-prepare\"")
6486 ((",download-validate") ""))
6488 (add-after 'unpack 'strip-timestamps
6490 (substitute* "build.xml"
6491 (("<filter token=\"YEAR\" value=.*")
6492 "<filter token=\"YEAR\" value=\"1970\"/>")
6493 (("<filter token=\"VERSION_BUILT\" value=.*")
6494 "<filter token=\"VERSION_BUILT\" value=\"Jan 1 1970 00:00:00 UTC\"/>"))
6496 (add-after 'unpack 'modify-deploy
6498 ;; The Tomcat build downloads and copies these files to the
6499 ;; bin and lib directory.
6500 ;; We instead symlink to the input (see below).
6501 (substitute* "build.xml"
6502 (("<copy tofile=\"\\$\\{tomcat.build\\}/bin/commons-daemon.jar.*") "")
6503 (("<copy file=\"\\$\\{jdt.jar\\}\" todir=\"\\$\\{tomcat.build\\}/lib\"/>")
6506 (add-after 'install 'symlink-commons-daemon
6507 (lambda* (#:key inputs outputs #:allow-other-keys)
6508 (let* ((commons-daemon (assoc-ref inputs "java-commons-daemon"))
6509 (files (find-files commons-daemon "commons-daemon-.*\\.jar"))
6510 (daemon-jar (car files))
6511 (out-bin (string-append (assoc-ref outputs "out") "/bin"))
6512 (target (string-append out-bin "/commons-daemon.jar")))
6513 (symlink daemon-jar target)
6515 (add-after 'install 'symlink-java-ecj
6516 (lambda* (#:key inputs outputs #:allow-other-keys)
6517 (let* ((java-ecj (assoc-ref inputs "java-ecj"))
6518 (files (find-files java-ecj "ecj.*\\.jar"))
6519 (java-ecj-jar (car files))
6520 (out-lib (string-append (assoc-ref outputs "out") "/lib"))
6521 (target (string-append out-lib "/java-ecj.jar")))
6522 (symlink java-ecj-jar target)
6524 (add-after 'unpack 'generate-properties
6526 ;; This could have been passed to make-flags, but getcwd returns
6527 ;; a different directory then.
6528 (with-output-to-file "build.properties"
6531 (string-append "base.path=" (getcwd) "/downloads\n"))))
6534 (lambda* (#:key outputs #:allow-other-keys)
6535 (let ((out (assoc-ref outputs "out")))
6536 (copy-recursively "output/build" out))
6538 (properties '((cpe-name . "tomcat")))
6539 (home-page "https://tomcat.apache.org")
6540 (synopsis "Java Servlet, JavaServer Pages, Java Expression Language and Java
6542 (description "Apache Tomcat is a free implementation of the Java
6543 Servlet, JavaServer Pages, Java Expression Language and Java WebSocket
6545 (license license:asl2.0)))
6547 (define-public java-eclipse-jetty-test-helper
6549 (name "java-eclipse-jetty-test-helper")
6554 (url "https://github.com/eclipse/jetty.toolchain/")
6555 (commit (string-append "jetty-test-helper-" version))))
6556 (file-name (git-file-name name version))
6559 "1g7cdh03nfwbdxzvwm84ysgvw08xx7431lsjryj2gmf3lrqpizgb"))))
6560 (build-system ant-build-system)
6562 `(#:jar-name "eclipse-jetty-test-helper.jar"
6563 #:source-dir "src/main/java"
6564 #:test-dir "src/test"
6567 (modify-phases %standard-phases
6568 (add-before 'configure 'chdir
6570 (chdir "jetty-test-helper")
6572 (add-before 'build 'fix-paths
6575 ;; This file assumes that the build directory is named "target"
6576 ;; but it is not the case with our ant-build-system. Once we have
6577 ;; maven though, we will have to rebuild this package because this
6578 ;; assumption is correct with maven-build-system.
6580 "src/main/java/org/eclipse/jetty/toolchain/test/MavenTestingUtils.java"
6581 (("\"target\"") "\"build\"")
6582 (("\"tests\"") "\"test-classes\""))
6583 ;; Tests assume we are building with maven, so that the build
6584 ;; directory is named "target", and not "build".
6585 (with-directory-excursion "src/test/java/org/eclipse/jetty/toolchain/test"
6586 (substitute* '("FSTest.java" "OSTest.java" "TestingDirTest.java"
6587 "MavenTestingUtilsTest.java")
6588 (("target/tests") "build/test-classes")
6589 (("\"target") "\"build")))
6592 `(("junit" ,java-junit)
6593 ("hamcrest" ,java-hamcrest-all)))
6594 (home-page "https://www.eclipse.org/jetty/")
6595 (synopsis "Helper classes for jetty tests")
6596 (description "This package contains helper classes for testing the Jetty
6598 ;; This program is licensed under both epl and asl.
6599 (license (list license:epl1.0 license:asl2.0))))
6601 (define-public java-eclipse-jetty-perf-helper
6603 (inherit java-eclipse-jetty-test-helper)
6604 (name "java-eclipse-jetty-perf-helper")
6606 `(#:jar-name "eclipse-jetty-perf-helper.jar"
6607 #:source-dir "src/main/java"
6608 #:tests? #f; no tests
6611 (modify-phases %standard-phases
6612 (add-before 'configure 'chdir
6614 (chdir "jetty-perf-helper")
6617 `(("hdrhistogram" ,java-hdrhistogram)))))
6619 (define-public java-eclipse-jetty-util
6621 (name "java-eclipse-jetty-util")
6625 (uri (string-append "https://github.com/eclipse/jetty.project/"
6626 "archive/jetty-" version ".v20170531.tar.gz"))
6629 "0x7kbdvkmgr6kbsmbwiiyv3bb0d6wk25frgvld9cf8540136z9p1"))))
6630 (build-system ant-build-system)
6632 `(#:jar-name "eclipse-jetty-util.jar"
6633 #:source-dir "src/main/java"
6635 (list "**/Abstract*.java"
6637 "**/InetAddressSetTest.java"
6638 ;; Assumes we are using maven
6639 "**/TypeUtilTest.java"
6640 ;; Error on the style of log
6641 "**/StdErrLogTest.java")
6644 (modify-phases %standard-phases
6645 (add-before 'configure 'chdir
6647 (chdir "jetty-util")
6650 `(("slf4j" ,java-slf4j-api)
6651 ("servlet" ,java-javaee-servletapi)))
6653 `(("junit" ,java-junit)
6654 ("hamcrest" ,java-hamcrest-all)
6655 ("perf-helper" ,java-eclipse-jetty-perf-helper)
6656 ("test-helper" ,java-eclipse-jetty-test-helper)))
6657 (home-page "https://www.eclipse.org/jetty/")
6658 (synopsis "Utility classes for Jetty")
6659 (description "The Jetty Web Server provides an HTTP server and Servlet
6660 container capable of serving static and dynamic content either from a standalone
6661 or embedded instantiation. This package provides utility classes.")
6662 (license (list license:epl1.0 license:asl2.0))))
6664 ;; This version is required by maven-wagon
6665 (define-public java-eclipse-jetty-util-9.2
6667 (inherit java-eclipse-jetty-util)
6671 (uri (string-append "https://github.com/eclipse/jetty.project/"
6672 "archive/jetty-" version ".v20170606.tar.gz"))
6675 "1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
6677 `(#:jar-name "eclipse-jetty-util.jar"
6678 #:source-dir "src/main/java"
6681 (list "**/Abstract*.java"
6683 "**/InetAddressSetTest.java"
6684 ;; Assumes we are using maven
6685 "**/TypeUtilTest.java"
6686 ;; We don't have an implementation for slf4j
6688 ;; Error on the style of log
6689 "**/StdErrLogTest.java")
6691 (modify-phases %standard-phases
6692 (add-before 'configure 'chdir
6694 (chdir "jetty-util")
6696 (add-before 'build 'fix-test-sources
6698 ;; We need to fix issues caused by changes in newer versions of
6699 ;; jetty-test-helper
6700 (let ((src "src/test/java/org/eclipse/jetty/util/resource"))
6701 (substitute* (string-append src "/AbstractFSResourceTest.java")
6702 (("testdir.getDir\\(\\)") "testdir.getPath().toFile()")
6703 (("testdir.getFile\\(\"foo\"\\)")
6704 "testdir.getPathFile(\"foo\").toFile()")
6705 (("testdir.getFile\\(name\\)")
6706 "testdir.getPathFile(name).toFile()")))
6709 (define-public java-eclipse-jetty-io
6711 (inherit java-eclipse-jetty-util)
6712 (name "java-eclipse-jetty-io")
6714 `(#:jar-name "eclipse-jetty-io.jar"
6715 #:source-dir "src/main/java"
6717 #:test-exclude (list "**/Abstract*.java"
6719 "**/EndPointTest.java")
6721 (modify-phases %standard-phases
6722 (add-before 'configure 'chdir
6727 `(("slf4j" ,java-slf4j-api)
6728 ("servlet" ,java-javaee-servletapi)
6729 ("util" ,java-eclipse-jetty-util)))
6730 (synopsis "Jetty :: IO Utility")
6731 (description "The Jetty Web Server provides an HTTP server and Servlet
6732 container capable of serving static and dynamic content either from a standalone
6733 or embedded instantiation. This package provides IO-related utility classes.")))
6735 (define-public java-eclipse-jetty-io-9.2
6737 (inherit java-eclipse-jetty-io)
6738 (version (package-version java-eclipse-jetty-util-9.2))
6739 (source (package-source java-eclipse-jetty-util-9.2))
6741 `(("util" ,java-eclipse-jetty-util-9.2)
6742 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6744 `(("mockito" ,java-mockito-1)
6745 ("cglib" ,java-cglib)
6746 ("objenesis" ,java-objenesis)
6748 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6750 (define-public java-eclipse-jetty-http
6752 (inherit java-eclipse-jetty-util)
6753 (name "java-eclipse-jetty-http")
6755 `(#:jar-name "eclipse-jetty-http.jar"
6756 #:source-dir "src/main/java"
6759 (modify-phases %standard-phases
6760 (add-before 'configure 'chdir
6762 (chdir "jetty-http")
6764 (add-before 'build 'copy-resources
6766 (mkdir-p "build/classes")
6767 (copy-recursively "src/main/resources/" "build/classes/")
6770 `(("slf4j" ,java-slf4j-api)
6771 ("servlet" ,java-javaee-servletapi)
6772 ("io" ,java-eclipse-jetty-io)
6773 ("util" ,java-eclipse-jetty-util)))
6774 (synopsis "Jetty :: Http Utility")
6775 (description "The Jetty Web Server provides an HTTP server and Servlet
6776 container capable of serving static and dynamic content either from a standalone
6777 or embedded instantiation. This package provides HTTP-related utility classes.")))
6779 (define-public java-eclipse-jetty-http-9.2
6781 (inherit java-eclipse-jetty-http)
6782 (version (package-version java-eclipse-jetty-util-9.2))
6783 (source (package-source java-eclipse-jetty-util-9.2))
6785 `(("util" ,java-eclipse-jetty-util-9.2)
6786 ("io" ,java-eclipse-jetty-io-9.2)
6787 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6789 (define-public java-eclipse-jetty-jmx
6791 (inherit java-eclipse-jetty-util)
6792 (name "java-eclipse-jetty-jmx")
6794 `(#:jar-name "eclipse-jetty-jmx.jar"
6795 #:source-dir "src/main/java"
6797 #:tests? #f; FIXME: requires com.openpojo.validation
6799 (modify-phases %standard-phases
6800 (add-before 'configure 'chdir
6805 `(("slf4j" ,java-slf4j-api)
6806 ("servlet" ,java-javaee-servletapi)
6807 ("util" ,java-eclipse-jetty-util)))
6808 (synopsis "Jetty :: JMX Management")
6809 (description "The Jetty Web Server provides an HTTP server and Servlet
6810 container capable of serving static and dynamic content either from a standalone
6811 or embedded instantiation. This package provides the JMX management.")))
6813 (define-public java-eclipse-jetty-jmx-9.2
6815 (inherit java-eclipse-jetty-jmx)
6816 (version (package-version java-eclipse-jetty-util-9.2))
6817 (source (package-source java-eclipse-jetty-util-9.2))
6819 `(("util" ,java-eclipse-jetty-util-9.2)
6820 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6822 (define java-eclipse-jetty-http-test-classes
6824 (inherit java-eclipse-jetty-util)
6825 (name "java-eclipse-jetty-http-test-classes")
6827 `(#:jar-name "eclipse-jetty-http.jar"
6828 #:source-dir "src/test"
6832 (modify-phases %standard-phases
6833 (add-before 'configure 'chdir
6835 (chdir "jetty-http")
6838 `(("slf4j" ,java-slf4j-api)
6839 ("java-javaee-servletapi" ,java-javaee-servletapi)
6840 ("http" ,java-eclipse-jetty-http)
6841 ("io" ,java-eclipse-jetty-io)
6842 ("util" ,java-eclipse-jetty-util)))))
6844 (define java-eclipse-jetty-http-test-classes-9.2
6846 (inherit java-eclipse-jetty-http-test-classes)
6847 (version (package-version java-eclipse-jetty-util-9.2))
6848 (source (package-source java-eclipse-jetty-util-9.2))
6850 `(("http" ,java-eclipse-jetty-http-9.2)
6851 ,@(package-inputs java-eclipse-jetty-http-9.2)))))
6853 (define-public java-eclipse-jetty-server
6855 (inherit java-eclipse-jetty-util)
6856 (name "java-eclipse-jetty-server")
6858 `(#:jar-name "eclipse-jetty-server.jar"
6859 #:source-dir "src/main/java"
6861 #:tests? #f; requires a mockito version we don't have
6863 (modify-phases %standard-phases
6864 (add-before 'configure 'chdir
6866 (chdir "jetty-server")
6868 (add-before 'build 'fix-source
6870 ;; Explicit casts to prevent build failures
6871 (substitute* "src/main/java/org/eclipse/jetty/server/Request.java"
6872 (("append\\(LazyList")
6873 "append((CharSequence)LazyList"))
6875 "src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java"
6877 "Class<\\? extends EventListener> clazz = _classLoader==null"
6878 "\\?Loader.loadClass\\(ContextHandler.class,className\\):"
6879 "_classLoader.loadClass\\(className\\);"))
6880 (string-append "Class<? extends EventListener> clazz = "
6881 "(Class<? extends EventListener>) "
6882 "(_classLoader==null?Loader.loadClass("
6883 "ContextHandler.class,className):"
6884 "_classLoader.loadClass(className));")))
6887 `(("slf4j" ,java-slf4j-api)
6888 ("servlet" ,java-javaee-servletapi)
6889 ("http" ,java-eclipse-jetty-http)
6890 ("io" ,java-eclipse-jetty-io)
6891 ("jmx" ,java-eclipse-jetty-jmx)
6892 ("util" ,java-eclipse-jetty-util)))
6894 `(("test-classes" ,java-eclipse-jetty-http-test-classes)
6895 ,@(package-native-inputs java-eclipse-jetty-util)))
6896 (synopsis "Core jetty server artifact")
6897 (description "The Jetty Web Server provides an HTTP server and Servlet
6898 container capable of serving static and dynamic content either from a standalone
6899 or embedded instantiation. This package provides the core jetty server
6902 (define-public java-eclipse-jetty-server-9.2
6904 (inherit java-eclipse-jetty-server)
6905 (version (package-version java-eclipse-jetty-util-9.2))
6906 (source (package-source java-eclipse-jetty-util-9.2))
6908 `(("util" ,java-eclipse-jetty-util-9.2)
6909 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6910 ("io" ,java-eclipse-jetty-io-9.2)
6911 ("http" ,java-eclipse-jetty-http-9.2)
6912 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6914 `(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
6915 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6917 (define-public java-eclipse-jetty-security
6919 (inherit java-eclipse-jetty-util)
6920 (name "java-eclipse-jetty-security")
6922 `(#:jar-name "eclipse-jetty-security.jar"
6923 #:source-dir "src/main/java"
6925 #:test-exclude (list "**/ConstraintTest.*") ; This test fails
6927 (modify-phases %standard-phases
6928 (add-before 'configure 'chdir
6930 (chdir "jetty-security")
6933 `(("slf4j" ,java-slf4j-api)
6934 ("servlet" ,java-javaee-servletapi)
6935 ("http" ,java-eclipse-jetty-http)
6936 ("server" ,java-eclipse-jetty-server)
6937 ("util" ,java-eclipse-jetty-util)))
6939 `(("io" ,java-eclipse-jetty-io)
6940 ,@(package-native-inputs java-eclipse-jetty-util)))
6941 (synopsis "Jetty security infrastructure")
6942 (description "The Jetty Web Server provides an HTTP server and Servlet
6943 container capable of serving static and dynamic content either from a standalone
6944 or embedded instantiation. This package provides the core jetty security
6947 (define-public java-eclipse-jetty-security-9.2
6949 (inherit java-eclipse-jetty-security)
6950 (version (package-version java-eclipse-jetty-util-9.2))
6951 (source (package-source java-eclipse-jetty-util-9.2))
6953 `(("util" ,java-eclipse-jetty-util-9.2)
6954 ("http" ,java-eclipse-jetty-http-9.2)
6955 ("server" ,java-eclipse-jetty-server-9.2)
6956 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6958 `(("io" ,java-eclipse-jetty-io-9.2)
6959 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6961 (define-public java-eclipse-jetty-servlet
6963 (inherit java-eclipse-jetty-util)
6964 (name "java-eclipse-jetty-servlet")
6966 `(#:jar-name "eclipse-jetty-servlet.jar"
6967 #:source-dir "src/main/java"
6970 (modify-phases %standard-phases
6971 (add-before 'configure 'chdir
6973 (chdir "jetty-servlet")
6976 `(("slf4j" ,java-slf4j-api)
6977 ("java-javaee-servletapi" ,java-javaee-servletapi)
6978 ("http" ,java-eclipse-jetty-http)
6979 ("http-test" ,java-eclipse-jetty-http-test-classes)
6980 ("io" ,java-eclipse-jetty-io)
6981 ("jmx" ,java-eclipse-jetty-jmx)
6982 ("security" ,java-eclipse-jetty-security)
6983 ("server" ,java-eclipse-jetty-server)
6984 ("util" ,java-eclipse-jetty-util)))
6985 (synopsis "Jetty Servlet Container")
6986 (description "The Jetty Web Server provides an HTTP server and Servlet
6987 container capable of serving static and dynamic content either from a standalone
6988 or embedded instantiation. This package provides the core jetty servlet
6991 (define-public java-eclipse-jetty-servlet-9.2
6993 (inherit java-eclipse-jetty-servlet)
6994 (version (package-version java-eclipse-jetty-util-9.2))
6995 (source (package-source java-eclipse-jetty-util-9.2))
6997 `(#:jar-name "eclipse-jetty-servlet.jar"
6998 #:source-dir "src/main/java"
7000 #:tests? #f; doesn't work
7002 (modify-phases %standard-phases
7003 (add-before 'configure 'chdir
7005 (chdir "jetty-servlet")
7008 `(("util" ,java-eclipse-jetty-util-9.2)
7009 ("jmx" ,java-eclipse-jetty-jmx-9.2)
7010 ("io" ,java-eclipse-jetty-io-9.2)
7011 ("http" ,java-eclipse-jetty-http-9.2)
7012 ("security" ,java-eclipse-jetty-security-9.2)
7013 ("http-test" ,java-eclipse-jetty-http-test-classes-9.2)
7014 ("server" ,java-eclipse-jetty-server-9.2)
7015 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
7017 (define-public java-eclipse-jetty-xml
7019 (inherit java-eclipse-jetty-util)
7020 (name "java-eclipse-jetty-xml")
7022 `(#:jar-name "eclipse-jetty-xml.jar"
7023 #:source-dir "src/main/java"
7025 #:tests? #f; most tests require network
7027 (modify-phases %standard-phases
7028 (add-before 'configure 'chdir
7033 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)))
7035 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
7036 ,@(package-native-inputs java-eclipse-jetty-util)))))
7038 (define-public java-eclipse-jetty-xml-9.2
7040 (inherit java-eclipse-jetty-xml)
7041 (version (package-version java-eclipse-jetty-util-9.2))
7042 (source (package-source java-eclipse-jetty-util-9.2))
7044 `(#:jar-name "eclipse-jetty-xml.jar"
7045 #:source-dir "src/main/java"
7047 #:tests? #f; most tests require network
7049 (modify-phases %standard-phases
7050 (add-before 'configure 'chdir
7055 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
7056 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7058 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
7059 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7061 (define-public java-eclipse-jetty-webapp
7063 (inherit java-eclipse-jetty-util)
7064 (name "java-eclipse-jetty-webapp")
7066 `(#:jar-name "eclipse-jetty-webapp.jar"
7067 #:source-dir "src/main/java"
7070 #:test-exclude (list "**/WebAppContextTest.java")
7072 (modify-phases %standard-phases
7073 (add-before 'configure 'chdir
7075 (chdir "jetty-webapp")
7078 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)
7079 ("java-eclipse-jetty-http" ,java-eclipse-jetty-http)
7080 ("java-eclipse-jetty-server" ,java-eclipse-jetty-server)
7081 ("java-eclipse-jetty-servlet" ,java-eclipse-jetty-servlet)
7082 ("java-eclipse-jetty-security" ,java-eclipse-jetty-security)
7083 ("java-eclipse-jetty-xml" ,java-eclipse-jetty-xml)
7084 ("java-javaee-servletapi" ,java-javaee-servletapi)))
7086 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
7087 ,@(package-native-inputs java-eclipse-jetty-util)))))
7089 (define-public java-eclipse-jetty-webapp-9.2
7091 (inherit java-eclipse-jetty-webapp)
7092 (version (package-version java-eclipse-jetty-util-9.2))
7093 (source (package-source java-eclipse-jetty-util-9.2))
7095 `(#:jar-name "eclipse-jetty-webapp.jar"
7096 #:source-dir "src/main/java"
7098 #:test-exclude (list "**/WebAppContextTest.java")
7100 (modify-phases %standard-phases
7101 (add-before 'configure 'chdir
7103 (chdir "jetty-webapp")
7106 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
7107 ("java-eclipse-jetty-http-9.2" ,java-eclipse-jetty-http-9.2)
7108 ("java-eclipse-jetty-server-9.2" ,java-eclipse-jetty-server-9.2)
7109 ("java-eclipse-jetty-servlet-9.2" ,java-eclipse-jetty-servlet-9.2)
7110 ("java-eclipse-jetty-security-9.2" ,java-eclipse-jetty-security-9.2)
7111 ("java-eclipse-jetty-xml-9.2" ,java-eclipse-jetty-xml-9.2)
7112 ("java-javaee-servletapi" ,java-javaee-servletapi)
7113 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7115 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
7116 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7118 (define-public java-jsoup
7125 (url "https://github.com/jhy/jsoup")
7126 (commit (string-append "jsoup-" version))))
7127 (file-name (git-file-name name version))
7130 "1hdpdx0x140r5x3yc251v7dj1h4j5a7nh9k885aw9q5vvz49lkf4"))))
7131 (build-system ant-build-system)
7133 `(#:jar-name "jsoup.jar"
7134 #:source-dir "src/main/java"
7136 (modify-phases %standard-phases
7137 (add-before 'build 'copy-resources
7139 (let ((classes-dir (string-append (getcwd) "/build/classes")))
7140 (with-directory-excursion "src/main/java"
7141 (for-each (lambda (file)
7142 (let ((dist (string-append classes-dir "/" file)))
7143 (mkdir-p (dirname dist))
7144 (copy-file file dist)))
7145 (find-files "." ".*.properties"))))
7148 `(("java-junit" ,java-junit)
7149 ("java-hamcrest-core" ,java-hamcrest-core)
7150 ("java-gson" ,java-gson)))
7151 (home-page "https://jsoup.org")
7152 (synopsis "HTML parser")
7153 (description "Jsoup is a Java library for working with real-world HTML. It
7154 provides a very convenient API for extracting and manipulating data, using the
7155 best of DOM, CSS, and jQuery-like methods.")
7156 (license license:expat)))
7158 (define-public java-signpost-core
7160 (name "java-signpost-core")
7165 (url "https://github.com/mttkay/signpost")
7167 (file-name (git-file-name name version))
7170 "1l04yj2znch3hpyw90c4g4jan453w7d88l84bgl0c72i2kbb8z7h"))))
7171 (build-system ant-build-system)
7173 `(#:jar-name "signpost-core.jar"
7174 #:source-dir "signpost-core/src/main/java"
7175 #:test-dir "signpost-core/src/test"
7176 ;; Tests all fail with InstantiationException from mockito
7179 `(("java-commons-codec" ,java-commons-codec)))
7180 (home-page "https://github.com/mttkay/signpost")
7181 (synopsis "Lightweight client-side OAuth library for Java")
7182 (description "Signpost is the easy and intuitive solution for signing
7183 HTTP messages on the Java platform in conformance with the OAuth Core 1.0a
7184 standard. Signpost follows a modular and flexible design, allowing you to
7185 combine it with different HTTP messaging layers.")
7186 (license license:asl2.0)))
7188 (define-public tidyp
7195 (uri (string-append "https://github.com/downloads/petdance/tidyp/tidyp-"
7199 "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10"))))
7200 (build-system gnu-build-system)
7201 ;; ./test-thing.sh tries to run ./testall.sh, which is not included.
7202 (arguments `(#:tests? #f))
7203 (home-page "http://www.tidyp.com/")
7204 (synopsis "Validate HTML")
7205 (description "Tidyp is a program that can validate your HTML, as well as
7206 modify it to be more clean and standard. tidyp does not validate HTML 5.
7208 libtidyp is the library on which the program is based. It can be used by any
7209 other program that can interface to it. The Perl module @code{HTML::Tidy} is
7210 based on this library, allowing Perl programmers to easily validate HTML.")
7211 ;; See htmldoc/license.html
7212 (license license:bsd-3)))
7214 (define-public perl-html-tidy
7216 (name "perl-html-tidy")
7221 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tidy-"
7225 "1iyp2fd6j75cn1xvcwl2lxr8qpjxssy2360cyqn6g3kzd1fzdyxw"))))
7226 (build-system perl-build-system)
7229 (modify-phases %standard-phases
7230 (add-after 'unpack 'fix-tidyp-paths
7231 (lambda* (#:key inputs #:allow-other-keys)
7232 (substitute* "Makefile.PL"
7233 (("^my \\$inc = \"" line)
7235 "-I" (assoc-ref inputs "tidyp") "/include/tidyp "))
7238 "-L" (assoc-ref inputs "tidyp") "/lib")))
7241 `(("perl-libwww" ,perl-libwww)
7244 `(("perl-test-exception" ,perl-test-exception)))
7245 (home-page "https://metacpan.org/release/HTML-Tidy")
7246 (synopsis "(X)HTML validation in a Perl object")
7247 (description "@code{HTML::Tidy} is an HTML checker in a handy dandy
7248 object. It's meant as a replacement for @code{HTML::Lint}, which is written
7249 in Perl but is not nearly as capable as @code{HTML::Tidy}.")
7250 (license license:artistic2.0)))
7252 (define-public geomyidae
7260 (url "git://r-36.net/geomyidae")
7261 (commit (string-append "v" version))))
7262 (file-name (git-file-name name version))
7264 (base32 "02afgrk36wkdkflyqr2xgh49v9zq6ma454jshk7igvhpxfb5l3ks"))))
7265 (build-system gnu-build-system)
7267 `(#:make-flags (list "CC=gcc"
7268 (string-append "PREFIX="
7269 (assoc-ref %outputs "out")))
7270 #:tests? #f ; no tests
7271 #:phases (modify-phases %standard-phases
7272 (delete 'configure))))
7273 (home-page "http://r-36.net/scm/geomyidae/file/README.html")
7274 (synopsis "Small Gopher server")
7276 "Geomyidae is a server for distributed hypertext protocol Gopher. Its
7280 @item Gopher menus (see @file{index.gph} for an example);
7281 @item directory listings (if no @file{index.gph} was found);
7282 @item CGI support (@file{.cgi} files are executed);
7283 @item search support in CGI files;
7284 @item logging with multiple log levels.
7286 (license license:expat)))
7288 (define-public cat-avatar-generator
7290 (name "cat-avatar-generator")
7295 (url "https://framagit.org/Deevad/cat-avatar-generator.git")
7296 (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
7297 (file-name (string-append name "-" version))
7300 "0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
7301 (build-system trivial-build-system)
7303 `(#:modules ((guix build utils))
7306 (use-modules (guix build utils)
7310 (let ((source (assoc-ref %build-inputs "source"))
7311 (php-dir (string-append %output "/share/web/" ,name "/")))
7312 ;; The cache directory must not be in the store, but in a writable
7313 ;; location. The webserver will give us this location.
7314 (copy-recursively source php-dir)
7315 (substitute* (string-append php-dir "/cat-avatar-generator.php")
7316 (("\\$cachepath = .*")
7317 "if(isset($_SERVER['CACHE_DIR']))
7318 $cachepath = $_SERVER['CACHE_DIR'];
7320 die('You need to set the CACHE_DIR variable first.');"))
7322 (home-page "https://framagit.org/Deevad/cat-avatar-generator")
7323 (synopsis "Random avatar generator")
7324 (description "Cat avatar generator is a generator of cat pictures optimised
7325 to generate random avatars, or defined avatar from a \"seed\". This is a
7326 derivation by David Revoy from the original MonsterID by Andreas Gohr.")
7327 ;; expat for the code, CC-BY 4.0 for the artwork
7328 (license (list license:expat
7329 license:cc-by4.0))))
7331 (define-public nghttp2
7335 (replacement nghttp2-1.41)
7339 (uri (string-append "https://github.com/nghttp2/nghttp2/"
7340 "releases/download/v" version "/"
7341 "nghttp2-" version ".tar.xz"))
7344 "0wwhwv7cvi1vxpdjwvg0kpa4jzhszclpnwrwfcw728zz53a47z09"))))
7345 (build-system gnu-build-system)
7346 (outputs (list "out"
7347 "lib")) ; only libnghttp2
7349 `(("pkg-config" ,pkg-config)
7351 ;; Required by tests.
7353 ("tzdata" ,tzdata-for-tests)))
7355 ;; Required to build the tools (i.e. without ‘--enable-lib-only’).
7356 `(("c-ares" ,c-ares)
7357 ("jansson" ,jansson) ; for HPACK tools
7358 ,@(if (hurd-target?) '()
7359 `(("jemalloc" ,jemalloc))) ; fight nghttpd{,x} heap fragmentation
7361 ("libxml2" ,libxml2) ; for ‘nghttp -a’
7362 ("openssl" ,openssl)
7363 ,@(if (hurd-target?)
7364 `(("openssl-static" ,openssl "static"))
7368 (list (string-append "--libdir=" (assoc-ref %outputs "lib") "/lib")
7369 "--enable-app" ; build all the tools
7370 "--enable-hpack-tools" ; ...all the tools
7371 "--disable-examples"
7372 "--disable-static") ; don't bother building .a files
7374 (modify-phases %standard-phases
7375 (add-after 'unpack 'break-circular-reference
7376 ;; libnghttp2.pc by default retains a reference to the ‘out’ output,
7377 ;; which is not allowed. Break this cycle. While we could install
7378 ;; only the library to ‘out’ and move everything else to a separate
7379 ;; output, this would inconvenience the majority of (human) users.
7380 (lambda* (#:key outputs #:allow-other-keys)
7381 (substitute* "lib/libnghttp2.pc.in"
7383 (assoc-ref outputs "lib")))
7385 (add-before 'check 'set-timezone-directory
7386 (lambda* (#:key inputs native-inputs #:allow-other-keys)
7387 (setenv "TZDIR" (string-append
7388 (assoc-ref (or native-inputs inputs) "tzdata")
7391 (home-page "https://nghttp2.org/")
7392 (synopsis "HTTP/2 protocol client, proxy, server, and library")
7394 "nghttp2 implements the Hypertext Transfer Protocol, version
7397 A reusable C library provides the HTTP/2 framing layer, with several tools built
7401 @item @command{nghttp}, a command-line HTTP/2 client. It exposes many advanced
7402 and low-level aspects of the protocol and is useful for debugging.
7403 @item @command{nghttpd}, a fast, multi-threaded HTTP/2 static web server that
7404 serves files from a local directory.
7405 @item @command{nghttpx}, a fast, multi-threaded HTTP/2 reverse proxy that can be
7406 deployed in front of existing web servers that don't support HTTP/2.
7407 Both @command{nghttpd} and @command{nghttpx} can fall back to HTTP/1.1 for
7408 backwards compatibility with clients that don't speak HTTP/2.
7409 @item @command{h2load} for benchmarking (only!) your own HTTP/2 servers.
7410 @item HTTP/2 uses a header compression method called @dfn{HPACK}.
7411 nghttp2 provides a HPACK encoder and decoder as part of its public API.
7412 @item @command{deflatehd} converts JSON data or HTTP/1-style header fields to
7413 compressed JSON header blocks.
7414 @item @command{inflatehd} converts such compressed headers back to JSON pairs.
7416 (license license:expat)))
7418 (define-public nghttp2-1.41 ;fixes CVE-2020-11080
7425 (uri (string-append "https://github.com/nghttp2/nghttp2/"
7426 "releases/download/v" version "/"
7427 "nghttp2-" version ".tar.xz"))
7430 "1hk77vngjmvvzb5y1gi1aqwf6qywrc7yak08zvzb7x81qs6mphmb"))))))
7432 (define-public hpcguix-web
7433 (let ((commit "9de63562b06b4aef3a3afe5ecb18d3c91e57ee74")
7436 (name "hpcguix-web")
7437 (version (git-version "0.0.1" revision commit))
7441 (url "https://github.com/UMCUGenetics/hpcguix-web")
7443 (file-name (git-file-name name version))
7446 "0wjgj2s7v2cyz6dx24c111rxs99i84sfvxl4ch8brnh02j2606jz"))))
7447 (build-system gnu-build-system)
7449 `(#:modules ((guix build gnu-build-system)
7455 (modify-phases %standard-phases
7456 (add-before 'configure 'set-variables
7458 ;; This prevents a few warnings
7459 (setenv "GUILE_AUTO_COMPILE" "0")
7460 (setenv "XDG_CACHE_HOME" (getcwd))
7462 (add-after 'install 'wrap-program
7463 (lambda* (#:key inputs outputs #:allow-other-keys)
7464 (let* ((out (assoc-ref outputs "out"))
7465 (guix (assoc-ref inputs "guix"))
7466 (guile (assoc-ref inputs "guile"))
7467 (gcrypt (assoc-ref inputs "guile-gcrypt"))
7468 (git (assoc-ref inputs "guile-git"))
7469 (bs (assoc-ref inputs "guile-bytestructures"))
7470 (json (assoc-ref inputs "guile-json"))
7471 (guile-cm (assoc-ref inputs
7472 "guile-commonmark"))
7473 (deps (list guile gcrypt git bs guile-cm guix json))
7476 (open-pipe* OPEN_READ
7477 (string-append guile "/bin/guile")
7478 "-c" "(display (effective-version))")))
7480 (map (cut string-append <>
7481 "/share/guile/site/"
7485 (gopath (string-join
7486 (map (cut string-append <>
7487 "/lib/guile/" effective
7491 (wrap-program (string-append out "/bin/run")
7492 `("GUILE_LOAD_PATH" ":" prefix (,path))
7493 `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath)))
7497 `(("autoconf" ,autoconf)
7498 ("automake" ,automake)
7499 ("uglify-js" ,uglify-js)
7500 ("pkg-config" ,pkg-config)))
7502 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
7505 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
7506 ("guile-commonmark" ,guile-commonmark)
7507 ("guile-json" ,guile-json-4)))
7508 (home-page "https://github.com/UMCUGenetics/hpcguix-web")
7509 (synopsis "Web interface for cluster deployments of Guix")
7510 (description "Hpcguix-web provides a web interface to the list of packages
7511 provided by Guix. The list of packages is searchable and provides
7512 instructions on how to use Guix in a shared HPC environment.")
7513 (license license:agpl3+))))
7515 (define-public httrack
7521 (uri (string-append "https://mirror.httrack.com/historical/"
7522 "httrack-" version ".tar.gz"))
7525 "09a0gm67nml86qby1k1gh7rdxamnrnzwr6l9r5iiq94favjs0xrl"))))
7526 (build-system gnu-build-system)
7528 `(("libressl" ,libressl)
7530 (home-page "https://www.httrack.com/")
7531 (synopsis "Easy-to-use offline browser utility")
7532 (description "HTTrack allows you to download a World Wide Web site from
7533 the Internet to a local directory, building recursively all directories,
7534 getting HTML, images, and other files from the server to your computer.
7536 HTTrack arranges the original site's relative link-structure. Simply open
7537 a page of the @emph{mirrored} website in your browser, and you can browse the
7538 site from link to link, as if you were viewing it online. HTTrack can also
7539 update an existing mirrored site, and resume interrupted downloads.
7541 HTTrack is fully configurable, and has an integrated help system.")
7542 (license license:gpl3+)))
7551 (uri (pypi-uri "buku" version))
7552 (file-name (git-file-name name version))
7555 "1g1xhdskfn72xaraqzz2v8dl2iza7bzfpn17z2wdrzkq3ih7yvgg"))))
7556 (build-system python-build-system)
7558 `(#:tests? #f)) ;FIXME: many tests need network access
7560 `(("python-beautifulsoup4" ,python-beautifulsoup4)
7561 ("python-certifi" ,python-certifi)
7562 ("python-cryptography" ,python-cryptography)
7563 ("python-html5lib" ,python-html5lib)
7564 ("python-urllib3" ,python-urllib3)))
7565 (home-page "https://github.com/jarun/buku")
7566 (synopsis "Bookmark manager")
7568 "buku is a powerful bookmark manager written in Python3 and SQLite3.
7569 @command{buku} can auto-import bookmarks from your browser and present them
7570 in an interactive command-line interface that lets you compose and update
7571 bookmarks directly. It can also present them in a web interface with
7572 @command{bukuserver}.")
7573 (license license:gpl3+)))
7575 (define-public anonip
7581 (uri (pypi-uri "anonip" version))
7584 "0ckn9nnfhpdnz8b92q8pkysdqj6pdh71ckfqvfj0z01cq0hzbhd2"))))
7585 (build-system python-build-system)
7586 (home-page "https://github.com/DigitaleGesellschaft/Anonip")
7587 (synopsis "Anonymize IP addresses in log files")
7589 "Anonip masks the last bits of IPv4 and IPv6 addresses in log files.
7590 That way most of the relevant information is preserved, while the IP address
7591 does not match a particular individuum anymore.
7593 Depending on your Web server, the log entries may be piped to Anonip directly
7594 or via a FIFO (named pipe). Thus the unmasked IP addresses will never be
7595 written to any file.
7597 It's also possible to rewrite existing log files.
7599 Anonip can also be uses as a Python module in your own Python application.")
7600 (license license:bsd-3)))
7602 (define-public poussetaches
7604 (name "poussetaches")
7610 (url "https://github.com/tsileo/poussetaches")
7612 (file-name (git-file-name name version))
7615 "0kckcwvqklavd855np9aq5js6mg84isrlwchr504yigwma0sm7hm"))))
7616 (build-system go-build-system)
7618 `(("go-github-com-robfig-cron" ,go-github-com-robfig-cron)
7619 ("go-golang-org-x-time" ,go-golang-org-x-time)))
7621 `(#:import-path "github.com/tsileo/poussetaches"))
7622 (home-page "https://github.com/tsileo/poussetaches")
7623 (synopsis "Lightweight asynchronous task execution service")
7624 (description "Poussetaches (which literally means \"push tasks\" in
7625 French) is a lightweight asynchronous task execution service that aims to
7626 replace Celery and RabbitMQ for small Python applications.
7628 The app posts base64-encoded payload to poussetaches and specifies the
7629 endpoint that will be used to trigger the task. Poussetaches makes HTTP
7630 requests with the registered payload until the right status code is
7632 (license license:isc)))
7634 (define-public htmlcxx
7642 (string-append "mirror://sourceforge/htmlcxx/v"
7643 version "/htmlcxx-" version ".tar.gz"))
7645 (base32 "1j3mzjlczjrk4ahc43s6kzpvzypzjmqz4sillnca5yadrwwgjf2x"))))
7646 (build-system gnu-build-system)
7647 (home-page "http://htmlcxx.sourceforge.net/")
7648 (synopsis "Simple non-validating CSS1 and HTML parser for C++")
7649 (description "htmlcxx is a simple non-validating CSS1 and HTML parser for
7650 C++. Although there are several other HTML parsers available, htmlcxx has some
7651 characteristics that make it unique:
7653 @item STL like navigation of DOM tree, using excelent's tree.hh library from
7655 @item It is possible to reproduce exactly, character by character, the original
7656 document from the parse tree
7657 @item Bundled CSS parser
7658 @item Optional parsing of attributes
7659 @item C++ code that looks like C++ (not so true anymore)
7660 @item Offsets of tags/elements in the original document are stored in the nodes
7663 (license (list license:lgpl2.0
7667 (define-public librocket
7676 (url "https://github.com/libRocket/libRocket")
7677 (commit (string-append "release-" version))))
7678 (file-name (git-file-name name version))
7680 (base32 "1n6gq007vqijyfasfnfg6c8d2rc9qarl4bhzbgkz062m4h5izlfs"))))
7681 (build-system cmake-build-system)
7683 `(#:tests? #f ; No tests.
7685 (modify-phases %standard-phases
7686 (add-after 'unpack 'chdir
7688 (chdir "Build"))))))
7690 `(("freetype" ,freetype)))
7691 (home-page "https://github.com/libRocket/libRocket") ; http://librocket.com/ is down.
7692 (synopsis "HTML/CSS user interface library")
7693 (description "libRocket is a C++ user interface package based on the HTML
7694 and CSS standards. libRocket uses the open standards XHTML1.0 and
7695 CSS2.0 (while borrowing features from HTML5 and CSS3), and extends them with
7696 features suited towards real-time applications. It is designed as a complete
7697 solution for any project's interface needs:
7700 @item Dynamic layout system.
7701 @item Efficient application-wide styling, with a custom-built templating engine.
7702 @item Fully featured control set: buttons, sliders, drop-downs, etc.
7703 @item Runtime visual debugging suite.
7704 @item Easily integrated and extensible with Python or Lua scripting.
7706 (license license:expat)))
7708 (define-public gmnisrv
7709 (let ((commit "a22bec51494a50c044416d469cc33e043480e7fd"))
7712 (version (git-version "0" "0" commit))
7713 (home-page "https://git.sr.ht/~sircmpwn/gmnisrv")
7721 "1k1n7cqd37jgbhxyh231bagdxdxqwpr6n5pk3gax2516w6xbzlb9"))
7722 (file-name (git-file-name name version))))
7723 (build-system gnu-build-system)
7726 (modify-phases %standard-phases
7727 (add-before 'configure 'set-variables
7732 (add-after 'install 'install-config
7733 (lambda* (#:key outputs #:allow-other-keys)
7734 (let ((etc (string-append (assoc-ref outputs "out")
7737 (copy-file "config.ini" (string-append etc "/gmnisrv.ini"))
7740 `(("openssl" ,openssl)))
7742 `(("pkg-config" ,pkg-config)
7744 (synopsis "Simple Gemini protocol server")
7745 (description "gmnisrv is a simple Gemini protocol server written in C.")
7746 (license (list license:gpl3+
7747 license:bsd-3))))) ;; for ini.c and ini.h