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 mail)
133 #:use-module (gnu packages man)
134 #:use-module (gnu packages markup)
135 #:use-module (gnu packages ncurses)
136 #:use-module (gnu packages networking)
137 #:use-module (gnu packages nss)
138 #:use-module (gnu packages openldap)
139 #:use-module (gnu packages openstack)
140 #:use-module (gnu packages package-management)
141 #:use-module (gnu packages pcre)
142 #:use-module (gnu packages perl)
143 #:use-module (gnu packages perl-check)
144 #:use-module (gnu packages python)
145 #:use-module (gnu packages python-crypto)
146 #:use-module (gnu packages python-web)
147 #:use-module (gnu packages python-xyz)
148 #:use-module (gnu packages pkg-config)
149 #:use-module (gnu packages qt)
150 #:use-module (gnu packages re2c)
151 #:use-module (gnu packages readline)
152 #:use-module (gnu packages sphinx)
153 #:use-module (gnu packages texinfo)
154 #:use-module (gnu packages textutils)
155 #:use-module (gnu packages tls)
156 #:use-module (gnu packages valgrind)
157 #:use-module (gnu packages version-control)
158 #:use-module (gnu packages vim)
159 #:use-module (gnu packages xml)
160 #:use-module ((srfi srfi-1) #:select (delete-duplicates)))
168 (uri (string-append "mirror://apache/httpd/httpd-"
172 "1sj1rwgbcjgkzac3ybjy7j68c9b3dv3ap71m48mrjhf6w7vds3kl"))))
173 (build-system gnu-build-system)
174 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
175 (inputs `(("apr" ,apr)
176 ("apr-util" ,apr-util)
178 ("perl" ,perl))) ; needed to run bin/apxs
180 `(#:test-target "test"
181 #:configure-flags (list "--enable-rewrite"
183 "--enable-vhost-alias"
185 "--enable-mime-magic"
186 (string-append "--sysconfdir="
187 (assoc-ref %outputs "out")
189 (synopsis "Featureful HTTP server")
191 "The Apache HTTP Server Project is a collaborative software development
192 effort aimed at creating a robust, commercial-grade, featureful, and
193 freely-available source code implementation of an HTTP (Web) server. The
194 project is jointly managed by a group of volunteers located around the world,
195 using the Internet and the Web to communicate, plan, and develop the server
196 and its related documentation.")
197 (license license:asl2.0)
198 (home-page "https://httpd.apache.org/")))
200 (define-public mod-wsgi
207 (url "https://github.com/GrahamDumpleton/mod_wsgi")
209 (file-name (git-file-name name version))
212 "1savh6h3qds20mwn1nqasmqzcp57pdhfc9v4b4k78d6q28y0r17s"))))
213 (build-system gnu-build-system)
215 '(#:tests? #f ; TODO: can't figure out if there are tests
217 (string-append "DESTDIR="
218 (assoc-ref %outputs "out"))
219 "LIBEXECDIR=/modules")))
222 ("python" ,python-wrapper)))
223 (synopsis "Apache HTTPD module for Python WSGI applications")
225 "The mod_wsgi module for the Apache HTTPD Server adds support for running
226 applications that support the Python @acronym{WSGI, Web Server Gateway
227 Interface} specification.")
228 (license license:asl2.0)
229 (home-page "https://modwsgi.readthedocs.io/")))
234 ;; Track the ‘mainline’ branch. Upstream considers it more reliable than
235 ;; ’stable’ and recommends that “in general you deploy the NGINX mainline
236 ;; branch at all times” (https://www.nginx.com/blog/nginx-1-6-1-7-released/)
237 ;; Consider updating the nginx-documentation package together with this one.
241 (uri (string-append "https://nginx.org/download/nginx-"
245 "173rv8gacd9bakb0r9jmkr4pqgjw9mzpdh3f7x2d8ln4ssplc2jw"))))
246 (build-system gnu-build-system)
247 (inputs `(("openssl" ,openssl)
251 `(#:tests? #f ; no test target
253 (modify-phases %standard-phases
254 (add-before 'configure 'patch-/bin/sh
256 (substitute* "auto/feature"
257 (("/bin/sh") (which "sh")))
260 ;; The configure script is hand-written, not from GNU autotools.
261 (lambda* (#:key configure-flags outputs #:allow-other-keys)
263 (append (list (string-append "--prefix=" (assoc-ref outputs "out"))
264 "--with-http_ssl_module"
265 "--with-http_v2_module"
268 ;; Even when not cross-building, we pass the
269 ;; --crossbuild option to avoid customizing for the
270 ;; kernel version on the build machine.
271 ,(let ((system "Linux") ; uname -s
272 (release "3.2.0") ; uname -r
274 (machine (match (or (%current-target-system)
276 ("x86_64-linux" "x86_64")
277 ("i686-linux" "i686")
278 ("mips64el-linux" "mips64")
279 ;; Prevent errors when querying
280 ;; this package on unsupported
281 ;; platforms, e.g. when running
282 ;; "guix package --search="
284 (string-append "--crossbuild="
285 system ":" release ":" machine)))
288 (format #t "configure flags: ~s~%" flags)
289 (apply invoke "./configure" flags)
291 (add-after 'install 'install-man-page
292 (lambda* (#:key outputs #:allow-other-keys)
293 (let* ((out (assoc-ref outputs "out"))
294 (man (string-append out "/share/man")))
295 (install-file "objs/nginx.8" (string-append man "/man8"))
297 (add-after 'install 'fix-root-dirs
298 (lambda* (#:key outputs #:allow-other-keys)
299 ;; 'make install' puts things in strange places, so we need to
300 ;; clean it up ourselves.
301 (let* ((out (assoc-ref outputs "out"))
302 (share (string-append out "/share/nginx")))
303 ;; This directory is empty, so get rid of it.
304 (rmdir (string-append out "/logs"))
305 ;; Example configuration and HTML files belong in
308 (rename-file (string-append out "/conf")
309 (string-append share "/conf"))
310 (rename-file (string-append out "/html")
311 (string-append share "/html"))
313 (home-page "https://nginx.org")
314 (synopsis "HTTP and reverse proxy server")
316 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
317 created by Igor Sysoev. It can be used both as a stand-alone web server
318 and as a proxy to reduce the load on back-end HTTP or mail servers.")
319 ;; Almost all of nginx is distributed under the bsd-2 license.
320 ;; The exceptions are:
321 ;; * The 'nginx-http-push' module is covered by the expat license.
322 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
323 ;; except for two source files which are bsd-4 licensed.
324 (license (list license:bsd-2 license:expat license:bsd-3 license:bsd-4))))
326 (define-public nginx-documentation
327 ;; This documentation should be relevant for the current nginx package.
328 (let ((version "1.19.5")
330 (changeset "64bbb9163a14"))
332 (name "nginx-documentation")
333 (version (simple-format #f "~A-~A-~A" version revision changeset))
335 (origin (method hg-fetch)
337 (url "http://hg.nginx.org/nginx.org")
338 (changeset changeset)))
339 (file-name (string-append name "-" version))
342 "085f3c00mqsaq95hp1bv9y0b517jv4zzs2q0j1c9m8nvh7k09zaa"))))
343 (build-system gnu-build-system)
345 '(#:tests? #f ; no test suite
347 (modify-phases %standard-phases
348 (delete 'configure) ; no configure script
350 (lambda* (#:key outputs #:allow-other-keys)
351 (let ((output (assoc-ref outputs "out")))
352 (substitute* "umasked.sh"
353 ((" /bin/sh") (string-append " " (which "sh"))))
354 ;; The documentation includes a banner, which makes sense on
355 ;; the NGinx website, but doesn't make much sense when
356 ;; viewing locally. Therefore, modify the CSS to remove the
358 (substitute* "xslt/style.xslt"
359 (("#banner \\{ background: black;")
360 "#banner { display: none;"))
364 (lambda* (#:key outputs #:allow-other-keys)
365 (let ((output (assoc-ref outputs "out")))
367 (copy-recursively "libxslt" output)
370 `(("libxml2" ,libxml2)
372 ("nginx-xslscript" ,nginx-xslscript)))
373 (home-page "https://nginx.org")
374 (synopsis "Documentation for the nginx web server")
376 "This package provides HTML documentation for the nginx web server.")
377 (license license:bsd-2))))
379 (define-public nginx-accept-language-module
380 ;; Upstream has never made a release; use current commit instead.
381 (let ((commit "2f69842f83dac77f7d98b41a2b31b13b87aeaba7")
384 (name "nginx-accept-language-module")
385 (version (git-version "0.0.0" ;upstream has no version number
391 (url "https://github.com/giom/nginx_accept_language_module")
393 (file-name (git-file-name name version))
395 (base32 "1hjysrl15kh5233w7apq298cc2bp4q1z5mvaqcka9pdl90m0vhbw"))))
396 (build-system gnu-build-system)
397 (inputs `(("openssl" ,openssl)
399 ("nginx-sources" ,(package-source nginx))
402 `(#:tests? #f ; no test target
403 #:make-flags (list "modules")
404 #:modules ((guix build utils)
405 (guix build gnu-build-system)
408 (ice-9 textual-ports))
410 (modify-phases %standard-phases
411 (add-after 'unpack 'unpack-nginx-sources
412 (lambda* (#:key inputs native-inputs #:allow-other-keys)
414 ;; The nginx source code is part of the module’s source.
415 (format #t "decompressing nginx source code~%")
416 (let ((tar (assoc-ref inputs "tar"))
417 (nginx-srcs (assoc-ref inputs "nginx-sources")))
418 (invoke (string-append tar "/bin/tar")
419 "xvf" nginx-srcs "--strip-components=1"))
421 (add-after 'unpack 'convert-to-dynamic-module
424 (with-atomic-file-replacement "config"
426 ;; cf. https://www.nginx.com/resources/wiki/extending/new_config/
427 (format out "ngx_module_type=HTTP~%")
428 (format out "ngx_module_name=\
429 ngx_http_accept_language_module~%")
430 (let* ((str (get-string-all in))
432 "NGX_ADDON_SRCS=\"\\$NGX_ADDON_SRCS (.*)\""))
433 (m (regexp-exec rx str))
434 (srcs (match:substring m 1)))
435 (format out (string-append "ngx_module_srcs=\""
437 (format out ". auto/module~%")
438 (format out "ngx_addon_name=$ngx_module_name~%"))))))
439 (add-before 'configure 'patch-/bin/sh
441 (substitute* "auto/feature"
442 (("/bin/sh") (which "sh")))
445 ;; This phase is largely copied from the nginx package.
446 (lambda* (#:key outputs #:allow-other-keys)
448 (list ;; A copy of nginx’ flags follows, otherwise we
449 ;; get a binary compatibility error. FIXME: Code
450 ;; duplication is bad.
451 (string-append "--prefix=" (assoc-ref outputs "out"))
452 "--with-http_ssl_module"
453 "--with-http_v2_module"
456 ;; Even when not cross-building, we pass the
457 ;; --crossbuild option to avoid customizing for the
458 ;; kernel version on the build machine.
459 ,(let ((system "Linux") ; uname -s
460 (release "3.2.0") ; uname -r
462 (machine (match (or (%current-target-system)
464 ("x86_64-linux" "x86_64")
465 ("i686-linux" "i686")
466 ("mips64el-linux" "mips64")
467 ;; Prevent errors when querying
468 ;; this package on unsupported
469 ;; platforms, e.g. when running
470 ;; "guix package --search="
472 (string-append "--crossbuild="
473 system ":" release ":" machine))
474 ;; The following are the args decribed on
475 ;; <https://www.nginx.com/blog/compiling-dynamic-modules-nginx-plus>.
476 ;; Enabling --with-compat here and in the nginx package
477 ;; would ensure binary compatibility even when using
478 ;; different configure options from the main nginx
479 ;; package. This is not needed for Guix.
481 "--add-dynamic-module=.")))
483 (format #t "environment variable `CC' set to `gcc'~%")
484 (format #t "configure flags: ~s~%" flags)
485 (apply invoke "./configure" flags)
488 (lambda* (#:key outputs #:allow-other-keys)
489 (let* ((out (assoc-ref outputs "out"))
490 (modules-dir (string-append out "/etc/nginx/modules"))
491 (doc-dir (string-append
492 out "/share/doc/nginx-accept-language-module")))
493 (mkdir-p modules-dir)
494 (copy-file "objs/ngx_http_accept_language_module.so"
496 modules-dir "/ngx_http_accept_language_module.so"))
498 (copy-file "README.textile"
499 (string-append doc-dir "/README.textile"))
502 "https://www.nginx.com/resources/wiki/modules/accept_language/")
503 (synopsis "Nginx module for parsing the Accept-Language HTTP header")
505 "This nginx module parses the Accept-Language field in HTTP headers and
506 chooses the most suitable locale for the user from the list of locales
507 supported at your website.")
508 (license (delete-duplicates
509 (cons license:bsd-2 ;license of nginx-accept-language-module
510 ;; The module’s code is linked statically with nginx,
511 ;; therefore nginx’ other licenses may also apply to its
513 (package-license nginx)))))))
515 (define nginx-xslscript
517 (changeset "01dc9ba12e1b"))
519 (name "nginx-xslscript")
521 (simple-format #f "2014-03-31-~A-~A" revision changeset))
525 (url "http://hg.nginx.org/xslscript")
526 (changeset changeset)))
527 (file-name (string-append name "-" version))
530 "0am8zvdx3jmiwkg5q07qjaw5r26r4i2v5i4yr8a1k0jgib6ii08g"))))
531 (build-system gnu-build-system)
533 '(#:tests? #f ; No test suite
535 (modify-phases %standard-phases
539 (lambda* (#:key outputs #:allow-other-keys)
540 (let ((out-bin (string-append
541 (assoc-ref outputs "out")
544 (copy-file "xslscript.pl"
549 (home-page "http://hg.nginx.org/xslscript")
550 (synopsis "XSLScript with NGinx specific modifications")
552 "XSLScript is a terse notation for writing complex XSLT stylesheets.
553 This is modified version, specifically intended for use with the NGinx
555 (license license:bsd-2))))
557 (define nginx-socket-cloexec
560 (name "nginx-socket-cloexec") ;required for lua-resty-shell
563 (inherit (package-source nginx))
564 (patches (append (search-patches "nginx-socket-cloexec.patch")
565 (origin-patches (package-source nginx))))))))
567 (define-public nginx-lua-module
570 (name "nginx-lua-module")
576 (url "https://github.com/openresty/lua-nginx-module")
577 (commit (string-append "v" version))))
578 (file-name (git-file-name "lua-nginx-module" version))
580 (base32 "0nwcbqm1visg1dkxav7qa16w0d0n8cgqn4881xiqn88xfkxj0dyg"))))
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/" version
1356 "/libpsl-" version ".tar.gz"))
1359 "0k0d46bbh1jj2ll369f134vciplrzbqkg7fv9m62bl6lzghy2v5c"))))
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))
1436 (base32 "1b8ibxx1imh7jaspi3b36kpmijc06viv49ms7fml20yc0br2qbwj"))
1437 (modules '((guix build utils)))
1440 ;; Remove prebuilt binaries
1441 (delete-file-recursively "npm")
1443 (build-system go-build-system)
1445 '(#:import-path "github.com/evanw/esbuild/cmd/esbuild"
1446 #:unpack-path "github.com/evanw/esbuild"
1448 (modify-phases %standard-phases
1450 (lambda* (#:key tests? unpack-path #:allow-other-keys)
1452 (with-directory-excursion (string-append "src/" unpack-path)
1453 (invoke "make" "test-go")))
1456 `(("golang.org/x/sys" ,go-golang-org-x-sys)))
1458 `(("github.com/kylelemons/godebug" ,go-github-com-kylelemons-godebug)))
1459 (home-page "https://esbuild.github.io/")
1460 (synopsis "Bundler and minifier tool for JavaScript and TypeScript")
1462 "The esbuild tool provides a unified bundler, transpiler and
1463 minifier. It packages up JavaScript and TypeScript code, along with JSON
1464 and other data, for distribution on the web.")
1465 (license license:expat)))
1467 (define-public tinyproxy
1473 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
1474 "releases/download/" version "/tinyproxy-"
1478 "10jnk6y2swld25mm47mjc0nkffyzsfysnsxwr7cs0ns1kil8ggjr"))))
1479 (build-system gnu-build-system)
1483 ;; For the log file, etc.
1484 "--localstatedir=/var")
1486 (modify-phases %standard-phases
1487 (add-before 'build 'pre-build
1488 (lambda* (#:key inputs #:allow-other-keys #:rest args)
1489 ;; Uncommenting the next two lines may assist in debugging
1490 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
1491 ;; (setenv "XML_DEBUG_CATALOG" "1")
1493 (home-page "https://tinyproxy.github.io/")
1494 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
1495 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
1496 daemon. Designed from the ground up to be fast and yet small, it is an ideal
1497 solution for use cases such as embedded deployments where a full featured HTTP
1498 proxy is required, but the system resources for a larger proxy are
1500 (license license:gpl2+)))
1502 (define-public polipo
1510 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
1514 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
1515 (native-inputs `(("texinfo" ,texinfo)))
1516 (build-system gnu-build-system)
1518 `(#:phases (modify-phases %standard-phases
1519 (delete 'configure))
1520 #:make-flags (let ((out (assoc-ref %outputs "out")))
1521 (list (string-append "PREFIX=" out)
1522 (string-append "LOCAL_ROOT="
1523 out "/share/polipo/www")
1525 ;; No 'check' target.
1527 (home-page "https://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
1528 (synopsis "Small caching web proxy")
1530 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
1531 server). It was primarily designed to be used by one person or a small group
1533 (license license:expat)))
1535 (define-public websockify
1542 (url "https://github.com/novnc/websockify")
1543 (commit (string-append "v" version))))
1544 (file-name (git-file-name name version))
1547 "0pcic8qs0gdwrfjgfaf893jyddaw97wcjm2mmvwn0xyhmy8mbmw1"))))
1548 (build-system python-build-system)
1550 `(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No module
1551 ; named 'stubout'". The tests can be run by replacing the check phase with
1552 ; the command "python setup.py nosetests --verbosity=3".
1553 (native-inputs `(; Required for tests:
1554 ("python-mox3" ,python-mox3)
1555 ("python-nose" ,python-nose)))
1556 (propagated-inputs `(("python-numpy" ,python-numpy)))
1557 (home-page "https://github.com/novnc/websockify")
1558 (synopsis "WebSockets support for any application/server")
1559 (description "Websockify translates WebSockets traffic to normal socket
1560 traffic. Websockify accepts the WebSockets handshake, parses it, and then
1561 begins forwarding traffic between the client and the target in both
1563 (license license:lgpl3)))
1565 (define-public wwwoffle
1571 (uri (string-append "https://www.gedanken.org.uk/software/"
1572 "wwwoffle/download/wwwoffle-"
1576 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
1577 (build-system gnu-build-system)
1579 `(#:configure-flags '("--with-gnutls")
1580 #:tests? #f)) ; no test target
1581 (native-inputs `(("flex" ,flex)))
1582 (inputs `(("gnutls" ,gnutls)
1583 ("libcrypt" ,libgcrypt)))
1584 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
1585 (synopsis "Caching web proxy optimized for intermittent internet links")
1586 (description "WWWOFFLE is a proxy web server that is especially good for
1587 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
1588 protocols, and supports browsing and requesting pages while offline, indexing,
1589 modifying pages and incoming and outgoing headers, monitoring pages for
1590 changes, and much more.")
1591 (license license:gpl2+)))
1593 (define-public liboauth
1599 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
1603 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
1604 (build-system gnu-build-system)
1605 (arguments '(#:configure-flags '("--enable-nss")))
1606 (native-inputs `(("pkg-config" ,pkg-config)))
1610 (home-page "https://sourceforge.net/projects/liboauth")
1611 (synopsis "C library implementing the OAuth API")
1613 "liboauth is a collection of C functions implementing the OAuth API.
1614 liboauth provides functions to escape and encode strings according to OAuth
1615 specifications and offers high-level functionality built on top to sign
1616 requests or verify signatures using either NSS or OpenSSL for calculating the
1618 ;; Source code may be distributed under either license.
1619 (license (list license:expat license:gpl2+))))
1621 (define-public libyaml
1628 (uri (string-append "https://pyyaml.org/download/libyaml/yaml-"
1632 "1x4fcw13r3lqy8ndydr3ili87wicplw2awbcv6r21qgyfndswhn6"))))
1633 (build-system gnu-build-system)
1635 '(#:configure-flags '("--disable-static")))
1636 (home-page "https://pyyaml.org/wiki/LibYAML")
1637 (synopsis "YAML 1.1 parser and emitter written in C")
1639 "LibYAML is a YAML 1.1 parser and emitter written in C.")
1640 (license license:expat)))
1642 (define-public libquvi-scripts
1644 (name "libquvi-scripts")
1650 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
1651 name "/" name "-" version ".tar.xz"))
1653 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
1654 (build-system gnu-build-system)
1655 (home-page "http://quvi.sourceforge.net/")
1656 (synopsis "Media stream URL parser")
1657 (description "This package contains support scripts called by libquvi to
1658 parse media stream properties.")
1659 (license license:lgpl2.1+)))
1661 (define-public libquvi
1669 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
1670 name "-" version ".tar.xz"))
1672 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
1673 (build-system gnu-build-system)
1674 (native-inputs `(("pkg-config" ,pkg-config)))
1677 ("cyrus-sasl" ,cyrus-sasl)
1678 ("libquvi-scripts" ,libquvi-scripts)
1680 ("openssl" ,openssl)
1683 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
1685 (let ((lua (assoc-ref %build-inputs "lua")))
1687 (string-append "liblua_CFLAGS=-I" lua "/include")
1688 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
1689 (home-page "http://quvi.sourceforge.net/")
1690 (synopsis "Media stream URL parser")
1691 (description "libquvi is a library with a C API for parsing media stream
1692 URLs and extracting their actual media files.")
1693 (license license:lgpl2.1+)))
1703 "mirror://sourceforge/" name "/" (version-major+minor version)
1704 "/" name "/" name "-" version ".tar.xz"))
1706 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
1707 (build-system gnu-build-system)
1708 (native-inputs `(("pkg-config" ,pkg-config)))
1711 ("libquvi" ,libquvi)))
1712 (home-page "http://quvi.sourceforge.net/")
1713 (synopsis "Media stream URL parser")
1714 (description "quvi is a command-line-tool suite to extract media files
1715 from streaming URLs. It is a command-line wrapper for the libquvi library.")
1716 (license license:lgpl2.1+)))
1725 (uri (string-append "mirror://apache/serf/serf-"
1726 version ".tar.bz2"))
1728 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
1729 (build-system scons-build-system)
1732 ("apr-util" ,apr-util)
1733 ("openssl" ,openssl)))
1735 `(;; TODO: Fix build with gss.
1739 `(#:scons ,scons-python2
1740 #:scons-flags (list (string-append "APR=" (assoc-ref %build-inputs "apr"))
1741 (string-append "APU=" (assoc-ref %build-inputs "apr-util"))
1742 (string-append "OPENSSL=" (assoc-ref %build-inputs "openssl"))
1743 ;; (string-append "GSSAPI=" (assoc-ref %build-inputs "gss"))
1744 (string-append "ZLIB=" (assoc-ref %build-inputs "zlib"))
1745 (string-append "PREFIX=" %output))
1747 (modify-phases %standard-phases
1748 (add-after 'unpack 'scons-propagate-environment
1750 ;; By design, SCons does not, by default, propagate
1751 ;; environment variables to subprocesses. See:
1752 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
1753 ;; Here, we modify the SConstruct file to arrange for
1754 ;; environment variables to be propagated.
1755 (substitute* "SConstruct"
1756 (("^env = Environment\\(")
1757 "env = Environment(ENV=os.environ, "))))
1758 (add-before 'check 'disable-broken-tests
1760 ;; These tests rely on SSL certificates that expired 2017-04-18.
1761 ;; While there are newer certs available upstream, we don't want
1762 ;; this package to suddenly "expire" some time in the future.
1763 ;; https://bugs.gnu.org/26671
1765 '("test_ssl_trust_rootca"
1766 "test_ssl_certificate_chain_with_anchor"
1767 "test_ssl_certificate_chain_all_from_server"
1768 "test_ssl_no_servercert_callback_allok"
1769 "test_ssl_large_response"
1770 "test_ssl_large_request"
1771 "test_ssl_client_certificate"
1772 "test_ssl_future_server_cert"
1773 "test_setup_ssltunnel"
1774 "test_ssltunnel_basic_auth"
1775 "test_ssltunnel_basic_auth_server_has_keepalive_off"
1776 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
1777 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
1778 "test_ssltunnel_digest_auth")))
1781 (substitute* "test/test_context.c"
1782 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
1785 (home-page "https://serf.apache.org/")
1786 (synopsis "High-performance asynchronous HTTP client library")
1788 "serf is a C-based HTTP client library built upon the Apache Portable
1789 Runtime (APR) library. It multiplexes connections, running the read/write
1790 communication asynchronously. Memory copies and transformations are kept to a
1791 minimum to provide high performance operation.")
1792 ;; Most of the code is covered by the Apache License, Version 2.0, but the
1793 ;; bundled CuTest framework uses a different non-copyleft license.
1794 (license (list license:asl2.0 (license:non-copyleft "file://test/CuTest-README.txt")))))
1796 (define-public libsass
1799 ;; When updating, check whether sassc/libsass-3.5 is still needed.
1804 (url "https://github.com/sass/libsass")
1806 (file-name (git-file-name name version))
1809 "0r8lfqvr3rjhjd8r036zd1wc9q17gyiskppcw9m13jks9an7xp4j"))))
1810 (build-system gnu-build-system)
1813 (modify-phases %standard-phases
1814 (add-before 'bootstrap 'set-LIBSASS_VERSION
1816 (setenv "LIBSASS_VERSION" ,version)
1819 `(("autoconf" ,autoconf)
1820 ("automake" ,automake)
1821 ("libtool" ,libtool)))
1822 (home-page "https://sass-lang.com/libsass")
1823 (synopsis "SASS Compiler, implemented as a C/C++ library")
1825 "LibSass is a @acronym{SASS,Syntactically awesome style sheets} compiler
1826 library designed for portability and efficiency. To actually compile SASS
1827 stylesheets, you'll need to use another program that uses this library,
1828 @var{sassc} for example.")
1829 (license license:expat)))
1831 (define-public sassc
1838 (url "https://github.com/sass/sassc")
1840 (file-name (git-file-name name version))
1843 "1sxm54mkhs9m4vnl7vn11y17mhzamc403hv3966j1c7p2rbzg5pv"))))
1844 (build-system gnu-build-system)
1848 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1849 #:tests? #f ; no test suite
1851 (modify-phases %standard-phases
1852 (add-after 'unpack 'patch-Makefile
1854 (substitute* "Makefile"
1855 (("build-shared: \\$\\(RESOURCES\\) \\$\\(OBJECTS\\) \\$\\(LIB_SHARED\\)")
1856 "build-shared: $(RESOURCES) $(OBJECTS)")
1857 (("\\$\\(SASSC_EXE\\): libsass build")
1858 "$(SASSC_EXE): build")
1859 (("install: libsass-install-\\$\\(BUILD\\) \\\\")
1862 ;; This phase fails for some reason.
1864 ;; There is no configure script.
1866 (add-before 'build 'setup-environment
1868 (setenv "BUILD" "shared")
1869 (setenv "SASSC_VERSION" ,version)
1872 `(("libsass" ,libsass)))
1873 (synopsis "CSS pre-processor")
1874 (description "SassC is a compiler written in C for the CSS pre-processor
1875 language known as SASS.")
1876 (home-page "https://sass-lang.com/libsass")
1877 (license license:expat)))
1879 (define-public sassc/libsass-3.5
1880 ;; Newer libsass versions suffor from a memory leak when building (some?)
1881 ;; GTK themes <https://github.com/sass/libsass/issues/3033>.
1895 (url "https://github.com/sass/libsass")
1897 (file-name (git-file-name name version))
1900 "0830pjcvhzxh6yixj82x5k5r1xnadjqzi16kp53213icbly0r9ma"))))))))
1901 (properties '((hidden? . #t)))))
1904 (define-public perl-apache-logformat-compiler
1906 (name "perl-apache-logformat-compiler")
1911 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
1912 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1914 (base32 "05xcl7j65vakx7x79jqjikyw0nzf60bc2w6hhc0q5sklxq1ral4l"))))
1915 (build-system perl-build-system)
1917 `(("perl-http-message" ,perl-http-message)
1918 ("perl-module-build-tiny" ,perl-module-build-tiny)
1919 ("perl-test-mocktime" ,perl-test-mocktime)
1920 ("perl-try-tiny" ,perl-try-tiny)
1921 ("perl-uri" ,perl-uri)))
1923 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1924 (arguments `(#:tests? #f)) ; TODO: Timezone test failures
1925 (home-page "https://metacpan.org/release/Apache-LogFormat-Compiler")
1926 (synopsis "Compile a log format string to perl-code")
1927 (description "This module provides methods to compile a log format string
1928 to perl-code, for faster generation of access_log lines.")
1929 (license license:perl-license)))
1931 (define-public perl-authen-sasl
1933 (name "perl-authen-sasl")
1938 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
1939 "Authen-SASL-" version ".tar.gz"))
1942 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
1943 (build-system perl-build-system)
1946 (modify-phases %standard-phases
1947 (add-after 'unpack 'set-env
1948 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
1949 ;; versions of perl-authen-sasl.
1950 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
1952 `(("perl-digest-hmac" ,perl-digest-hmac)
1953 ("perl-gssapi" ,perl-gssapi)))
1954 (home-page "https://metacpan.org/release/Authen-SASL")
1955 (synopsis "SASL authentication framework")
1956 (description "Authen::SASL provides an SASL authentication framework.")
1957 (license license:perl-license)))
1959 (define-public perl-catalyst-action-renderview
1961 (name "perl-catalyst-action-renderview")
1966 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1967 "Catalyst-Action-RenderView-"
1971 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
1972 (build-system perl-build-system)
1974 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
1975 ("perl-module-install" ,perl-module-install)))
1977 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1978 ("perl-data-visitor" ,perl-data-visitor)
1979 ("perl-mro-compat" ,perl-mro-compat)))
1980 (home-page "https://metacpan.org/release/Catalyst-Action-RenderView")
1981 (synopsis "Sensible default Catalyst action")
1982 (description "This Catalyst action implements a sensible default end
1983 action, which will forward to the first available view.")
1984 (license license:perl-license)))
1986 (define-public perl-catalyst-action-rest
1988 (name "perl-catalyst-action-rest")
1992 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1993 "Catalyst-Action-REST-" version ".tar.gz"))
1996 "086bykggzalbjfk0islac4b48g9s2ypj7y81d6ns1lq0aax1py6c"))))
1997 (build-system perl-build-system)
1999 `(("perl-test-requires" ,perl-test-requires)
2000 ("perl-module-install" ,perl-module-install)))
2002 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2003 ("perl-class-inspector" ,perl-class-inspector)
2004 ("perl-config-general" ,perl-config-general)
2005 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
2006 ("perl-libwww" ,perl-libwww)
2007 ("perl-moose" ,perl-moose)
2008 ("perl-mro-compat" ,perl-mro-compat)
2009 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2010 ("perl-params-validate" ,perl-params-validate)
2011 ("perl-uri-find" ,perl-uri-find)
2012 ("perl-xml-simple" ,perl-xml-simple)))
2013 (home-page "https://metacpan.org/release/Catalyst-Action-REST")
2014 (synopsis "Automated REST Method Dispatching")
2015 (description "This Action handles doing automatic method dispatching for
2016 REST requests. It takes a normal Catalyst action, and changes the dispatch to
2017 append an underscore and method name. First it will try dispatching to an
2018 action with the generated name, and failing that it will try to dispatch to a
2020 (license license:perl-license)))
2022 (define-public perl-catalyst-authentication-store-dbix-class
2024 (name "perl-catalyst-authentication-store-dbix-class")
2029 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
2030 "Catalyst-Authentication-Store-DBIx-Class-"
2034 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
2035 (build-system perl-build-system)
2037 `(("perl-catalyst-plugin-authorization-roles"
2038 ,perl-catalyst-plugin-authorization-roles)
2039 ("perl-catalyst-plugin-session-state-cookie"
2040 ,perl-catalyst-plugin-session-state-cookie)
2041 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
2042 ("perl-module-install" ,perl-module-install)
2043 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2045 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2046 ("perl-catalyst-plugin-authentication"
2047 ,perl-catalyst-plugin-authentication)
2048 ("perl-dbix-class" ,perl-dbix-class)
2049 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
2051 "https://metacpan.org/release/Catalyst-Authentication-Store-DBIx-Class")
2052 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
2053 (description "The Catalyst::Authentication::Store::DBIx::Class class
2054 provides access to authentication information stored in a database via
2056 (license license:perl-license)))
2058 (define-public perl-catalyst-component-instancepercontext
2060 (name "perl-catalyst-component-instancepercontext")
2061 (version "0.001001")
2065 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
2066 "Catalyst-Component-InstancePerContext-"
2070 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
2071 (build-system perl-build-system)
2073 `(("perl-module-install" ,perl-module-install)))
2075 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2076 ("perl-moose" ,perl-moose)))
2078 "https://metacpan.org/release/Catalyst-Component-InstancePerContext")
2079 (synopsis "Create only one instance of Moose component per context")
2080 (description "Catalyst::Component::InstancePerContext returns a new
2081 instance of a component on each request.")
2082 (license license:perl-license)))
2084 (define-public perl-catalyst-devel
2086 (name "perl-catalyst-devel")
2091 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2092 "Catalyst-Devel-" version ".tar.gz"))
2094 (base32 "1r8arq7sw37d0mjyfzkc3pg1a9plgydqbscryc8qpvba4swpljls"))))
2095 (build-system perl-build-system)
2097 `(("perl-test-fatal" ,perl-test-fatal)))
2099 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
2100 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
2101 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
2102 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2103 ("perl-config-general" ,perl-config-general)
2104 ("perl-file-changenotify" ,perl-file-changenotify)
2105 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
2106 ("perl-file-sharedir" ,perl-file-sharedir)
2107 ("perl-module-install" ,perl-module-install)
2108 ("perl-moose" ,perl-moose)
2109 ("perl-moosex-emulate-class-accessor-fast"
2110 ,perl-moosex-emulate-class-accessor-fast)
2111 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2112 ("perl-namespace-clean" ,perl-namespace-clean)
2113 ("perl-path-class" ,perl-path-class)
2114 ("perl-template-toolkit" ,perl-template-toolkit)))
2115 (home-page "https://metacpan.org/release/Catalyst-Devel")
2116 (synopsis "Catalyst Development Tools")
2117 (description "The Catalyst-Devel distribution includes a variety of
2118 modules useful for the development of Catalyst applications, but not required
2119 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
2120 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
2121 extension for Catalyst; and requirements for a variety of development-related
2123 (license license:perl-license)))
2125 (define-public perl-catalyst-dispatchtype-regex
2127 (name "perl-catalyst-dispatchtype-regex")
2132 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
2133 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
2136 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
2137 (build-system perl-build-system)
2139 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
2140 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2141 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
2143 `(("perl-moose" ,perl-moose)
2144 ("perl-text-simpletable" ,perl-text-simpletable)))
2145 (home-page "https://metacpan.org/release/Catalyst-DispatchType-Regex")
2146 (synopsis "Regex DispatchType for Catalyst")
2147 (description "Dispatch type managing path-matching behaviour using
2148 regexes. Regex dispatch types have been deprecated and removed from Catalyst
2149 core. It is recommend that you use Chained methods or other techniques
2150 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
2151 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
2152 when the dispatch type is first seen in your application.")
2153 (license license:perl-license)))
2155 (define-public perl-catalyst-model-dbic-schema
2157 (name "perl-catalyst-model-dbic-schema")
2162 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
2163 "Catalyst-Model-DBIC-Schema-"
2167 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
2168 (build-system perl-build-system)
2170 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
2171 ("perl-module-install" ,perl-module-install)
2172 ("perl-test-exception" ,perl-test-exception)
2173 ("perl-test-requires" ,perl-test-requires)))
2175 `(("perl-carp-clan" ,perl-carp-clan)
2176 ("perl-catalyst-component-instancepercontext"
2177 ,perl-catalyst-component-instancepercontext)
2178 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2179 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
2180 ("perl-dbix-class" ,perl-dbix-class)
2181 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
2182 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
2183 ("perl-hash-merge" ,perl-hash-merge)
2184 ("perl-list-moreutils" ,perl-list-moreutils)
2185 ("perl-module-runtime" ,perl-module-runtime)
2186 ("perl-moose" ,perl-moose)
2187 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
2188 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
2189 ("perl-moosex-types" ,perl-moosex-types)
2190 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
2191 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2192 ("perl-namespace-clean" ,perl-namespace-clean)
2193 ("perl-tie-ixhash" ,perl-tie-ixhash)
2194 ("perl-try-tiny" ,perl-try-tiny)))
2195 (home-page "https://metacpan.org/release/Catalyst-Model-DBIC-Schema")
2196 (synopsis "DBIx::Class::Schema Model Class")
2197 (description "This is a Catalyst Model for DBIx::Class::Schema-based
2199 (license license:perl-license)))
2201 (define-public perl-catalyst-plugin-accesslog
2203 (name "perl-catalyst-plugin-accesslog")
2208 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
2209 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
2212 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
2213 (build-system perl-build-system)
2215 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2216 ("perl-datetime" ,perl-datetime)
2217 ("perl-moose" ,perl-moose)
2218 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2219 (home-page "https://metacpan.org/release/Catalyst-Plugin-AccessLog")
2220 (synopsis "Request logging from within Catalyst")
2221 (description "This Catalyst plugin enables you to create \"access logs\"
2222 from within a Catalyst application instead of requiring a webserver to do it
2223 for you. It will work even with Catalyst debug logging turned off.")
2224 (license license:perl-license)))
2226 (define-public perl-catalyst-plugin-authentication
2228 (name "perl-catalyst-plugin-authentication")
2233 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2234 "Catalyst-Plugin-Authentication-"
2238 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
2239 (build-system perl-build-system)
2241 `(("perl-module-install" ,perl-module-install)))
2243 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2244 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2245 ("perl-class-inspector" ,perl-class-inspector)
2246 ("perl-moose" ,perl-moose)
2247 ("perl-moosex-emulate-class-accessor-fast"
2248 ,perl-moosex-emulate-class-accessor-fast)
2249 ("perl-mro-compat" ,perl-mro-compat)
2250 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2251 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2252 ("perl-test-exception" ,perl-test-exception)
2253 ("perl-try-tiny" ,perl-try-tiny)))
2254 (home-page "https://metacpan.org/release/Catalyst-Plugin-Authentication")
2255 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
2256 (description "The authentication plugin provides generic user support for
2257 Catalyst apps. It is the basis for both authentication (checking the user is
2258 who they claim to be), and authorization (allowing the user to do what the
2259 system authorises them to do).")
2260 (license license:perl-license)))
2262 (define-public perl-catalyst-plugin-authorization-roles
2264 (name "perl-catalyst-plugin-authorization-roles")
2269 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2270 "Catalyst-Plugin-Authorization-Roles-"
2274 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
2275 (build-system perl-build-system)
2277 `(("perl-module-install" ,perl-module-install)
2278 ("perl-test-exception" ,perl-test-exception)))
2280 `(("perl-catalyst-plugin-authentication"
2281 ,perl-catalyst-plugin-authentication)
2282 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2283 ("perl-set-object" ,perl-set-object)
2284 ("perl-universal-isa" ,perl-universal-isa)))
2286 "https://metacpan.org/release/Catalyst-Plugin-Authorization-Roles")
2287 (synopsis "Role-based authorization for Catalyst")
2288 (description "Catalyst::Plugin::Authorization::Roles provides role-based
2289 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
2290 (license license:perl-license)))
2292 (define-public perl-catalyst-plugin-captcha
2294 (name "perl-catalyst-plugin-captcha")
2299 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
2300 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
2303 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
2304 (build-system perl-build-system)
2306 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2307 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2308 ("perl-gd-securityimage" ,perl-gd-securityimage)
2309 ("perl-http-date" ,perl-http-date)))
2310 (home-page "https://metacpan.org/release/Catalyst-Plugin-Captcha")
2311 (synopsis "Captchas for Catalyst")
2312 (description "This plugin creates and validates Captcha images for
2314 (license license:perl-license)))
2316 (define-public perl-catalyst-plugin-configloader
2318 (name "perl-catalyst-plugin-configloader")
2323 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2324 "Catalyst-Plugin-ConfigLoader-"
2327 (base32 "0w8r3bbxqnlykvra6sx3sh3wh8ylkj914xg5ql6nw11ddy56jaly"))))
2328 (build-system perl-build-system)
2330 `(("perl-path-class" ,perl-path-class)
2331 ("perl-module-install" ,perl-module-install)))
2333 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2334 ("perl-config-any" ,perl-config-any)
2335 ("perl-data-visitor" ,perl-data-visitor)
2336 ("perl-mro-compat" ,perl-mro-compat)))
2337 (home-page "https://metacpan.org/release/Catalyst-Plugin-ConfigLoader")
2338 (synopsis "Load config files of various types")
2339 (description "This module will attempt to load find and load configuration
2340 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
2342 (license license:perl-license)))
2344 (define-public perl-catalyst-plugin-session
2346 (name "perl-catalyst-plugin-session")
2351 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2352 "Catalyst-Plugin-Session-" version ".tar.gz"))
2354 (base32 "0a451997zc2vjx7rvndgx1ldbrpic8sfbddyvncynh0zr8bhlqc5"))))
2355 (build-system perl-build-system)
2357 `(("perl-module-install" ,perl-module-install)
2358 ("perl-test-deep" ,perl-test-deep)
2359 ("perl-test-exception" ,perl-test-exception)))
2361 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2362 ("perl-moose" ,perl-moose)
2363 ("perl-moosex-emulate-class-accessor-fast"
2364 ,perl-moosex-emulate-class-accessor-fast)
2365 ("perl-mro-compat" ,perl-mro-compat)
2366 ("perl-namespace-clean" ,perl-namespace-clean)
2367 ("perl-object-signature" ,perl-object-signature)
2368 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
2369 (home-page "https://metacpan.org/release/Catalyst-Plugin-Session")
2370 (synopsis "Catalyst generic session plugin")
2371 (description "This plugin links the two pieces required for session
2372 management in web applications together: the state, and the store.")
2373 (license license:perl-license)))
2375 (define-public perl-catalyst-plugin-session-state-cookie
2377 (name "perl-catalyst-plugin-session-state-cookie")
2382 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
2383 "Catalyst-Plugin-Session-State-Cookie-"
2387 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
2388 (build-system perl-build-system)
2390 `(("perl-module-install" ,perl-module-install)))
2392 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2393 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2394 ("perl-moose" ,perl-moose)
2395 ("perl-mro-compat" ,perl-mro-compat)
2396 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2398 "https://metacpan.org/release/Catalyst-Plugin-Session-State-Cookie")
2399 (synopsis "Maintain session IDs using cookies")
2400 (description "In order for Catalyst::Plugin::Session to work, the session
2401 ID needs to be stored on the client, and the session data needs to be stored
2402 on the server. This plugin stores the session ID on the client using the
2404 (license license:perl-license)))
2406 (define-public perl-catalyst-plugin-session-store-fastmmap
2408 (name "perl-catalyst-plugin-session-store-fastmmap")
2413 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2414 "Catalyst-Plugin-Session-Store-FastMmap-"
2418 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
2419 (build-system perl-build-system)
2421 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
2422 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2423 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2424 ("perl-moosex-emulate-class-accessor-fast"
2425 ,perl-moosex-emulate-class-accessor-fast)
2426 ("perl-mro-compat" ,perl-mro-compat)
2427 ("perl-path-class" ,perl-path-class)))
2429 "https://metacpan.org/release/Catalyst-Plugin-Session-Store-FastMmap")
2430 (synopsis "FastMmap session storage backend")
2431 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
2432 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
2433 memory interprocess cache. It is based on Cache::FastMmap.")
2434 (license license:perl-license)))
2436 (define-public perl-catalyst-plugin-stacktrace
2438 (name "perl-catalyst-plugin-stacktrace")
2443 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2444 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
2447 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
2448 (build-system perl-build-system)
2450 `(("perl-module-install" ,perl-module-install)))
2452 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2453 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
2454 ("perl-mro-compat" ,perl-mro-compat)))
2455 (home-page "https://metacpan.org/release/Catalyst-Plugin-StackTrace")
2456 (synopsis "Stack trace on the Catalyst debug screen")
2457 (description "This plugin enhances the standard Catalyst debug screen by
2458 including a stack trace of your application up to the point where the error
2459 occurred. Each stack frame is displayed along with the package name, line
2460 number, file name, and code context surrounding the line number.")
2461 (license license:perl-license)))
2463 (define-public perl-catalyst-plugin-static-simple
2465 (name "perl-catalyst-plugin-static-simple")
2470 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
2471 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
2474 "0m4l627p2fvzr4i6sgdxhdvsx4wpa6qmaibsbxlg5x5yjs7k7drn"))))
2475 (build-system perl-build-system)
2477 `(("perl-module-install" ,perl-module-install)))
2479 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2480 ("perl-mime-types" ,perl-mime-types)
2481 ("perl-moose" ,perl-moose)
2482 ("perl-moosex-types" ,perl-moosex-types)
2483 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2484 (home-page "https://metacpan.org/release/Catalyst-Plugin-Static-Simple")
2485 (synopsis "Simple serving of static pages")
2486 (description "The Static::Simple plugin is designed to make serving static
2487 content in your application during development quick and easy, without
2488 requiring a single line of code from you. This plugin detects static files by
2489 looking at the file extension in the URL (such as .css or .png or .js). The
2490 plugin uses the lightweight MIME::Types module to map file extensions to
2491 IANA-registered MIME types, and will serve your static files with the correct
2492 MIME type directly to the browser, without being processed through Catalyst.")
2493 (license license:perl-license)))
2495 (define-public perl-catalyst-runtime
2497 (name "perl-catalyst-runtime")
2502 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2503 "Catalyst-Runtime-" version ".tar.gz"))
2506 "001yk1i0xwn4v308qx15nvnp6v9qfdigdlvz1rgw5zpnq7kwnq1a"))))
2507 (build-system perl-build-system)
2509 `(("perl-test-fatal" ,perl-test-fatal)))
2511 `(("perl-cgi-simple" ,perl-cgi-simple)
2512 ("perl-cgi-struct" ,perl-cgi-struct)
2513 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
2514 ("perl-class-date" ,perl-class-date)
2515 ("perl-class-load" ,perl-class-load)
2516 ("perl-data-dump" ,perl-data-dump)
2517 ("perl-http-body" ,perl-http-body)
2518 ("perl-http-message" ,perl-http-message)
2519 ("perl-json-maybexs" ,perl-json-maybexs)
2520 ("perl-libwww" ,perl-libwww)
2521 ("perl-module-pluggable" ,perl-module-pluggable)
2522 ("perl-moose" ,perl-moose)
2523 ("perl-moosex-emulate-class-accessor-fast"
2524 ,perl-moosex-emulate-class-accessor-fast)
2525 ("perl-moosex-getopt" ,perl-moosex-getopt)
2526 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
2527 ("perl-namespace-clean" ,perl-namespace-clean)
2528 ("perl-path-class" ,perl-path-class)
2529 ("perl-perlio-utf8-strict" ,perl-perlio-utf8_strict)
2530 ("perl-plack" ,perl-plack)
2531 ("perl-plack-middleware-fixmissingbodyinredirect"
2532 ,perl-plack-middleware-fixmissingbodyinredirect)
2533 ("perl-plack-middleware-methodoverride"
2534 ,perl-plack-middleware-methodoverride)
2535 ("perl-plack-middleware-removeredundantbody"
2536 ,perl-plack-middleware-removeredundantbody)
2537 ("perl-plack-middleware-reverseproxy"
2538 ,perl-plack-middleware-reverseproxy)
2539 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
2540 ("perl-safe-isa" ,perl-safe-isa)
2541 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2542 ("perl-text-simpletable" ,perl-text-simpletable)
2543 ("perl-tree-simple" ,perl-tree-simple)
2544 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
2545 ("perl-try-tiny" ,perl-try-tiny)
2546 ("perl-uri" ,perl-uri)
2547 ("perl-uri-ws" ,perl-uri-ws)))
2548 (home-page "https://metacpan.org/release/Catalyst-Runtime")
2549 (synopsis "The Catalyst Framework Runtime")
2550 (description "Catalyst is a modern framework for making web applications.
2551 It is designed to make it easy to manage the various tasks you need to do to
2552 run an application on the web, either by doing them itself, or by letting you
2553 \"plug in\" existing Perl modules that do what you need.")
2554 (license license:perl-license)))
2556 (define-public perl-catalyst-traitfor-request-proxybase
2558 (name "perl-catalyst-traitfor-request-proxybase")
2559 (version "0.000005")
2563 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2564 "Catalyst-TraitFor-Request-ProxyBase-"
2568 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
2569 (build-system perl-build-system)
2571 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2572 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
2573 ("perl-http-message" ,perl-http-message)
2574 ("perl-module-install" ,perl-module-install)))
2576 `(("perl-moose" ,perl-moose)
2577 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2578 ("perl-uri" ,perl-uri)))
2580 "https://metacpan.org/release/Catalyst-TraitFor-Request-ProxyBase")
2581 (synopsis "Replace request base with value passed by HTTP proxy")
2582 (description "This module is a Moose::Role which allows you more
2583 flexibility in your application's deployment configurations when deployed
2584 behind a proxy. Using this module, the request base ($c->req->base) is
2585 replaced with the contents of the X-Request-Base header.")
2586 (license license:perl-license)))
2588 (define-public perl-catalyst-view-download
2590 (name "perl-catalyst-view-download")
2595 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
2596 "Catalyst-View-Download-" version ".tar.gz"))
2599 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
2600 (build-system perl-build-system)
2602 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2603 ("perl-module-install" ,perl-module-install)
2604 ("perl-test-simple" ,perl-test-simple)
2605 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
2606 ("perl-text-csv" ,perl-text-csv)
2607 ("perl-xml-simple" ,perl-xml-simple)))
2608 (home-page "https://metacpan.org/release/Catalyst-View-Download")
2609 (synopsis "Download data in many formats")
2610 (description "The purpose of this module is to provide a method for
2611 downloading data into many supportable formats. For example, downloading a
2612 table based report in a variety of formats (CSV, HTML, etc.).")
2613 (license license:perl-license)))
2615 (define-public perl-catalyst-view-json
2617 (name "perl-catalyst-view-json")
2622 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2623 "Catalyst-View-JSON-" version ".tar.gz"))
2626 "1v4xkzazs743sc7cd1kxkbi99cf00a4dadyyancckcbpi9p3znn5"))))
2627 (build-system perl-build-system)
2629 `(("perl-module-install" ,perl-module-install)
2630 ("perl-yaml" ,perl-yaml)))
2632 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2633 ("perl-json-maybexs" ,perl-json-maybexs)
2634 ("perl-mro-compat" ,perl-mro-compat)))
2635 (home-page "https://metacpan.org/release/Catalyst-View-JSON")
2636 (synopsis "Catalyst JSON view")
2637 (description "Catalyst::View::JSON is a Catalyst View handler that returns
2638 stash data in JSON format.")
2639 (license license:perl-license)))
2641 (define-public perl-catalyst-view-tt
2643 (name "perl-catalyst-view-tt")
2648 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2649 "Catalyst-View-TT-" version ".tar.gz"))
2651 (base32 "0jzgpkgq5pwq82zlb0nykdyk40dfpsyn9ilz91d0wpixgi9i5pr8"))))
2652 (build-system perl-build-system)
2654 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2655 ("perl-class-accessor" ,perl-class-accessor)
2656 ("perl-data-dump" ,perl-data-dump)
2657 ("perl-mro-compat" ,perl-mro-compat)
2658 ("perl-path-class" ,perl-path-class)
2659 ("perl-template-timer" ,perl-template-timer)
2660 ("perl-template-toolkit" ,perl-template-toolkit)))
2661 (home-page "https://metacpan.org/release/Catalyst-View-TT")
2662 (synopsis "Template View Class")
2663 (description "This module is a Catalyst view class for the Template
2665 (license license:perl-license)))
2667 (define-public perl-catalystx-component-traits
2669 (name "perl-catalystx-component-traits")
2674 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
2675 "CatalystX-Component-Traits-" version ".tar.gz"))
2678 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
2679 (build-system perl-build-system)
2681 `(("perl-moose" ,perl-moose)
2682 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2683 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
2685 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2686 ("perl-class-load" ,perl-class-load)
2687 ("perl-moose" ,perl-moose)
2688 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
2689 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2690 ("perl-list-moreutils" ,perl-list-moreutils)))
2691 (home-page "https://metacpan.org/release/CatalystX-Component-Traits")
2692 (synopsis "Trait Loading and Resolution for Catalyst Components")
2693 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
2694 Catalyst component base class that reads the optional \"traits\" parameter
2695 from app and component config and instantiates the component subclass with
2696 those traits using \"new_with_traits\" in MooseX::Traits from
2697 MooseX::Traits::Pluggable.")
2698 (license license:perl-license)))
2700 (define-public perl-catalystx-roleapplicator
2702 (name "perl-catalystx-roleapplicator")
2707 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
2708 "CatalystX-RoleApplicator-" version ".tar.gz"))
2711 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
2712 (build-system perl-build-system)
2714 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2715 ("perl-moose" ,perl-moose)
2716 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
2717 (home-page "https://metacpan.org/release/CatalystX-RoleApplicator")
2718 (synopsis "Apply roles to Catalyst classes")
2719 (description "CatalystX::RoleApplicator applies roles to Catalyst
2720 application classes.")
2721 (license license:perl-license)))
2723 (define-public perl-catalystx-script-server-starman
2725 (name "perl-catalystx-script-server-starman")
2730 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
2731 "CatalystX-Script-Server-Starman-"
2735 "08jvibq4v8xjj0c3cr93h0w8w0c88ajwjn37xjy7ygxl9krlffp6"))))
2736 (build-system perl-build-system)
2738 `(("perl-module-install" ,perl-module-install)
2739 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2741 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2742 ("perl-moose" ,perl-moose)
2743 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2744 ("starman" ,starman)))
2745 (home-page "https://metacpan.org/release/CatalystX-Script-Server-Starman")
2746 (synopsis "Catalyst development server with Starman")
2747 (description "This module provides a Catalyst extension to replace the
2748 development server with Starman.")
2749 (license license:perl-license)))
2751 (define-public perl-cgi
2758 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
2759 "CGI-" version ".tar.gz"))
2761 (base32 "02k0p8zwbn0fz9r39rg8jvbmky8fwdg6kznklzk557rg07kiblhb"))))
2762 (build-system perl-build-system)
2764 `(("perl-test-deep" ,perl-test-deep)
2765 ("perl-test-nowarnings" ,perl-test-nowarnings)
2766 ("perl-test-warn" ,perl-test-warn)))
2768 `(("perl-html-parser" ,perl-html-parser)))
2769 (home-page "https://metacpan.org/release/CGI")
2770 (synopsis "Handle Common Gateway Interface requests and responses")
2771 (description "CGI.pm is a stable, complete and mature solution for
2772 processing and preparing HTTP requests and responses. Major features include
2773 processing form submissions, file uploads, reading and writing cookies, query
2774 string generation and manipulation, and processing and preparing HTTP
2776 (license license:perl-license)))
2778 (define-public perl-cgi-formbuilder
2780 (name "perl-cgi-formbuilder")
2786 "https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/"
2787 "CGI-FormBuilder-" version ".tar.gz"))
2790 "163ixq9kninqq094z2rnkg9pv3bcmvjphlww4vksfrzhq3h9pjdf"))))
2791 (build-system perl-build-system)
2792 (inputs `(("perl-cgi" ,perl-cgi)))
2794 "https://metacpan.org/release/CGI-FormBuilder")
2796 "Generate and process stateful forms")
2798 "@code{CGI::FormBuilder} provides an easy way to generate and process CGI
2799 form-based applications.")
2800 (license license:perl-license)))
2802 (define-public perl-cgi-session
2804 (name "perl-cgi-session")
2810 "mirror://cpan/authors/id/M/MA/MARKSTOS/CGI-Session-"
2815 "1xsl2pz1jrh127pq0b01yffnj4mnp9nvkp88h5mndrscq9hn8xa6"))))
2816 (build-system perl-build-system)
2818 `(("perl-module-build" ,perl-module-build)))
2819 (inputs `(("perl-cgi" ,perl-cgi)))
2821 "https://metacpan.org/release/CGI-Session")
2823 "Persistent session data in CGI applications")
2825 "@code{CGI::Session} provides modular session management system across
2827 (license license:perl-license)))
2829 (define-public perl-cgi-simple
2831 (name "perl-cgi-simple")
2836 (uri (string-append "mirror://cpan/authors/id/M/MA/MANWAR/"
2837 "CGI-Simple-" version ".tar.gz"))
2839 (base32 "13c7iwnnavky10ab87pi8jc1kqph03s0rhvj7myn7szhbfisc4gn"))))
2840 (build-system perl-build-system)
2842 `(("perl-io-stringy" ,perl-io-stringy) ; for IO::Scalar
2843 ("perl-module-build" ,perl-module-build)
2844 ("perl-test-exception" ,perl-test-exception)
2845 ("perl-test-nowarnings" ,perl-test-nowarnings)))
2846 (home-page "https://metacpan.org/release/CGI-Simple")
2847 (synopsis "CGI interface that is CGI.pm compliant")
2848 (description "CGI::Simple provides a relatively lightweight drop in
2849 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
2850 parameter parsing, file upload, cookie handling and header generation.")
2851 (license license:perl-license)))
2853 (define-public perl-cgi-struct
2855 (name "perl-cgi-struct")
2860 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
2861 "CGI-Struct-" version ".tar.gz"))
2864 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
2865 (build-system perl-build-system)
2867 `(("perl-test-deep" ,perl-test-deep)))
2868 (home-page "https://metacpan.org/release/CGI-Struct")
2869 (synopsis "Build structures from CGI data")
2870 (description "This is a module for building structured data from CGI
2871 inputs, in a manner reminiscent of how PHP does.")
2872 (license license:bsd-2)))
2874 (define-public perl-datetime-format-http
2876 (name "perl-datetime-format-http")
2881 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
2882 "DateTime-Format-HTTP-" version ".tar.gz"))
2885 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
2886 (build-system perl-build-system)
2888 `(("perl-module-build" ,perl-module-build)))
2890 `(("perl-datetime" ,perl-datetime)
2891 ("perl-http-date" ,perl-http-date)))
2892 (home-page "https://metacpan.org/release/DateTime-Format-HTTP")
2893 (synopsis "Date conversion routines")
2894 (description "This module provides functions that deal with the date
2895 formats used by the HTTP protocol.")
2896 (license license:perl-license)))
2898 (define-public perl-digest-md5-file
2900 (name "perl-digest-md5-file")
2905 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
2906 "Digest-MD5-File-" version ".tar.gz"))
2909 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
2910 (build-system perl-build-system)
2912 `(("perl-libwww" ,perl-libwww)))
2913 (home-page "https://metacpan.org/release/Digest-MD5-File")
2914 (synopsis "MD5 sums for files and urls")
2915 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
2916 for files and urls.")
2917 (license license:perl-license)))
2919 (define-public perl-encode-locale
2921 (name "perl-encode-locale")
2926 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
2930 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
2931 (build-system perl-build-system)
2932 (license license:perl-license)
2933 (synopsis "Perl locale encoding determination")
2935 "The POSIX locale system is used to specify both the language
2936 conventions requested by the user and the preferred character set to
2937 consume and output. The Encode::Locale module looks up the charset and
2938 encoding (called a CODESET in the locale jargon) and arranges for the
2939 Encode module to know this encoding under the name \"locale\". It means
2940 bytes obtained from the environment can be converted to Unicode strings
2941 by calling Encode::encode(locale => $bytes) and converted back again
2942 with Encode::decode(locale => $string).")
2943 (home-page "https://metacpan.org/release/Encode-Locale")))
2945 (define-public perl-feed-find
2947 (name "perl-feed-find")
2951 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
2952 "Feed-Find-" version ".tar.gz"))
2955 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
2956 (build-system perl-build-system)
2958 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
2961 (modify-phases %standard-phases
2962 (add-after 'unpack 'set-env
2963 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
2965 `(("perl-class-errorhandler" ,perl-class-errorhandler)
2966 ("perl-html-parser" ,perl-html-parser)
2967 ("perl-libwww" ,perl-libwww)
2968 ("perl-uri" ,perl-uri)))
2969 (home-page "https://metacpan.org/release/Feed-Find")
2970 (synopsis "Syndication feed auto-discovery")
2971 (description "@code{Feed::Find} implements feed auto-discovery for finding
2972 syndication feeds, given a URI. It will discover the following feed formats:
2973 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
2974 (license license:perl-license)))
2976 (define-public perl-file-listing
2978 (name "perl-file-listing")
2983 "mirror://cpan/authors/id/P/PL/PLICEASE/File-Listing-"
2987 "0vmzw1mhv580flzkla80gvwfpficnhlbqr1dnlf9x50bw7n18k62"))))
2988 (build-system perl-build-system)
2990 `(("perl-http-date" ,perl-http-date)))
2991 (license license:perl-license)
2992 (synopsis "Perl directory listing parser")
2994 "The File::Listing module exports a single function called parse_dir(),
2995 which can be used to parse directory listings.")
2996 (home-page "https://metacpan.org/release/File-Listing")))
2998 (define-public perl-finance-quote
3000 (name "perl-finance-quote")
3005 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
3006 "Finance-Quote-" version ".tar.gz"))
3008 (base32 "0gzbq85738f299jaw4nj3ljnka380j2y6yspmyl71rgfypqjvbr7"))
3009 (patches (search-patches
3010 "perl-finance-quote-unuse-mozilla-ca.patch"))))
3011 (build-system perl-build-system)
3013 `(("perl-cgi" ,perl-cgi)
3014 ("perl-datetime" ,perl-datetime)
3015 ("perl-html-parser" ,perl-html-parser)
3016 ("perl-html-tableextract" ,perl-html-tableextract)
3017 ("perl-html-tree" ,perl-html-tree)
3018 ("perl-http-cookies" ,perl-http-cookies)
3019 ("perl-http-message" ,perl-http-message)
3020 ("perl-json" ,perl-json)
3021 ("perl-libwww" ,perl-libwww)
3022 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
3023 ("perl-uri" ,perl-uri)))
3024 (home-page "https://metacpan.org/release/Finance-Quote")
3025 (synopsis "Stock and mutual fund quotes")
3027 "Finance::Quote gets stock quotes from various internet sources, including
3028 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
3029 (license license:gpl2)))
3031 (define-public perl-gssapi
3033 (name "perl-gssapi")
3038 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
3039 "GSSAPI-" version ".tar.gz"))
3042 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
3043 (build-system perl-build-system)
3044 (inputs `(("gssapi" ,mit-krb5)))
3046 `(#:make-maker-flags
3047 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
3048 (home-page "https://metacpan.org/release/GSSAPI")
3049 (synopsis "Perl extension providing access to the GSSAPIv2 library")
3050 (description "This is a Perl extension for using GSSAPI C bindings as
3051 described in RFC 2744.")
3052 (license license:perl-license)))
3054 (define-public perl-html-element-extended
3056 (name "perl-html-element-extended")
3061 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
3062 "HTML-Element-Extended-" version ".tar.gz"))
3065 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
3066 (build-system perl-build-system)
3068 `(("perl-html-tree" ,perl-html-tree)))
3069 (home-page "https://metacpan.org/release/HTML-Element-Extended")
3070 (synopsis "Manipulate tables of HTML::Element")
3072 "HTML::Element::Extended is a Perl extension for manipulating a table
3073 composed of HTML::Element style components.")
3074 (license license:perl-license)))
3076 (define-public perl-html-form
3078 (name "perl-html-form")
3083 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3084 "HTML-Form-" version ".tar.gz"))
3086 (base32 "14i4ldyvdvhdhvfhh9kiq6z853q2f84biq8vcpv1k5w2r80wdiin"))))
3087 (build-system perl-build-system)
3089 `(("perl-html-parser" ,perl-html-parser)
3090 ("perl-html-tagset" ,perl-html-tagset)
3091 ("perl-http-message" ,perl-http-message)
3092 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
3093 ("perl-uri" ,perl-uri)))
3094 (home-page "https://metacpan.org/release/HTML-Form")
3095 (synopsis "Perl class representing an HTML form element")
3096 (description "Objects of the HTML::Form class represents a single HTML
3097 <form> ... </form> instance.")
3098 (license license:perl-license)))
3100 (define-public perl-html-scrubber
3102 (name "perl-html-scrubber")
3108 "mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
3113 "06p7w4zd42b2yh541mlzyqj40lwmvvn3fyqi8big4mf34la7m2jm"))))
3114 (build-system perl-build-system)
3116 `(("perl-module-build" ,perl-module-build)
3117 ("perl-test-cpan-meta" ,perl-test-cpan-meta)
3118 ("perl-test-differences" ,perl-test-differences)
3119 ("perl-test-eol" ,perl-test-eol)
3120 ("perl-test-memory-cycle" ,perl-test-memory-cycle)
3121 ("perl-test-notabs" ,perl-test-notabs)))
3123 `(("perl-html-parser" ,perl-html-parser)))
3125 "https://metacpan.org/release/HTML-Scrubber")
3127 "Perl extension for scrubbing/sanitizing html")
3129 "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
3130 (license license:perl-license)))
3132 (define-public perl-html-lint
3134 (name "perl-html-lint")
3139 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3140 "HTML-Lint-" version ".tar.gz"))
3142 (base32 "0lk02xpfxcg7ij4dvpsa4wjlzhmiizj0jfr3rwmdpbj69nvc93br"))))
3143 (build-system perl-build-system)
3145 `(("perl-html-parser" ,perl-html-parser)
3146 ("perl-html-tagset" ,perl-html-tagset)
3147 ("perl-libwww" ,perl-libwww)))
3148 (home-page "https://metacpan.org/release/HTML-Lint")
3149 (synopsis "Check for HTML errors in a string or file")
3150 (description "HTML::Lint is a pure-Perl HTML parser and checker for
3151 syntactic legitmacy.")
3152 (license license:artistic2.0)))
3154 (define-public perl-html-tableextract
3156 (name "perl-html-tableextract")
3161 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
3162 "HTML-TableExtract-" version ".tar.gz"))
3165 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
3166 (build-system perl-build-system)
3168 `(("perl-html-element-extended" ,perl-html-element-extended)
3169 ("perl-html-parser" ,perl-html-parser)))
3170 (home-page "https://metacpan.org/release/HTML-TableExtract")
3171 (synopsis "Extract contents from HTML tables")
3173 "HTML::TableExtract is a Perl module for extracting the content contained
3174 in tables within an HTML document, either as text or encoded element trees.")
3175 (license license:perl-license)))
3177 (define-public perl-html-tree
3179 (name "perl-html-tree")
3184 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
3185 "HTML-Tree-" version ".tar.gz"))
3188 "1gyvm4qlwm9y6hczkpnrdfl303ggbybr0nqxdjw09hii8yw4sdzh"))))
3189 (build-system perl-build-system)
3191 `(("perl-module-build" ,perl-module-build)
3192 ("perl-test-fatal" ,perl-test-fatal)))
3194 `(("perl-html-parser" ,perl-html-parser)
3195 ("perl-html-tagset" ,perl-html-tagset)
3196 ("perl-libwww" ,perl-libwww)))
3197 (home-page "https://metacpan.org/release/HTML-Tree")
3198 (synopsis "Work with HTML in a DOM-like tree structure")
3199 (description "This distribution contains a suite of modules for
3200 representing, creating, and extracting information from HTML syntax trees.")
3201 (license license:perl-license)))
3203 (define-public perl-html-parser
3205 (name "perl-html-parser")
3210 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
3214 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
3215 (build-system perl-build-system)
3217 `(("perl-html-tagset" ,perl-html-tagset)
3218 ("perl-http-message" ,perl-http-message)))
3219 (license license:perl-license)
3220 (synopsis "Perl HTML parser class")
3222 "Objects of the HTML::Parser class will recognize markup and separate
3223 it from plain text (alias data content) in HTML documents. As different
3224 kinds of markup and text are recognized, the corresponding event handlers
3226 (home-page "https://metacpan.org/release/HTML-Parser")))
3228 (define-public perl-html-tagset
3230 (name "perl-html-tagset")
3235 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
3239 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
3240 (build-system perl-build-system)
3241 (license license:perl-license)
3242 (synopsis "Perl data tables useful in parsing HTML")
3244 "The HTML::Tagset module contains several data tables useful in various
3245 kinds of HTML parsing operations.")
3246 (home-page "https://metacpan.org/release/HTML-Tagset")))
3248 (define-public perl-html-template
3250 (name "perl-html-template")
3254 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
3255 "HTML-Template-" version ".tar.gz"))
3258 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
3259 (build-system perl-build-system)
3261 `(("perl-cgi" ,perl-cgi)))
3262 (home-page "https://metacpan.org/release/HTML-Template")
3263 (synopsis "HTML-like templates")
3265 "This module attempts to make using HTML templates simple and natural.
3266 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
3267 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
3268 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
3269 these new tags is called a template. Using this module you fill in the values
3270 for the variables, loops and branches declared in the template. This allows
3271 you to separate design from the data.")
3272 (license license:perl-license)))
3274 (define-public perl-http-body
3276 (name "perl-http-body")
3281 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
3282 "HTTP-Body-" version ".tar.gz"))
3285 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
3286 (build-system perl-build-system)
3288 `(("perl-test-deep" ,perl-test-deep)))
3290 `(("perl-file-temp" ,perl-file-temp)
3291 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
3292 (home-page "https://metacpan.org/release/HTTP-Body")
3293 (synopsis "HTTP Body Parser")
3294 (description "HTTP::Body parses chunks of HTTP POST data and supports
3295 application/octet-stream, application/json, application/x-www-form-urlencoded,
3296 and multipart/form-data.")
3297 (license license:perl-license)))
3299 (define-public perl-http-cookiejar
3301 (name "perl-http-cookiejar")
3306 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3307 "HTTP-CookieJar-" version ".tar.gz"))
3309 (base32 "1l7mqsca4fmls7agzwmp6yq1x16y9jwq4114i6i75n654gl37qsn"))))
3310 (build-system perl-build-system)
3312 `(("perl-test-deep" ,perl-test-deep)
3313 ("perl-test-requires" ,perl-test-requires)
3314 ("perl-time-mock" ,perl-time-mock)
3315 ("perl-uri" ,perl-uri)))
3317 `(("perl-time-local" ,perl-time-local)
3318 ("perl-http-date" ,perl-http-date)))
3319 (home-page "https://metacpan.org/release/HTTP-CookieJar")
3320 (synopsis "Minimalist HTTP user agent cookie jar")
3321 (description "This module implements a minimalist HTTP user agent cookie
3322 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
3323 (license license:asl2.0)))
3325 (define-public perl-http-cookies
3327 (name "perl-http-cookies")
3332 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Cookies-"
3336 "13rnz3233vbsfariya4njiyfaj6k94j6bvlyh3dmfmh24hpqgx77"))))
3337 (build-system perl-build-system)
3339 `(("perl-http-message" ,perl-http-message)))
3340 (license license:perl-license)
3341 (synopsis "Perl HTTP cookie jars")
3343 "The HTTP::Cookies class is for objects that represent a cookie jar,
3344 that is, a database of all the HTTP cookies that a given LWP::UserAgent
3345 object knows about.")
3346 (home-page "https://metacpan.org/release/GAAS/HTTP-Cookies-6.01")))
3348 (define-public perl-http-daemon
3350 (name "perl-http-daemon")
3355 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
3359 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
3360 (build-system perl-build-system)
3362 `(("perl-http-message" ,perl-http-message)
3363 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
3364 (license license:perl-license)
3365 (synopsis "Perl simple http server class")
3367 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
3368 on a socket for incoming requests. The HTTP::Daemon is a subclass of
3369 IO::Socket::INET, so you can perform socket operations directly on it too.")
3370 (home-page "https://metacpan.org/release/HTTP-Daemon")))
3372 (define-public perl-http-date
3374 (name "perl-http-date")
3379 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Date-"
3383 "0awjdbz7x0jd5pna55dwxhs3k6xp3sw6b2zg3p2yndxxvya64p9n"))))
3384 (build-system perl-build-system)
3385 (license license:perl-license)
3386 (synopsis "Perl date conversion routines")
3388 "The HTTP::Date module provides functions that deal with date formats
3389 used by the HTTP protocol (and then some more).")
3390 (home-page "https://metacpan.org/release/HTTP-Date")))
3392 (define-public perl-http-lite
3394 (name "perl-http-lite")
3400 "mirror://cpan/authors/id/N/NE/NEILB/HTTP-Lite-"
3404 "0z77nflj8zdcfg70kc93glq5kmd6qxn2nf7h70x4xhfg25wkvr1q"))))
3405 (build-system perl-build-system)
3406 (native-inputs `(("perl-cgi" ,perl-cgi)))
3407 (home-page "https://metacpan.org/release/HTTP-Lite")
3408 (synopsis "Lightweight HTTP implementation")
3409 (description "@code{HTTP::Lite} is a stand-alone lightweight
3410 HTTP/1.1 implementation for perl. It is intended for use in
3411 situations where it is desirable to install the minimal number of
3412 modules to achieve HTTP support. @code{HTTP::Lite} is ideal for
3413 CGI (or mod_perl) programs or for bundling for redistribution with
3414 larger packages where only HTTP GET and POST functionality are
3415 necessary. @code{HTTP::Lite} is compliant with the Host header,
3416 necessary for name based virtual hosting, and supports proxies.
3417 Additionally, @code{HTTP::Lite} supports a callback to allow
3418 processing of request data as it arrives.")
3419 (license license:perl-license)))
3421 (define-public perl-http-message
3423 (name "perl-http-message")
3428 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Message-"
3432 "04lih0fn89jpyk74c4aq1rzq18h8v4zd3x0lik2r9dl8sdqd2q6h"))))
3433 (build-system perl-build-system)
3435 `(("perl-try-tiny" ,perl-try-tiny)))
3437 `(("perl-encode-locale" ,perl-encode-locale)
3438 ("perl-http-date" ,perl-http-date)
3439 ("perl-io-html" ,perl-io-html)
3440 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
3441 ("perl-uri" ,perl-uri)))
3442 (license license:perl-license)
3443 (synopsis "Perl HTTP style message")
3445 "An HTTP::Message object contains some headers and a content body.")
3446 (home-page "https://metacpan.org/release/ETHER/HTTP-Message-6.11")))
3448 (define-public perl-http-negotiate
3450 (name "perl-http-negotiate")
3455 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
3459 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
3460 (build-system perl-build-system)
3462 `(("perl-http-message" ,perl-http-message)))
3463 (license license:perl-license)
3464 (synopsis "Perl http content negotiation")
3466 "The HTTP::Negotiate module provides a complete implementation of the
3467 HTTP content negotiation algorithm specified in
3468 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
3469 the selection of a preferred content representation based upon attributes
3470 of the negotiable variants and the value of the various Accept* header
3471 fields in the request.")
3472 (home-page "https://metacpan.org/release/HTTP-Negotiate")))
3474 (define-public perl-http-parser
3476 (name "perl-http-parser")
3481 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
3482 "HTTP-Parser-" version ".tar.gz"))
3485 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
3486 (build-system perl-build-system)
3488 `(("perl-http-message" ,perl-http-message)
3489 ("perl-uri" ,perl-uri)))
3490 (home-page "https://metacpan.org/release/HTTP-Parser")
3491 (synopsis "Parse HTTP/1.1 requests")
3492 (description "This is an HTTP request parser. It takes chunks of text as
3493 received and returns a @code{hint} as to what is required, or returns the
3494 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
3496 (license license:perl-license)))
3498 (define-public perl-http-parser-xs
3500 (name "perl-http-parser-xs")
3505 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
3506 "HTTP-Parser-XS-" version ".tar.gz"))
3509 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
3510 (build-system perl-build-system)
3512 `(("perl-module-install" ,perl-module-install)))
3513 (home-page "https://metacpan.org/release/HTTP-Parser-XS")
3514 (synopsis "Fast HTTP request parser")
3515 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
3517 (license license:perl-license)))
3519 (define-public perl-http-request-ascgi
3521 (name "perl-http-request-ascgi")
3526 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3527 "HTTP-Request-AsCGI-" version ".tar.gz"))
3530 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
3531 (build-system perl-build-system)
3533 `(("perl-class-accessor" ,perl-class-accessor)
3534 ("perl-http-message" ,perl-http-message)))
3535 (home-page "https://metacpan.org/release/HTTP-Request-AsCGI")
3536 (synopsis "Set up a CGI environment from an HTTP::Request")
3537 (description "This module provides a convenient way to set up a CGI
3538 environment from an HTTP::Request.")
3539 (license license:perl-license)))
3541 (define-public perl-http-server-simple
3543 (name "perl-http-server-simple")
3548 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
3549 "HTTP-Server-Simple-" version ".tar.gz"))
3552 "0k6bg7k6mjixfzxdkkdrhqvaqmdhjszx0zsk8g0bimiby6j9z4yq"))))
3553 (build-system perl-build-system)
3555 `(("perl-cgi" ,perl-cgi)))
3557 ;; See the discussion of a related tests issue at
3558 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
3561 #:phases (modify-phases %standard-phases
3562 (add-before 'configure 'set-search-path
3564 ;; Work around "dotless @INC" build failure.
3566 (string-append (getcwd) ":"
3567 (getenv "PERL5LIB")))
3569 (home-page "https://metacpan.org/release/HTTP-Server-Simple")
3570 (synopsis "Lightweight HTTP server")
3571 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
3572 no non-core module dependencies. It can be used for building a standalone
3573 http-based UI to your existing tools.")
3574 (license license:perl-license)))
3576 (define-public perl-http-tiny
3578 (name "perl-http-tiny")
3583 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3584 "HTTP-Tiny-" version ".tar.gz"))
3587 "11wkxxqj3ff84rgj9q2gzkdgscwp3fzj205846k9ycqinlpsmgfx"))))
3588 (build-system perl-build-system)
3590 `(("perl-http-cookiejar" ,perl-http-cookiejar)
3591 ("perl-io-socket-ip" ,perl-io-socket-ip)
3592 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
3593 ("perl-mozilla-ca" ,perl-mozilla-ca)
3594 ("perl-net-ssleay" ,perl-net-ssleay)))
3595 (home-page "https://metacpan.org/release/HTTP-Tiny")
3596 (synopsis "HTTP/1.1 client")
3597 (description "This is a very simple HTTP/1.1 client, designed for doing
3598 simple requests without the overhead of a large framework like LWP::UserAgent.
3599 It supports proxies and redirection. It also correctly resumes after EINTR.")
3600 (license license:perl-license)))
3602 (define-public perl-http-tinyish
3604 (name "perl-http-tinyish")
3610 "mirror://cpan/authors/id/M/MI/MIYAGAWA/HTTP-Tinyish-"
3615 "199sa722amvwhq0czjfb7psj3hbqmvni5vxkrm579r5943pg0rax"))))
3616 (build-system perl-build-system)
3618 `(("perl-file-which" ,perl-file-which)
3619 ("perl-ipc-run3" ,perl-ipc-run3)))
3620 (home-page "https://metacpan.org/release/HTTP-Tinyish")
3621 (synopsis "@code{HTTP::Tiny} compatible HTTP client wrappers")
3623 "@code{HTTP::Tinyish} is a wrapper module for @acronym{LWP,libwww-perl},
3624 @code{HTTP::Tiny}, curl and wget.
3626 It provides an API compatible to HTTP::Tiny.")
3627 (license license:perl-license)))
3629 (define-public perl-io-html
3631 (name "perl-io-html")
3636 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
3640 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
3641 (build-system perl-build-system)
3642 (license license:perl-license)
3643 (synopsis "Perl module to open an HTML file with automatic charset detection")
3645 "IO::HTML provides an easy way to open a file containing HTML while
3646 automatically determining its encoding. It uses the HTML5 encoding sniffing
3647 algorithm specified in section 8.2.2.1 of the draft standard.")
3648 (home-page "https://metacpan.org/release/IO-HTML")))
3650 (define-public perl-io-socket-ip
3652 (name "perl-io-socket-ip")
3657 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
3658 "IO-Socket-IP-" version ".tar.gz"))
3660 (base32 "0ihlpxrkq1xrvhnq52nhghanskic718ch8kpp642afgq72i4b6l4"))))
3661 (build-system perl-build-system)
3662 (native-inputs `(("perl-module-build" ,perl-module-build)))
3663 (home-page "https://metacpan.org/release/IO-Socket-IP")
3664 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
3665 (description "This module provides a protocol-independent way to use IPv4
3666 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
3667 (license license:perl-license)))
3669 (define-public perl-io-socket-ssl
3671 (name "perl-io-socket-ssl")
3675 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
3676 "IO-Socket-SSL-" version ".tar.gz"))
3679 "1kgbws7dwp2hh16qid7169dfkhmcwg7dz9ffbm6k0id5h53hciqd"))
3680 (patches (search-patches
3681 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
3682 (build-system perl-build-system)
3684 `(("perl-net-ssleay" ,perl-net-ssleay)
3686 ("perl-uri" ,perl-uri)))
3687 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
3689 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
3690 necessary functionality into the familiar IO::Socket interface and providing
3691 secure defaults whenever possible. This way existing applications can be made
3692 SSL-aware without much effort, at least if you do blocking I/O and don't use
3694 (license license:perl-license)
3695 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
3697 (define-public perl-libwww
3699 (name "perl-libwww")
3704 "mirror://cpan/authors/id/O/OA/OALDERS/libwww-perl-"
3708 "19k0cg4j4qz005a4ngy48z4r8dc99dxlpq8kvj7qnk15mvgd1r63"))))
3709 (build-system perl-build-system)
3711 `(("perl-test-fatal" ,perl-test-fatal)
3712 ("perl-test-needs" ,perl-test-needs)
3713 ("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3715 `(("perl-encode-locale" ,perl-encode-locale)
3716 ("perl-file-listing" ,perl-file-listing)
3717 ("perl-html-parser" ,perl-html-parser)
3718 ("perl-http-cookies" ,perl-http-cookies)
3719 ("perl-http-daemon" ,perl-http-daemon)
3720 ("perl-http-date" ,perl-http-date)
3721 ("perl-http-message" ,perl-http-message)
3722 ("perl-http-negotiate" ,perl-http-negotiate)
3723 ("perl-net-http" ,perl-net-http)
3724 ("perl-try-tiny" ,perl-try-tiny)
3725 ("perl-uri" ,perl-uri)
3726 ("perl-www-robotrules" ,perl-www-robotrules)))
3727 (license license:perl-license)
3728 (synopsis "Perl modules for the WWW")
3730 "The libwww-perl collection is a set of Perl modules which provides a
3731 simple and consistent application programming interface to the
3732 World-Wide Web. The main focus of the library is to provide classes
3733 and functions that allow you to write WWW clients. The library also
3734 contains modules that are of more general use and even classes that
3735 help you implement simple HTTP servers.")
3736 (home-page "https://metacpan.org/release/libwww-perl")))
3738 (define-public perl-lwp-online
3740 (name "perl-lwp-online")
3746 "mirror://cpan/authors/id/A/AD/ADAMK/LWP-Online-"
3750 "176f6vbk1018i0y7xj9d406ndbjgwzan2j9nihxnsahzg2vr2vz2"))))
3751 (build-system perl-build-system)
3753 `(("perl-libwww" ,perl-libwww)
3754 ("perl-uri" ,perl-uri)))
3756 `(("perl-module-install" ,perl-module-install)))
3757 (home-page "https://metacpan.org/release/LWP-Online")
3758 (synopsis "Checks whether your process has access to the web")
3759 (description "This module attempts to answer, as accurately as it can, one
3760 of the nastiest technical questions there is: am I on the internet?
3762 A host of networking and security issues make this problem very difficult.
3763 There are firewalls, proxies (both well behaved and badly behaved). We might
3764 not have DNS. We might not have a network card at all!")
3765 (license license:perl-license)))
3767 (define-public perl-lwp-mediatypes
3769 (name "perl-lwp-mediatypes")
3774 "mirror://cpan/authors/id/O/OA/OALDERS/LWP-MediaTypes-"
3778 "1n8rg6csv3dsvymg06cmxipimr6cb1g9r903ghm1qsmiv89cl6wg"))))
3779 (build-system perl-build-system)
3781 `(("perl-test-fatal" ,perl-test-fatal)))
3782 (license license:perl-license)
3783 (synopsis "Perl module to guess the media type for a file or a URL")
3785 "The LWP::MediaTypes module provides functions for handling media (also
3786 known as MIME) types and encodings. The mapping from file extensions to
3787 media types is defined by the media.types file. If the ~/.media.types file
3788 exists it is used instead.")
3789 (home-page "https://metacpan.org/release/LWP-MediaTypes")))
3791 (define-public perl-lwp-protocol-https
3793 (name "perl-lwp-protocol-https")
3798 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3799 "LWP-Protocol-https-" version ".tar.gz"))
3801 (base32 "14pm785cgyrnppks6ccasb2vkqifh0a8fz36nmnhc2v926jy3kqn"))))
3802 (build-system perl-build-system)
3805 `(("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3807 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3808 ("perl-libwww" ,perl-libwww)
3809 ;; Users should instead make sure SSL_ca_path is set properly.
3810 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3811 ("perl-net-http" ,perl-net-http)))
3812 (home-page "https://metacpan.org/release/LWP-Protocol-https")
3813 (synopsis "HTTPS support for LWP::UserAgent")
3814 (description "The LWP::Protocol::https module provides support for using
3815 https schemed URLs with LWP.")
3816 (license license:perl-license)))
3818 (define-public perl-lwp-useragent-cached
3820 (name "perl-lwp-useragent-cached")
3825 (uri (string-append "mirror://cpan/authors/id/O/OL/OLEG/"
3826 "LWP-UserAgent-Cached-" version ".tar.gz"))
3829 "1hw7wy7f82kl61xjwkgmhv1ixgg56dhgfr45wxn6ahc0qys5mkix"))))
3830 (build-system perl-build-system)
3832 `(("perl-libwww" ,perl-libwww)))
3833 (home-page "https://metacpan.org/release/LWP-UserAgent-Cached")
3834 (synopsis "Simple caching for LWP::UserAgent")
3835 (description "LWP::UserAgent::Cached is an LWP::UserAgent subclass with
3836 cache support. It returns responses from the local file system, if available,
3837 instead of making an HTTP request.")
3838 (license license:perl-license)))
3840 (define-public perl-lwp-useragent-determined
3842 (name "perl-lwp-useragent-determined")
3847 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
3848 "LWP-UserAgent-Determined-" version ".tar.gz"))
3851 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
3852 (build-system perl-build-system)
3854 `(("perl-libwww" ,perl-libwww)))
3855 (home-page "https://metacpan.org/release/LWP-UserAgent-Determined")
3856 (synopsis "Virtual browser that retries errors")
3857 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
3858 except that when you use it to get a web page but run into a
3859 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
3860 and retry a few times.")
3861 (license license:perl-license)))
3863 (define-public perl-lwpx-paranoidagent
3865 (name "perl-lwpx-paranoidagent")
3871 "mirror://cpan/authors/id/S/SA/SAXJAZMAN/lwp/LWPx-ParanoidAgent-"
3875 "0gfhw3jbs25yya2dryv8xvyn9myngcfcmsybj7gkq62fnznil16c"))))
3876 (build-system perl-build-system)
3878 `(("perl-libwww" ,perl-libwww)
3879 ;; Users should instead make sure SSL_ca_path is set properly.
3880 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3881 ("perl-net-dns" ,perl-net-dns)))
3882 (home-page "https://metacpan.org/release/LWPx-ParanoidAgent")
3883 (synopsis "Security enhanced subclass of LWP::UserAgent")
3884 (description "@code{LWPx::ParanoidAgent} is a class subclassing
3885 @code{LWP::UserAgent} but paranoid against attackers. Its purpose is
3886 to vet requests for a remote resource on behalf of a possibly
3887 malicious user. The class can do the same as @code{LWP::UserAgent},
3888 except that proxy support has been removed. Support for URI schemes
3889 is limited to http and https.")
3890 (license license:perl-license)))
3892 (define-public perl-net-amazon-s3
3894 (name "perl-net-amazon-s3")
3899 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
3900 "Net-Amazon-S3-" version ".tar.gz"))
3903 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
3904 (patches (search-patches
3905 "perl-net-amazon-s3-moose-warning.patch"))))
3906 (build-system perl-build-system)
3908 `(("perl-libwww" ,perl-libwww)
3909 ("perl-test-exception" ,perl-test-exception)))
3911 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
3912 ("perl-datetime-format-http" ,perl-datetime-format-http)
3913 ("perl-digest-hmac" ,perl-digest-hmac)
3914 ("perl-digest-md5-file" ,perl-digest-md5-file)
3915 ("perl-file-find-rule" ,perl-file-find-rule)
3916 ("perl-http-date" ,perl-http-date)
3917 ("perl-http-message" ,perl-http-message)
3918 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
3919 ("perl-mime-types" ,perl-mime-types)
3920 ("perl-moose" ,perl-moose)
3921 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
3922 ("perl-moosex-types-datetime-morecoercions"
3923 ,perl-moosex-types-datetime-morecoercions)
3924 ("perl-path-class" ,perl-path-class)
3925 ("perl-regexp-common" ,perl-regexp-common)
3926 ("perl-term-encoding" ,perl-term-encoding)
3927 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
3928 ("perl-uri" ,perl-uri)
3929 ("perl-xml-libxml" ,perl-xml-libxml)))
3930 (home-page "https://metacpan.org/release/Net-Amazon-S3")
3931 (synopsis "Perl interface to Amazon S3")
3932 (description "This module provides a Perlish interface to Amazon S3.")
3933 (license license:perl-license)))
3935 (define-public perl-net-http
3937 (name "perl-net-http")
3942 "mirror://cpan/authors/id/O/OA/OALDERS/"
3943 "Net-HTTP-" version ".tar.gz"))
3946 "1i1gbcwdzx74whn5vn6xbr2cp7frldfz2rfrcjp2qljr770nxdsj"))))
3947 (build-system perl-build-system)
3949 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3950 ("perl-uri" ,perl-uri)))
3951 (license license:perl-license)
3952 (synopsis "Perl low-level HTTP connection (client)")
3954 "The Net::HTTP class is a low-level HTTP client. An instance of the
3955 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
3956 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
3958 (home-page "https://metacpan.org/release/Net-HTTP")))
3960 (define-public perl-net-server
3962 (name "perl-net-server")
3967 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
3968 "Net-Server-" version ".tar.gz"))
3971 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
3972 (build-system perl-build-system)
3973 (home-page "https://metacpan.org/release/Net-Server")
3974 (synopsis "Extensible Perl server engine")
3975 (description "Net::Server is an extensible, generic Perl server engine.
3976 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
3977 It includes with it the ability to run as an inetd
3978 process (Net::Server::INET), a single connection server (Net::Server or
3979 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
3980 server which maintains a constant number of preforked
3981 children (Net::Server::PreForkSimple), or as a managed preforking server which
3982 maintains the number of children based on server load (Net::Server::PreFork).
3983 In all but the inetd type, the server provides the ability to connect to one
3984 or to multiple server ports.")
3985 (license license:perl-license)))
3987 (define-public perl-net-smtp-ssl
3989 (name "perl-net-smtp-ssl")
3994 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
3995 "Net-SMTP-SSL-" version ".tar.gz"))
3998 "001a6dcfahf7kkyirqkc8jd4fh4fkal7n7vm9c4dblqrvmdc8abv"))))
3999 (build-system perl-build-system)
4001 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
4002 (home-page "https://metacpan.org/release/Net-SMTP-SSL")
4003 (synopsis "SSL support for Net::SMTP")
4004 (description "SSL support for Net::SMTP.")
4005 (license license:perl-license)))
4007 (define-public perl-plack
4014 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4015 "Plack-" version ".tar.gz"))
4018 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
4019 (build-system perl-build-system)
4021 `(("perl-test-requires" ,perl-test-requires)
4022 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
4024 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
4025 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
4026 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
4027 ("perl-file-sharedir" ,perl-file-sharedir)
4028 ("perl-hash-multivalue" ,perl-hash-multivalue)
4029 ("perl-http-body" ,perl-http-body)
4030 ("perl-http-message" ,perl-http-message)
4031 ("perl-http-tiny" ,perl-http-tiny)
4032 ("perl-libwww" ,perl-libwww)
4033 ("perl-stream-buffered" ,perl-stream-buffered)
4034 ("perl-test-tcp" ,perl-test-tcp)
4035 ("perl-try-tiny" ,perl-try-tiny)
4036 ("perl-uri" ,perl-uri)))
4037 (home-page "https://metacpan.org/release/Plack")
4038 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
4039 (description "Plack is a set of tools for using the PSGI stack. It
4040 contains middleware components, a reference server, and utilities for Web
4041 application frameworks. Plack is like Ruby's Rack or Python's Paste for
4043 (license license:perl-license)))
4045 (define-public perl-plack-middleware-deflater
4047 (name "perl-plack-middleware-deflater")
4053 "mirror://cpan/authors/id/K/KA/KAZEBURO/"
4054 "Plack-Middleware-Deflater-" version ".tar.gz"))
4057 "0xf2visi16hgwgyp9q0cjr10ikbn474hjia5mj8mb2scvbkrbni8"))))
4058 (build-system perl-build-system)
4060 `(("perl-module-install" ,perl-module-install)
4061 ("perl-test-requires" ,perl-test-requires)))
4063 `(("perl-plack" ,perl-plack)))
4064 (home-page "https://metacpan.org/release/Plack-Middleware-Deflater")
4065 (synopsis "Compress response body with Gzip or Deflate")
4067 "Plack::Middleware::Deflater is a middleware to encode your response body
4068 in gzip or deflate, based on \"Accept-Encoding\" HTTP request header. It
4069 would save the bandwidth a little bit but should increase the Plack server
4070 load, so ideally you should handle this on the frontend reverse proxy
4072 (license license:perl-license)))
4074 (define-public perl-plack-middleware-fixmissingbodyinredirect
4076 (name "perl-plack-middleware-fixmissingbodyinredirect")
4081 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
4082 "Plack-Middleware-FixMissingBodyInRedirect-"
4086 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
4087 (build-system perl-build-system)
4089 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
4090 ("perl-http-message" ,perl-http-message)
4091 ("perl-plack" ,perl-plack))) ;for Plack::Test
4093 "https://metacpan.org/release/Plack-Middleware-FixMissingBodyInRedirect")
4094 (synopsis "Plack::Middleware which sets body for redirect response")
4095 (description "This module sets the body in redirect response, if it's not
4097 (license license:perl-license)))
4099 (define-public perl-plack-middleware-methodoverride
4101 (name "perl-plack-middleware-methodoverride")
4106 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4107 "Plack-Middleware-MethodOverride-"
4110 (base32 "1wdmmav3rbhv49zpw311zrxxqmg1fz3f3q9src0ypgs8zcp5myyv"))))
4111 (build-system perl-build-system)
4113 `(("perl-module-build" ,perl-module-build)))
4115 `(("perl-plack" ,perl-plack)))
4116 (home-page "https://metacpan.org/release/Plack-Middleware-MethodOverride")
4117 (synopsis "Override REST methods to Plack apps via POST")
4118 (description "This middleware allows for POST requests that pretend to be
4119 something else: by adding either a header named X-HTTP-Method-Override to the
4120 request, or a query parameter named x-tunneled-method to the URI, the client
4121 can say what method it actually meant.")
4122 (license license:perl-license)))
4124 (define-public perl-plack-middleware-removeredundantbody
4126 (name "perl-plack-middleware-removeredundantbody")
4131 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
4132 "Plack-Middleware-RemoveRedundantBody-"
4135 (base32 "1hz3kgb5vw4r02gfk9i911f5ykvz55lrsx45bdcllk2bszal3f34"))))
4136 (build-system perl-build-system)
4138 `(("perl-plack" ,perl-plack)))
4140 "https://metacpan.org/release/Plack-Middleware-RemoveRedundantBody")
4141 (synopsis "Plack::Middleware which removes body for HTTP response")
4142 (description "This module removes the body in an HTTP response if it's not
4144 (license license:perl-license)))
4146 (define-public perl-plack-middleware-reverseproxy
4148 (name "perl-plack-middleware-reverseproxy")
4153 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4154 "Plack-Middleware-ReverseProxy-"
4157 (base32 "0a512n62pnk5ayj3zdzyj50iy1qi8nwh6ygks2h7nrh7gp9k2jc7"))))
4158 (build-system perl-build-system)
4160 `(("perl-module-install" ,perl-module-install)))
4162 `(("perl-plack" ,perl-plack)))
4163 (home-page "https://metacpan.org/release/Plack-Middleware-ReverseProxy")
4164 (synopsis "Supports app to run as a reverse proxy backend")
4165 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
4166 which are changed by reverse-proxy. You can specify the reverse proxy address
4167 and stop fake requests using @code{enable_if} directive in your app.psgi.")
4168 (license license:perl-license)))
4170 (define-public perl-plack-test-externalserver
4172 (name "perl-plack-test-externalserver")
4177 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
4178 "Plack-Test-ExternalServer-" version ".tar.gz"))
4180 (base32 "1l1yj1l25679x7cbpd27ii7s1f1ajpkspif9xqnl21hczrbmrbsv"))))
4181 (build-system perl-build-system)
4183 `(("perl-plack" ,perl-plack)))
4184 (home-page "https://metacpan.org/release/Plack-Test-ExternalServer")
4185 (synopsis "Run HTTP tests on external live servers")
4186 (description "This module allows your to run your Plack::Test tests
4187 against an external server instead of just against a local application through
4188 either mocked HTTP or a locally spawned server.")
4189 (license license:perl-license)))
4191 (define-public perl-test-tcp
4193 (name "perl-test-tcp")
4198 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4199 "Test-TCP-" version ".tar.gz"))
4201 (base32 "0mvv9rqwrwlcfh8qrs0s47p85rhlnw15d4gbpyi802bddp0c6lry"))))
4202 (build-system perl-build-system)
4204 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
4205 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
4206 (home-page "https://metacpan.org/release/Test-TCP")
4207 (synopsis "Testing TCP programs")
4208 (description "Test::TCP is test utilities for TCP/IP programs.")
4209 (license license:perl-license)))
4211 (define-public perl-test-www-mechanize
4213 (name "perl-test-www-mechanize")
4218 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
4219 "Test-WWW-Mechanize-" version ".tar.gz"))
4221 (base32 "1jsywlbxhqw39ij7s8vmgff5vys58vlfaq27072awacnxc65aal4"))))
4222 (build-system perl-build-system)
4224 `(("perl-carp-assert-more" ,perl-carp-assert-more)
4225 ("perl-html-form" ,perl-html-form)
4226 ("perl-html-lint" ,perl-html-lint)
4227 ("perl-http-server-simple" ,perl-http-server-simple)
4228 ("perl-libwww" ,perl-libwww)
4229 ("perl-test-longstring" ,perl-test-longstring)
4230 ("perl-www-mechanize" ,perl-www-mechanize)))
4231 (home-page "https://metacpan.org/release/Test-WWW-Mechanize")
4232 (synopsis "Testing-specific WWW::Mechanize subclass")
4233 (description "Test::WWW::Mechanize is a subclass of the Perl module
4234 WWW::Mechanize that incorporates features for web application testing.")
4235 (license license:artistic2.0)))
4237 (define-public perl-test-www-mechanize-catalyst
4239 (name "perl-test-www-mechanize-catalyst")
4244 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
4245 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
4247 (base32 "1cdc2q16vs6fb335pzaislz2rx1ph9acaxyp7v5hv9xbwwddwfqq"))))
4248 (build-system perl-build-system)
4250 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
4251 ("perl-catalyst-plugin-session-state-cookie"
4252 ,perl-catalyst-plugin-session-state-cookie)
4253 ("perl-module-install" ,perl-module-install)
4254 ("perl-test-exception" ,perl-test-exception)
4255 ("perl-test-pod" ,perl-test-pod)
4256 ("perl-test-utf8" ,perl-test-utf8)))
4258 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
4259 ("perl-class-load" ,perl-class-load)
4260 ("perl-libwww" ,perl-libwww)
4261 ("perl-moose" ,perl-moose)
4262 ("perl-namespace-clean" ,perl-namespace-clean)
4263 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
4264 ("perl-www-mechanize" ,perl-www-mechanize)))
4265 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-Catalyst")
4266 (synopsis "Test::WWW::Mechanize for Catalyst")
4267 (description "The Test::WWW::Mechanize::Catalyst module meshes the
4268 Test::WWW:Mechanize module and the Catalyst web application framework to allow
4269 testing of Catalyst applications without needing to start up a web server.")
4270 (license license:perl-license)))
4272 (define-public perl-test-www-mechanize-psgi
4274 (name "perl-test-www-mechanize-psgi")
4279 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4280 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
4283 "0fsh2i05kf1kfavv2r9kmnjl7qlyqrd11ikc0qcqzzxsqzzjkg9r"))))
4284 (build-system perl-build-system)
4286 `(("perl-test-pod" ,perl-test-pod)))
4288 `(("perl-plack" ,perl-plack)
4289 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
4290 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-PSGI")
4291 (synopsis "Test PSGI programs using WWW::Mechanize")
4292 (description "PSGI is a specification to decouple web server environments
4293 from web application framework code. Test::WWW::Mechanize is a subclass of
4294 WWW::Mechanize that incorporates features for web application testing. The
4295 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
4297 (license license:perl-license)))
4299 (define-public perl-uri
4305 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4306 "URI-" version ".tar.gz"))
4309 "0gj1aj18k43kmzc3y1zhj5giinf8rksacf757r475xfna0fqxjdj"))))
4310 (build-system perl-build-system)
4313 `(("perl-test-needs" ,perl-test-needs)))
4314 (license license:perl-license)
4315 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
4317 "The URI module implements the URI class. Objects of this class
4318 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
4319 and updated by RFC 2732.")
4320 (home-page "https://metacpan.org/release/URI")))
4322 (define-public perl-uri-fetch
4324 (name "perl-uri-fetch")
4328 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
4329 "URI-Fetch-" version ".tar.gz"))
4332 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
4333 (build-system perl-build-system)
4335 `(#:tests? #f)) ; Tests require internet connection to succeed
4337 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4338 ("perl-libwww" ,perl-libwww)
4339 ("perl-uri" ,perl-uri)))
4340 (home-page "https://metacpan.org/release/URI-Fetch")
4341 (synopsis "Smart URI fetching/caching")
4342 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
4343 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
4344 and time-saving way.")
4345 (license license:perl-license)))
4347 (define-public perl-uri-find
4349 (name "perl-uri-find")
4350 (version "20160806")
4354 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
4355 "URI-Find-" version ".tar.gz"))
4358 "1mk3jv8x0mcq3ajrn9garnxd0jc7sw4pkwqi88r5apqvlljs84z2"))))
4359 (build-system perl-build-system)
4361 `(("perl-module-build" ,perl-module-build)))
4363 `(("perl-uri" ,perl-uri)))
4364 (home-page "https://metacpan.org/release/URI-Find")
4365 (synopsis "Find URIs in arbitrary text")
4366 (description "This module finds URIs and URLs (according to what URI.pm
4367 considers a URI) in plain text. It only finds URIs which include a
4368 scheme (http:// or the like), for something a bit less strict, consider
4369 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
4370 (license license:perl-license)))
4372 (define-public perl-uri-ws
4374 (name "perl-uri-ws")
4379 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
4380 "URI-ws-" version ".tar.gz"))
4383 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
4384 (build-system perl-build-system)
4386 `(("perl-uri" ,perl-uri)))
4387 (home-page "https://metacpan.org/release/URI-ws")
4388 (synopsis "WebSocket support for URI package")
4389 (description "With this module, the URI package provides the same set of
4390 methods for WebSocket URIs as it does for HTTP URIs.")
4391 (license license:perl-license)))
4393 (define-public perl-uri-template
4395 (name "perl-uri-template")
4399 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
4403 "1phibcmam2hklrddzj79l43va1gcqpyszbw21ynxq53ynmhjvbk8"))))
4404 (build-system perl-build-system)
4406 `(("perl-uri" ,perl-uri)))
4408 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
4409 ("perl-test-pod" ,perl-test-pod)
4410 ("perl-module-install" ,perl-module-install)
4411 ("perl-json" ,perl-json)))
4412 (home-page "https://metacpan.org/release/URI-Template")
4413 (synopsis "Object for handling URI templates")
4414 (description "This perl module provides a wrapper around URI templates as described in
4416 (license license:perl-license)))
4418 (define-public perl-www-curl
4420 (name "perl-www-curl")
4425 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
4427 (patches (search-patches "perl-www-curl-fix-struct-void.patch"
4428 "perl-www-curl-remove-symbol.patch"))
4431 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
4432 (build-system perl-build-system)
4434 '(#:tests? #f ;XXX: tests require network access
4435 #:phases (modify-phases %standard-phases
4436 (add-before 'configure 'set-search-path
4438 ;; Work around "dotless @INC" build failure.
4440 (string-append (getcwd) ":"
4441 (getenv "PERL5LIB")))
4444 `(("perl-module-install" ,perl-module-install)))
4445 (inputs `(("curl" ,curl)))
4446 (synopsis "Perl extension interface for libcurl")
4448 "This is a Perl extension interface for the libcurl file downloading
4450 (license license:perl-license)
4451 (home-page "https://metacpan.org/release/WWW-Curl")))
4453 (define-public perl-www-mechanize
4455 (name "perl-www-mechanize")
4460 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4461 "WWW-Mechanize-" version ".tar.gz"))
4463 (base32 "0cb14m1vhaf0mgn2fqwi5hm72xhfi77hpq2g57swgy0w83x7m27b"))))
4464 (build-system perl-build-system)
4465 (native-inputs ;only for tests
4466 `(("perl-cgi" ,perl-cgi)
4467 ("perl-test-deep" ,perl-test-deep)
4468 ("perl-test-fatal" ,perl-test-fatal)
4469 ("perl-test-output" ,perl-test-output)
4470 ("perl-test-warnings" ,perl-test-warnings)))
4472 `(("perl-html-form" ,perl-html-form)
4473 ("perl-html-parser" ,perl-html-parser)
4474 ("perl-html-tree" ,perl-html-tree)
4475 ("perl-http-message" ,perl-http-message)
4476 ("perl-http-server-simple" ,perl-http-server-simple)
4477 ("perl-libwww" ,perl-libwww)
4478 ("perl-test-warn" ,perl-test-warn)
4479 ("perl-uri" ,perl-uri)))
4480 (home-page "https://metacpan.org/release/WWW-Mechanize")
4481 (synopsis "Web browsing in a Perl object")
4482 (description "WWW::Mechanize is a Perl module for stateful programmatic
4483 web browsing, used for automating interaction with websites.")
4484 (license license:perl-license)))
4486 (define-public perl-www-opensearch
4488 (name "perl-www-opensearch")
4492 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
4493 "WWW-OpenSearch-" version ".tar.gz"))
4496 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
4497 (build-system perl-build-system)
4499 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4500 ("perl-datetime" ,perl-datetime)
4501 ("perl-datetime-format-mail" ,perl-datetime-format-mail)
4502 ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
4503 ("perl-feed-find" ,perl-feed-find)
4504 ("perl-module-install" ,perl-module-install)
4505 ("perl-module-pluggable" ,perl-module-pluggable)
4506 ("perl-uri-fetch" ,perl-uri-fetch)
4507 ("perl-test-simple" ,perl-test-simple)
4508 ("perl-xml-atom" ,perl-xml-atom)
4509 ("perl-xml-rss" ,perl-xml-rss)))
4511 `(("perl-data-page" ,perl-data-page)
4512 ("perl-libwww" ,perl-libwww)
4513 ("perl-uri" ,perl-uri)
4514 ("perl-uri-template" ,perl-uri-template)
4515 ("perl-xml-feed" ,perl-xml-feed)
4516 ("perl-xml-libxml" ,perl-xml-libxml)))
4517 (home-page "https://metacpan.org/release/WWW-OpenSearch")
4518 (synopsis "Search A9 OpenSearch compatible engines")
4520 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
4521 http://opensearch.a9.com} compatible search engines.")
4522 (license license:perl-license)))
4524 (define-public perl-www-robotrules
4526 (name "perl-www-robotrules")
4531 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
4535 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
4536 (build-system perl-build-system)
4538 `(("perl-uri" ,perl-uri)))
4539 (license license:perl-license)
4540 (synopsis "Perl database of robots.txt-derived permissions")
4542 "The WWW::RobotRules module parses /robots.txt files as specified in
4543 \"A Standard for Robot Exclusion\", at
4544 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
4545 /robots.txt file to forbid conforming robots from accessing parts of
4547 (home-page "https://metacpan.org/release/WWW-RobotRules")))
4549 (define-public python-feedparser
4551 (name "python-feedparser")
4556 (uri (pypi-uri "feedparser" version ".tar.bz2"))
4559 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
4560 (build-system python-build-system)
4564 "https://github.com/kurtmckee/feedparser")
4565 (synopsis "Parse feeds in Python")
4567 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
4568 CDF, Atom 0.3, and Atom 1.0 feeds.")
4569 (license (list license:bsd-2 ; source code
4570 license:freebsd-doc)))) ; documentation
4572 (define-public python2-feedparser
4573 (package-with-python2 python-feedparser))
4575 (define-public guix-data-service
4576 (let ((commit "c596a1c6a90bb2fe07da5339b8dc832b81d94194")
4579 (name "guix-data-service")
4580 (version (string-append "0.0.1-" revision "." (string-take commit 7)))
4584 (url "https://git.savannah.gnu.org/git/guix/data-service.git")
4586 (file-name (git-file-name name version))
4589 "09gn2imhh3aqkzray0xgkz7slriy567inh5lpkxm74bgmx862g3g"))))
4590 (build-system gnu-build-system)
4592 '(#:modules ((guix build utils)
4593 (guix build gnu-build-system)
4598 #:test-target "check-with-tmp-database"
4600 (modify-phases %standard-phases
4601 (add-before 'build 'set-GUILE_AUTO_COMPILE
4603 ;; To avoid warnings relating to 'guild'.
4604 (setenv "GUILE_AUTO_COMPILE" "0")
4606 (add-after 'install 'wrap-executable
4607 (lambda* (#:key inputs outputs #:allow-other-keys)
4608 (let* ((out (assoc-ref outputs "out"))
4609 (bin (string-append out "/bin"))
4610 (guile (assoc-ref inputs "guile"))
4611 (guile-effective-version
4613 (open-pipe* OPEN_READ
4614 (string-append guile "/bin/guile")
4615 "-c" "(display (effective-version))")))
4616 (scm (string-append out "/share/guile/site/"
4617 guile-effective-version))
4618 (go (string-append out "/lib/guile/"
4619 guile-effective-version
4623 (simple-format (current-error-port)
4625 (string-append bin "/" file))
4626 (wrap-program (string-append bin "/" file)
4630 (map (lambda (input)
4632 (assoc-ref inputs input)
4637 `("GUILE_LOAD_PATH" ":" prefix
4638 (,scm ,(getenv "GUILE_LOAD_PATH")))
4639 `("GUILE_LOAD_COMPILED_PATH" ":" prefix
4640 (,go ,(getenv "GUILE_LOAD_COMPILED_PATH")))))
4646 (delete 'strip)))) ; As the .go files aren't compatible
4648 `(("guix" ,guile3.0-guix)
4649 ("guile-fibers" ,guile3.0-fibers)
4650 ("guile-json" ,guile3.0-json)
4651 ("guile-email" ,guile3.0-email)
4652 ("guile-prometheus" ,guile-prometheus)
4653 ("guile-squee" ,guile3.0-squee)
4654 ("ephemeralpg" ,ephemeralpg)
4655 ("util-linux" ,util-linux)
4656 ("postgresql" ,postgresql-11)
4657 ("sqitch" ,sqitch)))
4659 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
4660 ("autoconf" ,autoconf)
4661 ("automake" ,automake)
4662 ("emacs-minimal" ,emacs-minimal)
4663 ("emacs-htmlize" ,emacs-htmlize)
4664 ("pkg-config" ,pkg-config)))
4665 (synopsis "Store and provide data about GNU Guix")
4667 "The Guix Data Service stores data about GNU Guix, and provides this
4668 through a web interface. It supports listening to the guix-commits mailing
4669 list to find out about new revisions, then loads the data from these in to a
4670 PostgreSQL database.")
4671 (home-page "http://data.guix.gnu.org/")
4672 (license license:agpl3+))))
4674 (define-public gumbo-parser
4676 (name "gumbo-parser")
4681 (url "https://github.com/google/gumbo-parser")
4682 (commit (string-append "v" version))))
4683 (file-name (git-file-name name version))
4686 "0xslckwdh2i0g2qjsb6rnm8mjmbagvziz0hjlf7d1lbljfms1iw1"))))
4687 (build-system gnu-build-system)
4689 `(#:tests? #f)) ;tests require bundling googletest sources
4690 ;; The release tarball lacks the generated files.
4692 `(("autoconf" ,autoconf)
4693 ("automake" ,automake)
4694 ("libtool" ,libtool)))
4695 (home-page "https://github.com/google/gumbo-parser")
4696 (synopsis "HTML5 parsing library")
4698 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
4699 a pure C99 library.")
4700 (license license:asl2.0)))
4702 (define-public uwsgi
4708 (uri (string-append "https://projects.unbit.it/downloads/uwsgi-"
4712 "10zmk4npknigmbqcq1wmhd461dk93159px172112vyq0i19sqwj9"))))
4713 (build-system gnu-build-system)
4714 (outputs '("out" "python"))
4716 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
4717 ;; But there is no obvious way to run the real tests.
4720 (modify-phases %standard-phases
4722 ;; Configuration is done by writing an ini file.
4723 (lambda* (#:key outputs #:allow-other-keys)
4724 (let* ((out (assoc-ref outputs "out"))
4725 (bindir (string-append out "/bin"))
4726 (plugindir (string-append out "/lib/uwsgi")))
4727 ;; The build phase outputs files to these directories directly.
4730 ;; XXX: Enable other plugins.
4731 (call-with-output-file "buildconf/guix.ini"
4733 (format port "[uwsgi]
4739 plugins = cgi,python
4741 " bindir plugindir))))
4742 (setenv "PROFILE" "guix")
4745 ;; Move plugins into their own output.
4746 (lambda* (#:key outputs #:allow-other-keys)
4747 (let* ((out (assoc-ref outputs "out"))
4748 (plugindir (string-append out "/lib/uwsgi"))
4749 (python-plugin (string-append
4750 plugindir "/python_plugin.so")))
4751 (install-file python-plugin
4753 (assoc-ref outputs "python") "/lib/uwsgi"))
4754 (delete-file python-plugin)
4757 `(("pkg-config" ,pkg-config)
4758 ("python" ,python-wrapper)))
4760 `(("jansson" ,jansson)
4761 ("libxml2" ,libxml2)
4762 ("libyaml" ,libyaml)
4763 ("openssl" ,openssl)
4767 ("python" ,python)))
4768 (home-page "https://uwsgi-docs.readthedocs.org/")
4769 (synopsis "Application container server")
4771 "uWSGI presents a complete stack for networked/clustered web applications,
4772 implementing message/object passing, caching, RPC and process management.
4773 It uses the uwsgi protocol for all the networking/interprocess communications.")
4774 (license license:gpl2+))) ; with linking exception
4783 (uri (string-append "https://github.com/stedolan/jq"
4784 "/releases/download/jq-" version
4785 "/jq-" version ".tar.gz"))
4787 (base32 "0wmapfskhzfwranf6515nzmm84r7kwljgfs7dg6bjgxakbicis2x"))
4788 (modules '((guix build utils)))
4791 ;; Remove bundled onigurama.
4792 (delete-file-recursively "modules")
4795 `(("oniguruma" ,oniguruma)))
4797 `(;; TODO fix gems to generate documentation
4799 ;;("bundler" ,bundler)
4800 ("valgrind" ,valgrind)))
4801 (build-system gnu-build-system)
4802 (home-page "https://stedolan.github.io/jq/")
4803 (synopsis "Command-line JSON processor")
4804 (description "jq is like sed for JSON data – you can use it to slice and
4805 filter and map and transform structured data with the same ease that sed, awk,
4806 grep and friends let you play with text. It is written in portable C. jq can
4807 mangle the data format that you have into the one that you want with very
4808 little effort, and the program to do so is often shorter and simpler than
4810 (license (list license:expat license:cc-by3.0))))
4812 (define-public uhttpmock
4819 (uri (string-append "https://tecnocode.co.uk/downloads/uhttpmock/"
4820 "uhttpmock-" version ".tar.xz"))
4822 (base32 "0bqizz69hxk8rn4z57asz1d45vizl1rj6i5k3rzxn2x3qcik514h"))))
4823 (build-system glib-or-gtk-build-system)
4825 `(("gobject-introspection" ,gobject-introspection)
4827 ("glib-networking" ,glib-networking)
4828 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4829 ("pkg-config" ,pkg-config)))
4831 `(("libsoup" ,libsoup)))
4832 (home-page "https://gitlab.com/groups/uhttpmock")
4833 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
4835 "Uhttpmock is a project for mocking web service APIs which use HTTP or
4836 HTTPS. It provides a library, libuhttpmock, which implements recording and
4837 playback of HTTP request/response traces.")
4838 (license license:lgpl2.1+)))
4843 (version "2012-05-31")
4847 "http://www.home.unix-ag.org/simon/woof-"
4851 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
4852 (build-system trivial-build-system)
4854 '(#:modules ((guix build utils))
4857 (use-modules (guix build utils))
4858 (let* ((source (assoc-ref %build-inputs "source"))
4859 (out (assoc-ref %outputs "out"))
4860 (bin (string-append out "/bin"))
4861 (python (assoc-ref %build-inputs "python")))
4863 (with-directory-excursion bin
4864 (copy-file source "woof")
4865 (patch-shebang "woof" (list (string-append python "/bin")))
4866 (chmod "woof" #o555))
4868 (inputs `(("python" ,python-2)))
4869 (home-page "http://www.home.unix-ag.org/simon/woof.html")
4870 (synopsis "Single file web server")
4871 (description "Woof (Web Offer One File) is a small simple web server that
4872 can easily be invoked on a single file. Your partner can access the file with
4873 tools they trust (e.g. wget).")
4874 (license license:gpl2+)))
4876 (define netsurf-buildsystem
4878 (name "netsurf-buildsystem")
4883 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4884 "buildsystem-" version ".tar.gz"))
4887 "0alsmaig9ln8dgllb3z63gq90fiz75jz0ic71fi0k0k898qix14k"))))
4888 (build-system gnu-build-system)
4889 (inputs `(("perl" ,perl)))
4891 '(#:make-flags (list (string-append "PREFIX=" %output))
4892 #:tests? #f ;no tests
4893 #:phases (modify-phases %standard-phases
4896 (home-page "https://www.netsurf-browser.org")
4897 (synopsis "Build system for the Netsurf project")
4899 "This package provides the shared build system for Netsurf project
4901 (license license:expat)))
4903 (define netsurf-buildsystem-arguments
4904 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
4905 "CC=gcc" "BUILD_CC=gcc"
4906 ,(string-append "PREFIX=" %output)
4907 ,(string-append "NSSHARED="
4908 (assoc-ref %build-inputs
4909 "netsurf-buildsystem")
4910 "/share/netsurf-buildsystem"))
4911 #:test-target "test"
4912 #:phases (modify-phases %standard-phases
4913 (delete 'configure))))
4915 (define-public libparserutils
4917 (name "libparserutils")
4922 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4923 name "-" version "-src.tar.gz"))
4926 "1n2794y2l0c8nv8z2pxwfnbn882987ifmxjv60zdxkhcndhswarj"))))
4927 (build-system gnu-build-system)
4929 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4930 ("pkg-config" ,pkg-config)
4931 ("perl" ,perl))) ;for test harness
4932 (arguments netsurf-buildsystem-arguments)
4933 (home-page "https://www.netsurf-browser.org/projects/libparserutils/")
4934 (synopsis "Parser building library")
4936 "LibParserUtils is a library for building efficient parsers, written in
4937 C. It is developed as part of the NetSurf project.")
4938 (license license:expat)))
4940 (define-public hubbub
4947 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4948 "libhubbub-" version "-src.tar.gz"))
4951 "1dimfyblmym98qa1b80c5jslv2zk8r44xbdrgrsrw1n9wr9y4yly"))
4952 (patches (search-patches "hubbub-sort-entities.patch"))))
4953 (build-system gnu-build-system)
4955 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4956 ("pkg-config" ,pkg-config)
4957 ("doxygen" ,doxygen)
4958 ("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
4961 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
4962 (arguments netsurf-buildsystem-arguments)
4963 (home-page "https://www.netsurf-browser.org/projects/hubbub/")
4964 (synopsis "HTML5 compliant parsing library")
4966 "Hubbub is an HTML5 compliant parsing library, written in C, which can
4967 parse both valid and invalid web content. It is developed as part of the
4969 (license license:expat)))
4971 (define-public ikiwiki
4974 (version "3.20200202.3")
4979 (url "git://git.ikiwiki.info/")
4981 (file-name (git-file-name name version))
4984 "0fphyqzlk9y8v9s89ypsmrnbhyymzrpc2w0liy0n4knc7kk2pabq"))
4987 ;; The POT file requires write permission during the build
4989 (chmod "po/ikiwiki.pot" #o644)
4991 (build-system perl-build-system)
4994 (modify-phases %standard-phases
4995 (add-after 'patch-source-shebangs 'patch-Makefiles
4997 (substitute* "Makefile.PL"
4998 (("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
4999 (with-directory-excursion "po"
5000 (substitute* "Makefile"
5001 (("PERL5LIB=") "PERL5LIB=${PERL5LIB}:")))
5003 (add-before 'build 'set-modification-times
5004 ;; The wiki '--refresh' steps, which are executed during
5005 ;; the check phase, require recent timestamps on files in
5006 ;; the 'doc' and 'underlays' directories.
5008 (invoke "find" "doc" "underlays" "-type" "f" "-exec"
5011 (add-before 'check 'pre-check
5012 (lambda* (#:key inputs #:allow-other-keys)
5013 ;; Six tests use IPC::Run. For these tests the PERL5LIB
5014 ;; variable is needed in the runtime environment and also
5015 ;; in the search path list in the setup file.
5017 '("t/aggregate-file.t" "t/git-cgi.t" "t/git-untrusted.t"
5018 "t/passwordauth.t" "t/relativity.t" "t/wrapper-environ.t")
5019 (("(.*)\"perl\"(.*)$" _ prefix suffix)
5020 (string-append prefix "qw(env), 'PERL5LIB='.$ENV{PERL5LIB}"
5021 ", qw(perl)" suffix))
5022 (("(.*) PERL5LIB=(.*) perl(.*)$" _ prefix middle suffix)
5023 (string-append prefix "), 'PERL5LIB='.$ENV{PERL5LIB}.':"
5024 middle "', qw(perl" suffix))
5025 (("(.*)setup(.* )getcwd(.*)$" _ prefix middle suffix)
5026 (string-append prefix "setup" middle
5027 "$ENV{PERL5LIB}.':'.getcwd" suffix))
5028 (("^ENV(.*): '(.*)$" _ middle suffix)
5029 (string-append "ENV" middle
5030 ": '$ENV{PERL5LIB}:" suffix)))
5031 ;; XDG_DATA_DIRS is needed by the podcast.t test.
5032 (setenv "XDG_DATA_DIRS"
5033 (string-append (assoc-ref inputs "shared-mime-info")
5035 ;; CC is needed by IkiWiki/Wrapper.pm.
5038 (add-after 'install 'wrap-programs
5039 (lambda* (#:key outputs #:allow-other-keys)
5040 (let* ((out (assoc-ref outputs "out"))
5041 (bin (string-append out "/bin/"))
5042 (path (getenv "PERL5LIB")))
5043 (for-each (lambda (file)
5045 `("PERL5LIB" ":" prefix (,path))))
5050 ("gettext" ,gettext-minimal)
5051 ("subversion" ,subversion)
5055 ("mercurial" ,mercurial)))
5057 `(("python" ,python-wrapper)
5058 ("perl-authen-passphrase" ,perl-authen-passphrase)
5059 ("perl-cgi-simple" ,perl-cgi-simple)
5060 ("perl-db-file" ,perl-db-file)
5061 ("perl-file-mimeinfo" ,perl-file-mimeinfo)
5062 ("perl-html-tagset" ,perl-html-tagset)
5063 ("perl-image-magick" ,perl-image-magick)
5064 ("perl-ipc-run" ,perl-ipc-run)
5065 ("perl-lwpx-paranoidagent" ,perl-lwpx-paranoidagent)
5066 ("perl-xml-feed" ,perl-xml-feed)
5067 ("perl-xml-sax" ,perl-xml-sax)
5068 ("perl-xml-twig" ,perl-xml-twig)
5071 `(("perl-cgi-formbuilder" ,perl-cgi-formbuilder)
5072 ("perl-cgi-session" ,perl-cgi-session)
5073 ("perl-html-parser" ,perl-html-parser)
5074 ("perl-html-scrubber" ,perl-html-scrubber)
5075 ("perl-html-template" ,perl-html-template)
5076 ("perl-json" ,perl-json)
5077 ("perl-mail-sendmail" ,perl-mail-sendmail)
5078 ("perl-text-markdown-discount" ,perl-text-markdown-discount)
5079 ("perl-timedate" ,perl-timedate)
5080 ("perl-uri" ,perl-uri)
5081 ("perl-xml-simple" ,perl-xml-simple)
5082 ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
5083 (home-page "https://ikiwiki.info/")
5084 (synopsis "Wiki compiler, capable of generating HTML")
5086 "Ikiwiki is a wiki compiler, capable of generating a static set of web
5087 pages, but also incorporating dynamic features like a web based editor and
5089 (license license:gpl2+)))
5091 (define-public libwapcaplet
5093 (name "libwapcaplet")
5098 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5099 "libwapcaplet-" version "-src.tar.gz"))
5102 "0p0c2q9lsj4vs97aa7vjllfhw33zv3dpysdkjblzhib6dpfs2alv"))))
5103 (build-system gnu-build-system)
5105 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5106 ("pkg-config" ,pkg-config)
5107 ("check" ,check-0.14))) ;for tests
5108 (arguments netsurf-buildsystem-arguments)
5109 (home-page "https://www.netsurf-browser.org/projects/libwapcaplet/")
5110 (synopsis "String internment library")
5112 "LibWapcaplet provides a reference counted string internment system
5113 designed to store small strings and allow rapid comparison of them. It is
5114 developed as part of the Netsurf project.")
5115 (license license:expat)))
5117 (define-public libcss
5124 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5125 "libcss-" version "-src.tar.gz"))
5128 "1p66sdiiqm7w4jkq23hsf08khsnmq93hshh9f9m8sbirjdpf3p6j"))))
5129 (build-system gnu-build-system)
5131 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5132 ("pkg-config" ,pkg-config)
5134 (propagated-inputs ;needed for libcss.pc
5135 `(("libparserutils" ,libparserutils)
5136 ("libwapcaplet" ,libwapcaplet)))
5137 (arguments netsurf-buildsystem-arguments)
5138 (home-page "https://www.netsurf-browser.org/projects/libcss/")
5139 (synopsis "CSS parser and selection library")
5141 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
5142 written in C. It is developed as part of the NetSurf project.")
5143 (license license:expat)))
5145 (define-public libcyaml
5153 (url "https://github.com/tlsa/libcyaml")
5154 (commit (string-append "v" version))))
5155 (file-name (git-file-name name version))
5156 (patches (search-patches "libcyaml-libyaml-compat.patch"))
5158 (base32 "0428p0rwq71nhh5nzcbapsbrjxa0x5l6h6ns32nxv7j624f0zd93"))))
5159 (build-system gnu-build-system)
5162 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5163 (string-append "CC=gcc"))
5165 (modify-phases %standard-phases
5166 (delete 'configure) ; no configure script
5170 (invoke "make" "test"))))))
5172 `(("libyaml" ,libyaml)))
5174 `(("pkg-config" ,pkg-config)))
5175 (synopsis "C library for reading and writing YAML")
5177 "LibCYAML is a C library written in ISO C11 for reading and writing
5178 structured YAML documents. The fundamental idea behind CYAML is to allow
5179 applications to construct schemas which describe both the permissible
5180 structure of the YAML documents to read/write, and the C data structure(s)
5181 in which the loaded data is arranged in memory.")
5182 (home-page "https://github.com/tlsa/libcyaml")
5183 (license license:isc)))
5185 (define-public libdom
5192 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5193 "libdom-" version "-src.tar.gz"))
5196 "0jpg5hx3y0mdxk5szd47dyijqimd2321brbqk2620pp5f4j0gvlq"))))
5197 (build-system gnu-build-system)
5199 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5200 ("pkg-config" ,pkg-config)
5201 ("perl" ,perl) ;for test harness
5202 ("perl-libxml" ,perl-libxml)
5203 ("perl-switch" ,perl-switch)
5204 ("perl-xml-xpath" ,perl-xml-xpath)))
5206 `(("libparserutils" ,libparserutils)
5207 ("libwapcaplet" ,libwapcaplet)))
5209 `(("expat" ,expat) ;needed for headers and linking
5210 ("hubbub" ,hubbub))) ;for libdom.pc
5212 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
5213 ,@netsurf-buildsystem-arguments))
5214 (home-page "https://www.netsurf-browser.org/projects/libdom/")
5215 (synopsis "Implementation of the W3C DOM")
5217 "LibDOM is an implementation of the W3C DOM, written in C. It is
5218 developed as part of the NetSurf project.")
5219 (license license:expat)))
5221 (define-public libsvgtiny
5228 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5229 name "-" version "-src.tar.gz"))
5232 "10bpkmvfpydj74im3r6kqm9vnvgib6afy0alx71q5n0w5yawy39c"))))
5233 (build-system gnu-build-system)
5235 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5236 ("pkg-config" ,pkg-config)
5237 ("gperf" ,gperf-3.0)))
5239 `(("libwapcaplet" ,libwapcaplet)))
5241 `(("libdom" ,libdom))) ;for libsvgtiny.pc
5242 (arguments netsurf-buildsystem-arguments)
5243 (home-page "https://www.netsurf-browser.org/projects/libsvgtiny/")
5244 (synopsis "Library for parsing SVG files")
5246 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
5247 which can be rendered easily, as defined in
5248 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
5250 (license license:expat)))
5252 (define-public libnsbmp
5259 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5260 name "-" version "-src.tar.gz"))
5263 "0krjg69a2amxjsahdgm3wmy9ngnyr3gfs2a1zhdlbvb0z1jr7i3r"))))
5264 (build-system gnu-build-system)
5266 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5267 (arguments netsurf-buildsystem-arguments)
5268 (home-page "https://www.netsurf-browser.org/projects/libnsbmp/")
5269 (synopsis "Decoding library for BMP and ICO files")
5271 "Libnsbmp is a decoding library for BMP and ICO image file formats,
5272 written in C. It is developed as part of the NetSurf project.")
5273 (license license:expat)))
5275 (define-public libnsgif
5282 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5283 name "-" version "-src.tar.gz"))
5286 "0jwshypgmx16xlsbx3d8njk8a5khazlplca5mxd3rdbhrlsabbly"))))
5287 (build-system gnu-build-system)
5289 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5290 (arguments netsurf-buildsystem-arguments)
5291 (home-page "https://www.netsurf-browser.org/projects/libnsgif/")
5292 (synopsis "Decoding library for GIF files")
5294 "Libnsgif is a decoding library for the GIF image file format, written in
5295 C. It is developed as part of the NetSurf project.")
5296 (license license:expat)))
5298 (define-public libnslog
5305 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5306 "libnslog-" version "-src.tar.gz"))
5309 "1l2k0kdv9iv18svhv360vszjavhl4g09cp8a8yb719pgsylxr67w"))))
5310 (build-system gnu-build-system)
5312 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5313 ("pkg-config" ,pkg-config)
5314 ("check" ,check) ; For tests
5317 (arguments netsurf-buildsystem-arguments)
5318 (home-page "https://www.netsurf-browser.org/")
5319 (synopsis "Logging library")
5321 "Libnslog provides a category-based logging library which supports
5322 complex logging filters, multiple log levels, and provides context through to
5323 client applications. It is developed as part of the NetSurf project.")
5324 (license license:expat)))
5326 (define-public libnsutils
5333 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5334 name "-" version "-src.tar.gz"))
5337 "1w5fyy2i60a3v3if3iqcn9sy9sycx6966rcx53v85gja6hb6a33r"))))
5338 (build-system gnu-build-system)
5340 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5341 (arguments netsurf-buildsystem-arguments)
5342 (home-page "https://www.netsurf-browser.org/")
5343 (synopsis "Utility library for NetSurf")
5345 "Libnsutils provides a small number of useful utility routines. It is
5346 developed as part of the NetSurf project.")
5347 (license license:expat)))
5349 (define-public libnspsl
5356 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5357 "libnspsl-" version "-src.tar.gz"))
5360 "02q28n5i6fwqcz1nn167rb71k1q95mx38mfah6zi1lvqrc2q5ifk"))))
5361 (build-system gnu-build-system)
5363 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5364 (arguments netsurf-buildsystem-arguments)
5365 (home-page "https://www.netsurf-browser.org/")
5366 (synopsis "Library to generate a static Public Suffix List")
5368 "Libnspsl is a library to generate a static code representation of the
5369 Public Suffix List. It is developed as part of the NetSurf project.")
5370 (license license:expat)))
5372 (define-public nsgenbind
5379 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5380 "nsgenbind-" version "-src.tar.gz"))
5383 "1cqwgwca49jvmijwiyaab2bwxicgxdrnlpinf8kp3nha02nm73ad"))))
5384 (build-system gnu-build-system)
5386 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5390 (substitute-keyword-arguments netsurf-buildsystem-arguments
5391 ((#:make-flags flags)
5392 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
5393 (home-page "https://www.netsurf-browser.org/")
5394 (synopsis "Generate JavaScript to DOM bindings")
5396 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
5397 w3c webidl files and a binding configuration file.")
5398 (license license:expat)))
5400 (define-public netsurf
5407 (uri (string-append "https://download.netsurf-browser.org/netsurf/"
5408 "releases/source/netsurf-" version "-src.tar.gz"))
5411 "0plra64c5xyiw12yx2q13brxsv8apmany97zqa2lcqckw4ll8j1n"))
5412 (patches (search-patches "netsurf-system-utf8proc.patch"
5413 "netsurf-y2038-tests.patch"
5414 "netsurf-longer-test-timeout.patch"
5415 "netsurf-message-timestamp.patch"))))
5416 (build-system glib-or-gtk-build-system)
5418 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5419 ("nsgenbind" ,nsgenbind)
5420 ("libidn" ,libidn) ;only for tests
5423 ("perl-html-parser" ,perl-html-parser)
5424 ("pkg-config" ,pkg-config)
5429 ("openssl" ,openssl)
5430 ("utf8proc" ,utf8proc)
5432 ("libjpeg" ,libjpeg-turbo)
5435 ("libnsbmp" ,libnsbmp)
5436 ("libnsgif" ,libnsgif)
5437 ("libnslog" ,libnslog)
5438 ("libnspsl" ,libnspsl)
5439 ("libnsutils" ,libnsutils)
5440 ("libsvgtiny" ,libsvgtiny)
5441 ("miscfiles" ,miscfiles)))
5443 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
5445 ,(string-append "PREFIX=" %output)
5446 ,(string-append "NSSHARED="
5447 (assoc-ref %build-inputs
5448 "netsurf-buildsystem")
5449 "/share/netsurf-buildsystem"))
5450 #:test-target "test"
5451 #:modules ((ice-9 rdelim)
5455 ,@%glib-or-gtk-build-system-modules)
5457 (modify-phases %standard-phases
5459 (add-after 'build 'adjust-welcome
5461 (substitute* "frontends/gtk/res/welcome.html"
5462 ;; Close some XHTML tags.
5463 (("<(img|input)([^>]*)>" _ tag contents)
5464 (string-append "<" tag contents " />"))
5465 ;; Increase freedom.
5466 ((" open source") ", free software")
5467 ;; Prefer a more privacy-respecting default search engine.
5468 (("www.google.co.uk") "www.duckduckgo.com/html")
5469 (("Google Search") "DuckDuckGo Search")
5470 (("name=\"btnG\"") ""))
5471 ;; Remove default links so it doesn't seem we're endorsing them.
5472 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
5474 ;; Leave the DOCTYPE header as is.
5475 (display (read-line in 'concat) out)
5477 (let rec ((sxml (xml->sxml in
5478 #:default-entity-handler
5480 (string-append "<ENTITY>"
5481 (symbol->string name)
5483 ;; We'd like to use sxml-match here, but it can't
5484 ;; match against generic tag symbols...
5486 (`(div (@ (class "links")) . ,rest)
5495 (add-before 'check 'patch-check
5496 (lambda* (#:key inputs #:allow-other-keys)
5497 (substitute* '("test/bloom.c" "test/hashtable.c")
5498 (("/usr/share/dict/words")
5499 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
5501 (add-after 'install 'install-more
5502 (lambda* (#:key outputs #:allow-other-keys)
5503 (let* ((out (assoc-ref outputs "out"))
5504 (desktop (string-append out "/share/applications/"
5505 "netsurf.desktop")))
5506 (mkdir-p (dirname desktop))
5507 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
5509 (substitute* desktop
5510 (("netsurf-gtk") (string-append out "/bin/netsurf-gtk3"))
5511 (("netsurf.png") (string-append out "/share/netsurf/"
5513 (install-file "docs/netsurf-gtk.1"
5514 (string-append out "/share/man/man1/"))
5516 (home-page "https://www.netsurf-browser.org")
5517 (synopsis "Web browser")
5519 "NetSurf is a lightweight web browser that has its own layout and
5520 rendering engine entirely written from scratch. It is small and capable of
5521 handling many of the web standards in use today.")
5522 (license license:gpl2+)))
5524 (define-public surfraw
5531 (uri (string-append "https://gitlab.com/surfraw/Surfraw/uploads/"
5532 "2de827b2786ef2fe43b6f07913ca7b7f/"
5533 "surfraw-" version ".tar.gz"))
5535 (base32 "099nbif0x5cbcf18snc58nx1a3q7z0v9br9p2jiq9pcc7ic2015d"))))
5536 (build-system gnu-build-system)
5539 (modify-phases %standard-phases
5540 (add-before 'configure 'patch-perl
5541 (lambda* (#:key inputs #:allow-other-keys)
5542 (let ((perl (assoc-ref inputs "perl")))
5543 (substitute* "surfraw.IN"
5545 (string-append perl "/bin/perl -e")))
5547 (add-after 'install 'compress-elvi.1sr
5548 (lambda* (#:key outputs #:allow-other-keys)
5549 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
5550 ;; but elvi.1sr does not get compressed by our manpage phase.
5551 (let* ((out (assoc-ref %outputs "out"))
5552 (man (string-append out "/share/man/man1")))
5553 (with-directory-excursion man
5554 (invoke "gzip" "elvi.1sr"))))))))
5557 ("perl-www-opensearch" ,perl-www-opensearch)
5558 ("perl-html-parser" ,perl-html-parser)
5559 ("perl-libwww" ,perl-libwww)))
5560 (synopsis "Unix command line interface to the www")
5561 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
5562 provides a unix command line interface to a variety of popular www search engines
5563 and similar services.")
5564 (home-page "https://surfraw.alioth.debian.org/")
5565 (license license:public-domain)))
5567 (define-public darkhttpd
5574 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
5575 version ".tar.bz2"))
5578 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
5579 (build-system gnu-build-system)
5581 `(#:make-flags '("CC=gcc")
5582 #:tests? #f ; No test suite
5584 (modify-phases %standard-phases
5587 (lambda* (#:key outputs #:allow-other-keys)
5588 (install-file "darkhttpd"
5589 (string-append (assoc-ref outputs "out")
5592 (synopsis "Simple static web server")
5593 (description "darkhttpd is a simple static web server. It is
5594 standalone and does not need inetd or ucspi-tcp. It does not need any
5595 config files---you only have to specify the www root.")
5596 (home-page "https://unix4lyfe.org/darkhttpd/")
5597 (license license:isc)))
5599 (define-public goaccess
5605 (uri (string-append "http://tar.goaccess.io/goaccess-"
5609 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
5610 (modules '((guix build utils)))
5612 (substitute* "src/error.h"
5613 (("__DATE__") "\"1970-01-01\"")
5614 (("__TIME__") "\"00:00:00\""))
5616 (build-system gnu-build-system)
5618 ;; TODO: Add dependency on geoip-tools.
5620 ("ncurses" ,ncurses)))
5622 `(("pkg-config" ,pkg-config)))
5623 (home-page "https://goaccess.io")
5624 (synopsis "Analyze Web server logs in real time")
5626 "GoAccess is a real-time web log analyzer and interactive viewer that
5627 runs in a terminal or through your browser. It provides fast and valuable
5628 HTTP statistics for system administrators that require a visual server report
5630 (license license:x11)))
5632 (define-public hitch
5636 (home-page "https://hitch-tls.org/")
5639 (uri (string-append home-page "source/hitch-" version ".tar.gz"))
5642 "1i75giwyr66ip8xsvk3gg5xdbxnmcabgxz8dqi06c58mw7qzhzn9"))))
5643 (build-system gnu-build-system)
5645 `(#:phases (modify-phases %standard-phases
5646 (add-before 'check 'pre-check
5648 ;; Most tests attempts to access hitch-tls.org which is
5649 ;; unavailable in the build container. Run them against
5650 ;; a dummy local web server instead.
5651 (for-each (lambda (test)
5653 (("\\[hitch-tls\\.org\\]:80")
5654 "[localhost]:8000")))
5655 (find-files "src/tests" "\\.sh$"))
5656 (system "python3 -m http.server &")
5658 ;; The build container does not reap zombie processes,
5659 ;; causing stop_hitch to hang indefinitely while waiting
5660 ;; for the process to terminate because 'kill -0' never
5661 ;; succeeds. Use a different test to see whether the
5662 ;; process has shut down.
5663 (substitute* "src/tests/hitch_test.sh"
5664 (("kill -0 \"\\$HITCH_PID\"")
5665 "$(ps -p $HITCH_PID -o state= | grep -qv '^Z$')"))
5668 `(("pkg-config" ,pkg-config)
5674 ("python" ,python)))
5677 ("openssl" ,openssl)))
5678 (synopsis "Scalable TLS proxy")
5680 "Hitch is a performant TLS proxy based on @code{libev}. It terminates
5681 SSL/TLS connections and forwards the unencrypted traffic to a backend such
5682 as a web server. It is designed to handle many thousand connections on
5683 multicore machines.")
5684 (license license:bsd-2)))
5686 (define-public httptunnel
5693 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
5694 name "-" version ".tar.gz"))
5697 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
5698 (modules '((guix build utils)))
5700 ;; Remove non-free IETF RFC documentation.
5701 (delete-file-recursively "doc")
5703 (build-system gnu-build-system)
5706 (modify-phases %standard-phases
5707 ;; The default configure phase tries to pass environment variables as
5708 ;; command-line arguments, which confuses the ./configure script.
5710 (lambda* (#:key outputs #:allow-other-keys)
5711 (let* ((out (assoc-ref outputs "out")))
5712 (setenv "CONFIG_SHELL" (which "bash"))
5713 (invoke "./configure"
5714 (string-append "--prefix=" out))))))))
5715 (home-page "http://www.nocrew.org/software/httptunnel.html")
5716 (synopsis "Tunnel data connections through HTTP requests")
5717 (description "httptunnel creates a bidirectional virtual data connection
5718 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
5719 useful for users behind restrictive firewalls. As long as Web traffic is
5720 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
5721 tools like SSH (Secure Shell) to reach the outside world.")
5722 (license license:gpl2+)))
5724 (define-public stunnel
5731 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
5734 (base32 "1q8gc05fiz7w55ws0whwzb94ffjnhzfppf1mhz1hf671vmrvjnmg"))))
5735 (build-system gnu-build-system)
5738 `(("iproute" ,iproute)
5740 ("procps" ,procps)))
5741 (inputs `(("openssl" ,openssl)))
5744 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))
5746 (modify-phases %standard-phases
5747 (add-after 'unpack 'patch-output-directories
5749 ;; Some (not all) Makefiles have a hard-coded incorrect docdir.
5750 (substitute* (list "Makefile.in"
5752 "tools/Makefile.in")
5754 (string-append "/doc/" ,name "-" ,version)))
5756 (add-before 'check 'patch-tests
5758 (substitute* "tests/make_test"
5760 (string-append (which "sh") " ")))
5762 (home-page "https://www.stunnel.org")
5763 (synopsis "TLS proxy for clients or servers")
5764 (description "Stunnel is a proxy designed to add TLS encryption
5765 functionality to existing clients and servers without any changes in the
5766 programs' code. Its architecture is optimized for security, portability, and
5767 scalability (including load-balancing), making it suitable for large
5769 (license license:gpl2+)))
5771 (define-public varnish
5774 (home-page "https://varnish-cache.org/")
5778 (uri (string-append home-page "_downloads/varnish-" version ".tgz"))
5781 "1dfdswri6lkfk6kml3szvffm91y49pajgqy1k5y26llqixl4r5hi"))))
5782 (build-system gnu-build-system)
5784 `(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
5785 ;; Use absolute path of GCC so it's found at runtime.
5786 (string-append "PTHREAD_CC="
5787 (assoc-ref %build-inputs "gcc")
5789 "--localstatedir=/var")
5791 (modify-phases %standard-phases
5792 (add-after 'unpack 'use-absolute-file-names
5794 (substitute* '("bin/varnishtest/vtc_varnish.c"
5795 "bin/varnishtest/vtc_process.c"
5796 "bin/varnishd/mgt/mgt_vcc.c"
5797 "bin/varnishtest/tests/u00014.vtc")
5798 (("/bin/sh") (which "sh")))
5799 (substitute* "bin/varnishd/mgt/mgt_shmem.c"
5800 (("rm -rf") (string-append (which "rm") " -rf")))
5801 (substitute* "bin/varnishtest/vtc_main.c"
5802 (("/bin/rm") (which "rm")))
5804 (add-before 'install 'patch-Makefile
5806 (substitute* "Makefile"
5807 ;; Do not create /var/varnish during install.
5808 (("^install-data-am: install-data-local") "install-data-am: "))
5810 (add-after 'install 'wrap-varnishd
5811 ;; Varnish uses GCC to compile VCL, so wrap it with required GCC
5812 ;; environment variables to avoid propagating them to profiles.
5813 (lambda* (#:key inputs outputs #:allow-other-keys)
5814 (let* ((out (assoc-ref outputs "out"))
5815 (varnishd (string-append out "/sbin/varnishd"))
5816 (PATH (string-append (assoc-ref inputs "binutils") "/bin"))
5817 (LIBRARY_PATH (string-append (assoc-ref inputs "libc") "/lib")))
5818 (wrap-program varnishd
5819 ;; Add binutils to PATH so gcc finds the 'as' executable.
5820 `("PATH" ":" prefix (,PATH))
5821 ;; Make sure 'crti.o' et.al is found.
5822 `("LIBRARY_PATH" ":" prefix (,LIBRARY_PATH)))
5825 `(("pkg-config" ,pkg-config)
5826 ("python-sphinx" ,python-sphinx)
5827 ("rst2man" ,python-docutils)))
5829 `(("jemalloc" ,jemalloc)
5830 ("ncurses" ,ncurses)
5832 ("python" ,python-wrapper)
5833 ("readline" ,readline)))
5834 (synopsis "Web application accelerator")
5836 "Varnish is a high-performance HTTP accelerator. It acts as a caching
5837 reverse proxy and load balancer. You install it in front of any server that
5838 speaks HTTP and configure it to cache the contents through an extensive
5839 configuration language.")
5840 (license (list license:bsd-2 ;main distribution
5841 license:zlib ;lib/libvgz/*
5842 license:public-domain ;bin/varnishncsa/as64.c, include/miniobj.h
5843 license:bsd-3)))) ;include/vqueue.h, lib/libvarnishcompat/daemon.c
5845 (define-public varnish-modules
5847 (name "varnish-modules")
5848 (home-page "https://github.com/varnish/varnish-modules")
5852 (uri (git-reference (url home-page) (commit version)))
5853 (file-name (git-file-name name version))
5856 "0zg8y2sgkygdani70zp9rbx278431fmssj26d47c5qsiw939i519"))))
5857 (build-system gnu-build-system)
5859 `(("pkg-config" ,pkg-config)
5861 ;; For bootstrapping.
5862 ("autoconf" ,autoconf)
5863 ("automake" ,automake)
5864 ("libtool" ,libtool)
5866 ;; For generating manuals.
5867 ("rst2man" ,python-docutils)))
5869 `(("python" ,python)
5870 ("varnish" ,varnish)))
5871 (synopsis "Collection of Varnish modules")
5873 "This package provides a collection of modules (@dfn{vmods}) for the Varnish
5874 cache server, extending the @acronym{VCL, Varnish Configuration Language} with
5875 additional capabilities.")
5876 (license license:bsd-2)))
5878 (define-public xinetd
5881 ;; This is the maintenance fork currently used by openSUSE and Debian.
5882 (version "2.3.15.4")
5887 (url "https://github.com/openSUSE/xinetd")
5889 (file-name (git-file-name name version))
5891 (base32 "0lrp3lcj6azhjplwxws2rx40bkyp6i6bp7n77ndcisb7ninad30q"))))
5892 (build-system gnu-build-system)
5894 `(#:configure-flags '("--with-loadavg")
5895 #:tests? #f)) ; no tests
5897 `(("autoconf" ,autoconf)
5898 ("automake" ,automake)
5899 ("libtool" ,libtool)
5900 ("pkg-config" ,pkg-config)))
5901 (home-page "https://github.com/openSUSE/xinetd")
5902 (synopsis "Internet services daemon")
5903 (description "@code{xinetd}, a more secure replacement for @code{inetd},
5904 listens for incoming requests over a network and launches the appropriate
5905 service for that request. Requests are made using port numbers as identifiers
5906 and xinetd usually launches another daemon to handle the request. It can be
5907 used to start services with both privileged and non-privileged port numbers.")
5908 (license (license:fsf-free "file://COPYRIGHT"))))
5910 (define-public tidy-html
5918 (url "https://github.com/htacg/tidy-html5")
5920 (file-name (git-file-name name version))
5923 "01k5sqwgcsr26i8031v1yr2r8qcy9a5w7sj800660haszgfbjz2f"))))
5924 (build-system cmake-build-system)
5926 "static")) ; 1.3MiB of .a files
5928 `(#:tests? #f ; no tests available
5929 #:build-type "Release"
5931 (modify-phases %standard-phases
5932 (add-after 'install 'move-static-libraries
5933 (lambda* (#:key outputs #:allow-other-keys)
5934 ;; Move static libraries to the "static" output.
5935 (let* ((out (assoc-ref outputs "out"))
5936 (lib (string-append out "/lib"))
5937 (static (assoc-ref outputs "static"))
5938 (slib (string-append static "/lib")))
5940 (for-each (lambda (file)
5941 (install-file file slib)
5943 (find-files lib "\\.a$"))
5946 `(("libxslt" ,libxslt)))
5947 (home-page "http://www.html-tidy.org/")
5948 (synopsis "HTML Tidy with HTML5 support")
5950 "Tidy is a console application which corrects and cleans up
5951 HTML and XML documents by fixing markup errors and upgrading
5952 legacy code to modern standards.
5954 Tidy also provides @code{libtidy}, a C static and dynamic library that
5955 developers can integrate into their applications to make use of the
5956 functions of Tidy.")
5957 (license license:bsd-3)))
5959 (define-public hiawatha
5966 (uri (string-append "https://www.hiawatha-webserver.org/files/"
5967 "hiawatha-" version ".tar.gz"))
5968 (modules '((guix build utils)))
5970 ;; We use packaged libraries, so delete the bundled copies.
5971 (for-each delete-file-recursively
5972 (list "extra/nghttp2.tgz" "mbedtls"))
5975 (base32 "09wpgilbv13zal71v9lbsqr8c3fignygadykpd1p1pb8blb5vn3r"))))
5976 (build-system cmake-build-system)
5978 `(#:tests? #f ; no tests included
5979 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
5980 (string-append "-DENABLE_HTTP2=on")
5981 (string-append "-DUSE_SYSTEM_NGHTTP2=on")
5982 (string-append "-DENABLE_TOMAHAWK=on")
5983 (string-append "-DLOG_DIR=/var/log/hiawatha")
5984 (string-append "-DPID_DIR=/run")
5985 (string-append "-DWEBROOT_DIR="
5986 (assoc-ref %outputs "out")
5987 "/share/hiawatha/html")
5988 (string-append "-DWORK_DIR=/var/lib/hiawatha"))
5990 (modify-phases %standard-phases
5991 (add-after 'unpack 'install-no-empty-directories
5993 (substitute* "CMakeLists.txt"
5994 (("install\\(DIRECTORY DESTINATION" match)
5995 (string-append "#" match)))
5997 (add-after 'install 'wrap
5998 (lambda* (#:key inputs outputs #:allow-other-keys)
5999 ;; Make sure 'hiawatha' finds 'mbedtls'.
6000 (let* ((out (assoc-ref outputs "out"))
6001 (sbin (string-append out "/sbin"))
6002 (mbed (assoc-ref inputs "mbedtls-apache")))
6003 (wrap-program (string-append sbin "/hiawatha")
6004 `("PATH" ":" prefix (,mbed)))))))))
6006 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha".
6007 `(("libxslt" ,libxslt)
6008 ("libxml2" ,libxml2)
6009 ("mbedtls-apache" ,mbedtls-for-hiawatha)
6010 ("nghttp2" ,nghttp2 "lib")
6012 (home-page "https://www.hiawatha-webserver.org")
6013 (synopsis "Webserver with focus on security")
6015 "Hiawatha has been written with security in mind.
6016 Features include the ability to stop SQL injections, XSS and CSRF attacks and
6018 (license license:gpl2)))
6020 (define-public python-httpbin
6022 (name "python-httpbin")
6027 (uri (pypi-uri "httpbin" version))
6030 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
6031 (build-system python-build-system)
6033 `(("python-decorator" ,python-decorator)
6034 ("python-flask" ,python-flask)
6035 ("python-itsdangerous" ,python-itsdangerous)
6036 ("python-markupsafe" ,python-markupsafe)
6037 ("python-six" ,python-six)))
6038 (home-page "https://github.com/Runscope/httpbin")
6039 (synopsis "HTTP request and response service")
6040 (description "Testing an HTTP Library can become difficult sometimes.
6041 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
6042 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
6044 (license license:isc)))
6046 (define-public python2-httpbin
6047 (package-with-python2 python-httpbin))
6049 (define-public python-pytest-httpbin
6051 (name "python-pytest-httpbin")
6056 (uri (pypi-uri "pytest-httpbin" version))
6059 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
6060 (build-system python-build-system)
6062 `(("python-six" ,python-six)
6063 ("python-httpbin" ,python-httpbin)
6064 ("python-pytest" ,python-pytest)))
6066 "https://github.com/kevin1024/pytest-httpbin")
6068 "Test your HTTP library against a local copy of httpbin")
6070 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
6071 into your tests. It automatically starts up a HTTP server in a separate thread running
6072 @code{httpbin} and provides your test with the URL in the fixture.")
6073 (license license:expat)))
6075 (define-public python2-pytest-httpbin
6076 (package-with-python2 python-pytest-httpbin))
6078 (define-public http-parser
6080 (name "http-parser")
6082 (home-page "https://github.com/nodejs/http-parser")
6086 (uri (git-reference (url home-page)
6087 (commit (string-append "v" version))))
6089 (base32 "1vda4dp75pjf5fcph73sy0ifm3xrssrmf927qd1x8g3q46z0cv6c"))
6090 (file-name (git-file-name name version))
6094 ;; Treat an empty port (e.g. `http://hostname:/`) when parsing
6095 ;; URLs as if no port were specified. This patch is applied
6096 ;; to Fedora's http-parser and to libgit2's bundled version.
6099 "https://src.fedoraproject.org/rpms/http-parser/raw/"
6100 "e89b4c4e2874c19079a5a1a2d2ccc61b551aa289/"
6101 "f/0001-url-treat-empty-port-as-default.patch"))
6104 "0pbxf2nq9pcn299k2b2ls8ldghaqln9glnp79gi57mamx4iy0f6g")))))))
6105 (build-system gnu-build-system)
6107 `(#:test-target "test"
6109 (list (string-append "PREFIX="
6110 (assoc-ref %outputs "out"))
6112 ,@(if (%current-target-system)
6116 (modify-phases %standard-phases
6117 ,@(match (%current-system)
6119 '((add-before 'check 'apply-assertion.patch
6120 (lambda* (#:key inputs #:allow-other-keys)
6121 (let ((patch (assoc-ref inputs "assertion.patch")))
6122 (invoke "patch" "-p1" "-i" patch)
6125 ,@(if (%current-target-system)
6126 '((replace 'configure
6127 (lambda* (#:key target #:allow-other-keys)
6128 (substitute* (find-files "." "Makefile")
6130 (string-append "CC=" target "-gcc\n"))
6132 (string-append "AR=" target "-ar\n")))
6134 '((delete 'configure))))))
6136 `(,@(match (%current-system)
6138 ;; A fix for <https://issues.guix.gnu.org/40604> which in turn
6139 ;; breaks i686-linux builds.
6140 `(("assertion.patch"
6141 ,@(search-patches "http-parser-fix-assertion-on-armhf.patch"))))
6143 (synopsis "HTTP request/response parser for C")
6144 (description "This is a parser for HTTP messages written in C. It parses
6145 both requests and responses. The parser is designed to be used in
6146 high-performance HTTP applications. It does not make any syscalls nor
6147 allocations, it does not buffer data, it can be interrupted at anytime.
6148 Depending on your architecture, it only requires about 40 bytes of data per
6149 message stream (in a web server that is per connection).")
6150 (license license:expat)))
6152 (define-public python-httpretty
6154 (name "python-httpretty")
6159 (uri (pypi-uri "httpretty" version))
6161 (base32 "1p1rb4mpngh0632xrmdfhvc8yink519yfkqz97d2ww3y0x2jvd81"))))
6162 (build-system python-build-system)
6164 `(("python-six" ,python-six)))
6166 `(("python-coverage" ,python-coverage)
6167 ("python-httplib2" ,python-httplib2)
6168 ("python-mock" ,python-mock)
6169 ("python-nose" ,python-nose)
6170 ("python-nose-randomly" ,python-nose-randomly)
6171 ("python-rednose" ,python-rednose)
6172 ("python-requests" ,python-requests)
6173 ("python-sure" ,python-sure)
6174 ("python-tornado" ,python-tornado)
6175 ("python-urllib3" ,python-urllib3)))
6176 (home-page "https://httpretty.readthedocs.io")
6177 (synopsis "HTTP client mock for Python")
6178 (description "@code{httpretty} is a helper for faking web requests,
6179 inspired by Ruby's @code{fakeweb}.")
6180 (license license:expat)))
6189 (uri (string-append "https://github.com/jpmens/jo/releases/download/"
6190 version "/jo-" version ".tar.gz"))
6192 (base32 "18jna9xlpxci3cak3z85c448zv2zr41baclgym3hk433p0p4vii4"))))
6193 (build-system gnu-build-system)
6194 (home-page "https://github.com/jpmens/jo")
6195 (synopsis "Output JSON from a shell")
6196 (description "jo is a command-line utility to create JSON objects or
6197 arrays. It creates a JSON string on stdout from words provided as
6198 command-line arguments or read from stdin.")
6199 (license (list license:gpl2+
6200 license:expat)))) ; json.c, json.h
6202 (define-public python-internetarchive
6204 (name "python-internetarchive")
6210 (url "https://github.com/jjjake/internetarchive")
6211 (commit (string-append "v" version))))
6212 (file-name (git-file-name name version))
6215 "0ih7hplv92wbv6cmgc1gs0v35qkajwicalwcq8vcljw30plr24fp"))
6216 (modules '((guix build utils)))
6219 ;; Python 3.7 removed `_pattern_type'.
6220 (for-each (lambda (file)
6223 (("^import re\n" line)
6224 (string-append line "re._pattern_type = re.Pattern\n"))))
6225 (find-files "." "\\.py$"))
6227 (build-system python-build-system)
6230 (modify-phases %standard-phases
6232 (add-after 'install 'check
6233 (lambda* (#:key inputs outputs #:allow-other-keys)
6234 (add-installed-pythonpath inputs outputs)
6235 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
6236 ":" (getenv "PATH")))
6237 (invoke "py.test" "-v" "-k"
6239 ;; These tests attempt to make a connection to
6240 ;; an external web service.
6241 "not test_get_item_with_kwargs"
6242 " and not test_ia")))))))
6244 `(("python-requests" ,python-requests)
6245 ("python-jsonpatch" ,python-jsonpatch-0.4)
6246 ("python-docopt" ,python-docopt)
6247 ("python-clint" ,python-clint)
6248 ("python-six" ,python-six)
6249 ("python-schema" ,python-schema-0.5)
6250 ("python-backports-csv" ,python-backports-csv)))
6252 `(("python-pytest" ,python-pytest)
6253 ("python-pytest-capturelog" ,python-pytest-capturelog)
6254 ("python-responses" ,python-responses)))
6255 (home-page "https://github.com/jjjake/internetarchive")
6256 (synopsis "Command-line interface to archive.org")
6257 (description "@code{ia} is a command-line tool for using
6258 @url{archive.org} from the command-line. It also emplements the
6259 internetarchive python module for programmatic access to archive.org.")
6260 (license license:agpl3+)))
6262 (define-public python-clf
6263 (let ((commit-test-clf "d01d25923c599d3261910f79fb948825b4270d07")) ; 0.5.7
6270 (uri (pypi-uri "clf" version))
6273 "0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
6274 (build-system python-build-system)
6276 `(("python-docopt" ,python-docopt)
6277 ("python-pygments" ,python-pygments)
6278 ("python-requests" ,python-requests)
6279 ("python-nose" ,python-nose)
6280 ("python-lxml" ,python-lxml)
6281 ("python-pyaml" ,python-pyaml)))
6286 (uri (string-append "https://raw.githubusercontent.com"
6287 "/ncrocfer/clf/" commit-test-clf
6291 "19lr5zdzsmxgkg7wrjq1yzkiahd03wi4k3dskssyhmjls8c10nqd"))))))
6294 (modify-phases %standard-phases
6295 (add-after 'unpack 'get-tests
6297 (copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")
6302 ;; These tests require an Internet connection.
6303 "--exclude=test_browse"
6304 "--exclude=test_command"
6305 "--exclude=test_search"))))))
6306 (home-page "https://github.com/ncrocfer/clf")
6307 (synopsis "Search code snippets on @url{https://commandlinefu.com}")
6308 (description "@code{clf} is a command line tool for searching code
6309 snippets on @url{https://commandlinefu.com}.")
6310 (license license:expat))))
6312 (define-public python2-clf
6313 (package-with-python2 python-clf))
6315 (define-public rss-bridge
6318 (version "2019-09-12")
6323 (url "https://github.com/RSS-Bridge/rss-bridge")
6325 (file-name (git-file-name name version))
6327 (base32 "1mx7f3l45nqhcrng531l4cq8kpzm164hhbwn26g5akb2pamdlnra"))))
6328 (build-system trivial-build-system)
6330 '(#:modules ((guix build utils))
6333 (use-modules (guix build utils)
6335 (let* ((out (assoc-ref %outputs "out"))
6336 (share-rss-bridge (string-append out "/share/rss-bridge")))
6337 (mkdir-p share-rss-bridge)
6338 (copy-recursively (assoc-ref %build-inputs "source") share-rss-bridge)
6340 (home-page "https://github.com/RSS-Bridge/rss-bridge")
6341 (synopsis "Generate Atom feeds for social networking websites")
6342 (description "rss-bridge generates Atom feeds for social networking
6343 websites lacking feeds. Supported websites include Facebook, Twitter,
6344 Instagram and YouTube.")
6345 (license (list license:public-domain
6346 license:expat)))) ; vendor/simplehtmldom/simple_html_dom.php
6348 (define-public linkchecker
6350 (name "linkchecker")
6356 (url "https://github.com/linkchecker/linkchecker")
6357 (commit (string-append "v" version))))
6359 (search-patches "linkchecker-tests-require-network.patch"))
6360 (file-name (git-file-name name version))
6363 "03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187"))))
6364 (build-system python-build-system)
6366 `(("python2-dnspython" ,python2-dnspython)
6367 ("python2-pyxdg" ,python2-pyxdg)
6368 ("python2-requests" ,python2-requests)))
6370 `(("gettext" ,gettext-minimal)
6371 ("python2-pytest" ,python2-pytest)
6372 ("python2-miniboa" ,python2-miniboa)
6373 ("python2-parameterized" ,python2-parameterized)))
6375 `(#:python ,python-2
6377 (modify-phases %standard-phases
6378 ;; Move the 'check phase to after 'install, so that the installed
6379 ;; library can be used
6381 (add-after 'install 'check
6382 (lambda* (#:key outputs #:allow-other-keys)
6383 (let ((out (assoc-ref outputs "out")))
6384 ;; Set PYTHONPATH so that the installed linkchecker is used
6385 (setenv "PYTHONPATH"
6386 (string-append out "/lib/python2.7/site-packages"
6388 (getenv "PYTHONPATH")))
6389 ;; Remove this directory to avoid it being used when running
6391 (delete-file-recursively "linkcheck")
6393 (invoke "py.test" "tests"))
6395 (home-page "https://linkcheck.github.io/linkchecker")
6396 (synopsis "Check websites for broken links")
6397 (description "LinkChecker is a website validator. It checks for broken
6398 links in websites. It is recursive and multithreaded providing output in
6399 colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It
6400 supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
6402 (license (list license:gpl2+
6403 license:bsd-2 ; linkcheck/better_exchook2.py
6404 license:bsd-3 ; linkcheck/colorama.py
6405 license:psfl ; linkcheck/gzip2.py
6406 license:expat)))) ; linkcheck/mem.py
6408 (define-public cadaver
6415 (uri (string-append "http://www.webdav.org/cadaver/"
6416 name "-" version ".tar.gz"))
6419 "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"))))
6420 (build-system gnu-build-system)
6421 ;; TODO: Unbundle libneon and make build succeed with new neon.
6423 `(#:configure-flags (list "--with-ssl=openssl")
6424 #:tests? #f)) ;No tests included
6426 `(("gettext" ,gettext-minimal)
6427 ("pkg-config" ,pkg-config)
6428 ("intltool" ,intltool)))
6431 ("openssl" ,openssl-1.0)))
6432 (home-page "http://www.webdav.org/cadaver/")
6433 (synopsis "Command-line WebDAV client")
6435 "Cadaver is a command-line WebDAV client for Unix. It supports
6436 file upload, download, on-screen display, namespace operations (move/copy),
6437 collection creation and deletion, and locking operations.")
6438 (license license:gpl2)))
6440 (define-public python-py-ubjson
6442 (name "python-py-ubjson")
6447 (uri (pypi-uri "py-ubjson" version))
6450 "03l9m9w5ip4hw0y69wlys5gzsfb7zcq3a77blj88grgiqhn5vm5n"))))
6451 (build-system python-build-system)
6452 (home-page "https://github.com/Iotic-Labs/py-ubjson")
6453 (synopsis "Universal Binary JSON encoder/decoder")
6455 "Py-ubjson is a Python module providing an Universal Binary JSON
6456 encoder/decoder based on the draft-12 specification for UBJSON.")
6457 (license license:asl2.0)))
6459 (define-public java-tomcat
6461 (name "java-tomcat")
6465 (uri (string-append "mirror://apache/tomcat/tomcat-8/v"
6466 version "/src/apache-tomcat-" version "-src.tar.gz"))
6469 "15lwq3clf21hzk7mma70sffpxjqn8ww5mjq6zhmwcp4m17m22z26"))
6470 (modules '((guix build utils)))
6471 ;; Delete bundled jars.
6474 (for-each delete-file (find-files "." "\\.jar$"))
6475 (for-each delete-file (find-files "." "\\.bat$"))
6477 (build-system ant-build-system)
6479 `(("java-commons-daemon" ,java-commons-daemon)
6480 ("java-ecj" ,java-ecj)))
6482 `(#:build-target "deploy"
6483 #:tests? #f; requires downloading some files.
6485 (modify-phases %standard-phases
6486 (add-after 'unpack 'prevent-download
6488 ;; This directory must exist
6490 ;; We patch build.xml so it doesn't download any dependency, because
6491 ;; we already have all of them.
6492 (substitute* "build.xml"
6493 (("download-compile,") "")
6494 (("depends=\"validate\"") "depends=\"build-prepare\"")
6495 ((",download-validate") ""))
6497 (add-after 'unpack 'strip-timestamps
6499 (substitute* "build.xml"
6500 (("<filter token=\"YEAR\" value=.*")
6501 "<filter token=\"YEAR\" value=\"1970\"/>")
6502 (("<filter token=\"VERSION_BUILT\" value=.*")
6503 "<filter token=\"VERSION_BUILT\" value=\"Jan 1 1970 00:00:00 UTC\"/>"))
6505 (add-after 'unpack 'modify-deploy
6507 ;; The Tomcat build downloads and copies these files to the
6508 ;; bin and lib directory.
6509 ;; We instead symlink to the input (see below).
6510 (substitute* "build.xml"
6511 (("<copy tofile=\"\\$\\{tomcat.build\\}/bin/commons-daemon.jar.*") "")
6512 (("<copy file=\"\\$\\{jdt.jar\\}\" todir=\"\\$\\{tomcat.build\\}/lib\"/>")
6515 (add-after 'install 'symlink-commons-daemon
6516 (lambda* (#:key inputs outputs #:allow-other-keys)
6517 (let* ((commons-daemon (assoc-ref inputs "java-commons-daemon"))
6518 (files (find-files commons-daemon "commons-daemon-.*\\.jar"))
6519 (daemon-jar (car files))
6520 (out-bin (string-append (assoc-ref outputs "out") "/bin"))
6521 (target (string-append out-bin "/commons-daemon.jar")))
6522 (symlink daemon-jar target)
6524 (add-after 'install 'symlink-java-ecj
6525 (lambda* (#:key inputs outputs #:allow-other-keys)
6526 (let* ((java-ecj (assoc-ref inputs "java-ecj"))
6527 (files (find-files java-ecj "ecj.*\\.jar"))
6528 (java-ecj-jar (car files))
6529 (out-lib (string-append (assoc-ref outputs "out") "/lib"))
6530 (target (string-append out-lib "/java-ecj.jar")))
6531 (symlink java-ecj-jar target)
6533 (add-after 'unpack 'generate-properties
6535 ;; This could have been passed to make-flags, but getcwd returns
6536 ;; a different directory then.
6537 (with-output-to-file "build.properties"
6540 (string-append "base.path=" (getcwd) "/downloads\n"))))
6543 (lambda* (#:key outputs #:allow-other-keys)
6544 (let ((out (assoc-ref outputs "out")))
6545 (copy-recursively "output/build" out))
6547 (properties '((cpe-name . "tomcat")))
6548 (home-page "https://tomcat.apache.org")
6549 (synopsis "Java Servlet, JavaServer Pages, Java Expression Language and Java
6551 (description "Apache Tomcat is a free implementation of the Java
6552 Servlet, JavaServer Pages, Java Expression Language and Java WebSocket
6554 (license license:asl2.0)))
6556 (define-public java-eclipse-jetty-test-helper
6558 (name "java-eclipse-jetty-test-helper")
6563 (url "https://github.com/eclipse/jetty.toolchain/")
6564 (commit (string-append "jetty-test-helper-" version))))
6565 (file-name (git-file-name name version))
6568 "1g7cdh03nfwbdxzvwm84ysgvw08xx7431lsjryj2gmf3lrqpizgb"))))
6569 (build-system ant-build-system)
6571 `(#:jar-name "eclipse-jetty-test-helper.jar"
6572 #:source-dir "src/main/java"
6573 #:test-dir "src/test"
6576 (modify-phases %standard-phases
6577 (add-before 'configure 'chdir
6579 (chdir "jetty-test-helper")
6581 (add-before 'build 'fix-paths
6584 ;; This file assumes that the build directory is named "target"
6585 ;; but it is not the case with our ant-build-system. Once we have
6586 ;; maven though, we will have to rebuild this package because this
6587 ;; assumption is correct with maven-build-system.
6589 "src/main/java/org/eclipse/jetty/toolchain/test/MavenTestingUtils.java"
6590 (("\"target\"") "\"build\"")
6591 (("\"tests\"") "\"test-classes\""))
6592 ;; Tests assume we are building with maven, so that the build
6593 ;; directory is named "target", and not "build".
6594 (with-directory-excursion "src/test/java/org/eclipse/jetty/toolchain/test"
6595 (substitute* '("FSTest.java" "OSTest.java" "TestingDirTest.java"
6596 "MavenTestingUtilsTest.java")
6597 (("target/tests") "build/test-classes")
6598 (("\"target") "\"build")))
6601 `(("junit" ,java-junit)
6602 ("hamcrest" ,java-hamcrest-all)))
6603 (home-page "https://www.eclipse.org/jetty/")
6604 (synopsis "Helper classes for jetty tests")
6605 (description "This package contains helper classes for testing the Jetty
6607 ;; This program is licensed under both epl and asl.
6608 (license (list license:epl1.0 license:asl2.0))))
6610 (define-public java-eclipse-jetty-perf-helper
6612 (inherit java-eclipse-jetty-test-helper)
6613 (name "java-eclipse-jetty-perf-helper")
6615 `(#:jar-name "eclipse-jetty-perf-helper.jar"
6616 #:source-dir "src/main/java"
6617 #:tests? #f; no tests
6620 (modify-phases %standard-phases
6621 (add-before 'configure 'chdir
6623 (chdir "jetty-perf-helper")
6626 `(("hdrhistogram" ,java-hdrhistogram)))))
6628 (define-public java-eclipse-jetty-util
6630 (name "java-eclipse-jetty-util")
6634 (uri (string-append "https://github.com/eclipse/jetty.project/"
6635 "archive/jetty-" version ".v20170531.tar.gz"))
6638 "0x7kbdvkmgr6kbsmbwiiyv3bb0d6wk25frgvld9cf8540136z9p1"))))
6639 (build-system ant-build-system)
6641 `(#:jar-name "eclipse-jetty-util.jar"
6642 #:source-dir "src/main/java"
6644 (list "**/Abstract*.java"
6646 "**/InetAddressSetTest.java"
6647 ;; Assumes we are using maven
6648 "**/TypeUtilTest.java"
6649 ;; Error on the style of log
6650 "**/StdErrLogTest.java")
6653 (modify-phases %standard-phases
6654 (add-before 'configure 'chdir
6656 (chdir "jetty-util")
6659 `(("slf4j" ,java-slf4j-api)
6660 ("servlet" ,java-javaee-servletapi)))
6662 `(("junit" ,java-junit)
6663 ("hamcrest" ,java-hamcrest-all)
6664 ("perf-helper" ,java-eclipse-jetty-perf-helper)
6665 ("test-helper" ,java-eclipse-jetty-test-helper)))
6666 (home-page "https://www.eclipse.org/jetty/")
6667 (synopsis "Utility classes for Jetty")
6668 (description "The Jetty Web Server provides an HTTP server and Servlet
6669 container capable of serving static and dynamic content either from a standalone
6670 or embedded instantiation. This package provides utility classes.")
6671 (license (list license:epl1.0 license:asl2.0))))
6673 ;; This version is required by maven-wagon
6674 (define-public java-eclipse-jetty-util-9.2
6676 (inherit java-eclipse-jetty-util)
6680 (uri (string-append "https://github.com/eclipse/jetty.project/"
6681 "archive/jetty-" version ".v20170606.tar.gz"))
6684 "1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
6686 `(#:jar-name "eclipse-jetty-util.jar"
6687 #:source-dir "src/main/java"
6690 (list "**/Abstract*.java"
6692 "**/InetAddressSetTest.java"
6693 ;; Assumes we are using maven
6694 "**/TypeUtilTest.java"
6695 ;; We don't have an implementation for slf4j
6697 ;; Error on the style of log
6698 "**/StdErrLogTest.java")
6700 (modify-phases %standard-phases
6701 (add-before 'configure 'chdir
6703 (chdir "jetty-util")
6705 (add-before 'build 'fix-test-sources
6707 ;; We need to fix issues caused by changes in newer versions of
6708 ;; jetty-test-helper
6709 (let ((src "src/test/java/org/eclipse/jetty/util/resource"))
6710 (substitute* (string-append src "/AbstractFSResourceTest.java")
6711 (("testdir.getDir\\(\\)") "testdir.getPath().toFile()")
6712 (("testdir.getFile\\(\"foo\"\\)")
6713 "testdir.getPathFile(\"foo\").toFile()")
6714 (("testdir.getFile\\(name\\)")
6715 "testdir.getPathFile(name).toFile()")))
6718 (define-public java-eclipse-jetty-io
6720 (inherit java-eclipse-jetty-util)
6721 (name "java-eclipse-jetty-io")
6723 `(#:jar-name "eclipse-jetty-io.jar"
6724 #:source-dir "src/main/java"
6726 #:test-exclude (list "**/Abstract*.java"
6728 "**/EndPointTest.java")
6730 (modify-phases %standard-phases
6731 (add-before 'configure 'chdir
6736 `(("slf4j" ,java-slf4j-api)
6737 ("servlet" ,java-javaee-servletapi)
6738 ("util" ,java-eclipse-jetty-util)))
6739 (synopsis "Jetty :: IO Utility")
6740 (description "The Jetty Web Server provides an HTTP server and Servlet
6741 container capable of serving static and dynamic content either from a standalone
6742 or embedded instantiation. This package provides IO-related utility classes.")))
6744 (define-public java-eclipse-jetty-io-9.2
6746 (inherit java-eclipse-jetty-io)
6747 (version (package-version java-eclipse-jetty-util-9.2))
6748 (source (package-source java-eclipse-jetty-util-9.2))
6750 `(("util" ,java-eclipse-jetty-util-9.2)
6751 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6753 `(("mockito" ,java-mockito-1)
6754 ("cglib" ,java-cglib)
6755 ("objenesis" ,java-objenesis)
6757 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6759 (define-public java-eclipse-jetty-http
6761 (inherit java-eclipse-jetty-util)
6762 (name "java-eclipse-jetty-http")
6764 `(#:jar-name "eclipse-jetty-http.jar"
6765 #:source-dir "src/main/java"
6768 (modify-phases %standard-phases
6769 (add-before 'configure 'chdir
6771 (chdir "jetty-http")
6773 (add-before 'build 'copy-resources
6775 (mkdir-p "build/classes")
6776 (copy-recursively "src/main/resources/" "build/classes/")
6779 `(("slf4j" ,java-slf4j-api)
6780 ("servlet" ,java-javaee-servletapi)
6781 ("io" ,java-eclipse-jetty-io)
6782 ("util" ,java-eclipse-jetty-util)))
6783 (synopsis "Jetty :: Http Utility")
6784 (description "The Jetty Web Server provides an HTTP server and Servlet
6785 container capable of serving static and dynamic content either from a standalone
6786 or embedded instantiation. This package provides HTTP-related utility classes.")))
6788 (define-public java-eclipse-jetty-http-9.2
6790 (inherit java-eclipse-jetty-http)
6791 (version (package-version java-eclipse-jetty-util-9.2))
6792 (source (package-source java-eclipse-jetty-util-9.2))
6794 `(("util" ,java-eclipse-jetty-util-9.2)
6795 ("io" ,java-eclipse-jetty-io-9.2)
6796 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6798 (define-public java-eclipse-jetty-jmx
6800 (inherit java-eclipse-jetty-util)
6801 (name "java-eclipse-jetty-jmx")
6803 `(#:jar-name "eclipse-jetty-jmx.jar"
6804 #:source-dir "src/main/java"
6806 #:tests? #f; FIXME: requires com.openpojo.validation
6808 (modify-phases %standard-phases
6809 (add-before 'configure 'chdir
6814 `(("slf4j" ,java-slf4j-api)
6815 ("servlet" ,java-javaee-servletapi)
6816 ("util" ,java-eclipse-jetty-util)))
6817 (synopsis "Jetty :: JMX Management")
6818 (description "The Jetty Web Server provides an HTTP server and Servlet
6819 container capable of serving static and dynamic content either from a standalone
6820 or embedded instantiation. This package provides the JMX management.")))
6822 (define-public java-eclipse-jetty-jmx-9.2
6824 (inherit java-eclipse-jetty-jmx)
6825 (version (package-version java-eclipse-jetty-util-9.2))
6826 (source (package-source java-eclipse-jetty-util-9.2))
6828 `(("util" ,java-eclipse-jetty-util-9.2)
6829 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6831 (define java-eclipse-jetty-http-test-classes
6833 (inherit java-eclipse-jetty-util)
6834 (name "java-eclipse-jetty-http-test-classes")
6836 `(#:jar-name "eclipse-jetty-http.jar"
6837 #:source-dir "src/test"
6841 (modify-phases %standard-phases
6842 (add-before 'configure 'chdir
6844 (chdir "jetty-http")
6847 `(("slf4j" ,java-slf4j-api)
6848 ("java-javaee-servletapi" ,java-javaee-servletapi)
6849 ("http" ,java-eclipse-jetty-http)
6850 ("io" ,java-eclipse-jetty-io)
6851 ("util" ,java-eclipse-jetty-util)))))
6853 (define java-eclipse-jetty-http-test-classes-9.2
6855 (inherit java-eclipse-jetty-http-test-classes)
6856 (version (package-version java-eclipse-jetty-util-9.2))
6857 (source (package-source java-eclipse-jetty-util-9.2))
6859 `(("http" ,java-eclipse-jetty-http-9.2)
6860 ,@(package-inputs java-eclipse-jetty-http-9.2)))))
6862 (define-public java-eclipse-jetty-server
6864 (inherit java-eclipse-jetty-util)
6865 (name "java-eclipse-jetty-server")
6867 `(#:jar-name "eclipse-jetty-server.jar"
6868 #:source-dir "src/main/java"
6870 #:tests? #f; requires a mockito version we don't have
6872 (modify-phases %standard-phases
6873 (add-before 'configure 'chdir
6875 (chdir "jetty-server")
6877 (add-before 'build 'fix-source
6879 ;; Explicit casts to prevent build failures
6880 (substitute* "src/main/java/org/eclipse/jetty/server/Request.java"
6881 (("append\\(LazyList")
6882 "append((CharSequence)LazyList"))
6884 "src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java"
6886 "Class<\\? extends EventListener> clazz = _classLoader==null"
6887 "\\?Loader.loadClass\\(ContextHandler.class,className\\):"
6888 "_classLoader.loadClass\\(className\\);"))
6889 (string-append "Class<? extends EventListener> clazz = "
6890 "(Class<? extends EventListener>) "
6891 "(_classLoader==null?Loader.loadClass("
6892 "ContextHandler.class,className):"
6893 "_classLoader.loadClass(className));")))
6896 `(("slf4j" ,java-slf4j-api)
6897 ("servlet" ,java-javaee-servletapi)
6898 ("http" ,java-eclipse-jetty-http)
6899 ("io" ,java-eclipse-jetty-io)
6900 ("jmx" ,java-eclipse-jetty-jmx)
6901 ("util" ,java-eclipse-jetty-util)))
6903 `(("test-classes" ,java-eclipse-jetty-http-test-classes)
6904 ,@(package-native-inputs java-eclipse-jetty-util)))
6905 (synopsis "Core jetty server artifact")
6906 (description "The Jetty Web Server provides an HTTP server and Servlet
6907 container capable of serving static and dynamic content either from a standalone
6908 or embedded instantiation. This package provides the core jetty server
6911 (define-public java-eclipse-jetty-server-9.2
6913 (inherit java-eclipse-jetty-server)
6914 (version (package-version java-eclipse-jetty-util-9.2))
6915 (source (package-source java-eclipse-jetty-util-9.2))
6917 `(("util" ,java-eclipse-jetty-util-9.2)
6918 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6919 ("io" ,java-eclipse-jetty-io-9.2)
6920 ("http" ,java-eclipse-jetty-http-9.2)
6921 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6923 `(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
6924 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6926 (define-public java-eclipse-jetty-security
6928 (inherit java-eclipse-jetty-util)
6929 (name "java-eclipse-jetty-security")
6931 `(#:jar-name "eclipse-jetty-security.jar"
6932 #:source-dir "src/main/java"
6934 #:test-exclude (list "**/ConstraintTest.*") ; This test fails
6936 (modify-phases %standard-phases
6937 (add-before 'configure 'chdir
6939 (chdir "jetty-security")
6942 `(("slf4j" ,java-slf4j-api)
6943 ("servlet" ,java-javaee-servletapi)
6944 ("http" ,java-eclipse-jetty-http)
6945 ("server" ,java-eclipse-jetty-server)
6946 ("util" ,java-eclipse-jetty-util)))
6948 `(("io" ,java-eclipse-jetty-io)
6949 ,@(package-native-inputs java-eclipse-jetty-util)))
6950 (synopsis "Jetty security infrastructure")
6951 (description "The Jetty Web Server provides an HTTP server and Servlet
6952 container capable of serving static and dynamic content either from a standalone
6953 or embedded instantiation. This package provides the core jetty security
6956 (define-public java-eclipse-jetty-security-9.2
6958 (inherit java-eclipse-jetty-security)
6959 (version (package-version java-eclipse-jetty-util-9.2))
6960 (source (package-source java-eclipse-jetty-util-9.2))
6962 `(("util" ,java-eclipse-jetty-util-9.2)
6963 ("http" ,java-eclipse-jetty-http-9.2)
6964 ("server" ,java-eclipse-jetty-server-9.2)
6965 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6967 `(("io" ,java-eclipse-jetty-io-9.2)
6968 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6970 (define-public java-eclipse-jetty-servlet
6972 (inherit java-eclipse-jetty-util)
6973 (name "java-eclipse-jetty-servlet")
6975 `(#:jar-name "eclipse-jetty-servlet.jar"
6976 #:source-dir "src/main/java"
6979 (modify-phases %standard-phases
6980 (add-before 'configure 'chdir
6982 (chdir "jetty-servlet")
6985 `(("slf4j" ,java-slf4j-api)
6986 ("java-javaee-servletapi" ,java-javaee-servletapi)
6987 ("http" ,java-eclipse-jetty-http)
6988 ("http-test" ,java-eclipse-jetty-http-test-classes)
6989 ("io" ,java-eclipse-jetty-io)
6990 ("jmx" ,java-eclipse-jetty-jmx)
6991 ("security" ,java-eclipse-jetty-security)
6992 ("server" ,java-eclipse-jetty-server)
6993 ("util" ,java-eclipse-jetty-util)))
6994 (synopsis "Jetty Servlet Container")
6995 (description "The Jetty Web Server provides an HTTP server and Servlet
6996 container capable of serving static and dynamic content either from a standalone
6997 or embedded instantiation. This package provides the core jetty servlet
7000 (define-public java-eclipse-jetty-servlet-9.2
7002 (inherit java-eclipse-jetty-servlet)
7003 (version (package-version java-eclipse-jetty-util-9.2))
7004 (source (package-source java-eclipse-jetty-util-9.2))
7006 `(#:jar-name "eclipse-jetty-servlet.jar"
7007 #:source-dir "src/main/java"
7009 #:tests? #f; doesn't work
7011 (modify-phases %standard-phases
7012 (add-before 'configure 'chdir
7014 (chdir "jetty-servlet")
7017 `(("util" ,java-eclipse-jetty-util-9.2)
7018 ("jmx" ,java-eclipse-jetty-jmx-9.2)
7019 ("io" ,java-eclipse-jetty-io-9.2)
7020 ("http" ,java-eclipse-jetty-http-9.2)
7021 ("security" ,java-eclipse-jetty-security-9.2)
7022 ("http-test" ,java-eclipse-jetty-http-test-classes-9.2)
7023 ("server" ,java-eclipse-jetty-server-9.2)
7024 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
7026 (define-public java-eclipse-jetty-xml
7028 (inherit java-eclipse-jetty-util)
7029 (name "java-eclipse-jetty-xml")
7031 `(#:jar-name "eclipse-jetty-xml.jar"
7032 #:source-dir "src/main/java"
7034 #:tests? #f; most tests require network
7036 (modify-phases %standard-phases
7037 (add-before 'configure 'chdir
7042 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)))
7044 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
7045 ,@(package-native-inputs java-eclipse-jetty-util)))))
7047 (define-public java-eclipse-jetty-xml-9.2
7049 (inherit java-eclipse-jetty-xml)
7050 (version (package-version java-eclipse-jetty-util-9.2))
7051 (source (package-source java-eclipse-jetty-util-9.2))
7053 `(#:jar-name "eclipse-jetty-xml.jar"
7054 #:source-dir "src/main/java"
7056 #:tests? #f; most tests require network
7058 (modify-phases %standard-phases
7059 (add-before 'configure 'chdir
7064 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
7065 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7067 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
7068 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7070 (define-public java-eclipse-jetty-webapp
7072 (inherit java-eclipse-jetty-util)
7073 (name "java-eclipse-jetty-webapp")
7075 `(#:jar-name "eclipse-jetty-webapp.jar"
7076 #:source-dir "src/main/java"
7079 #:test-exclude (list "**/WebAppContextTest.java")
7081 (modify-phases %standard-phases
7082 (add-before 'configure 'chdir
7084 (chdir "jetty-webapp")
7087 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)
7088 ("java-eclipse-jetty-http" ,java-eclipse-jetty-http)
7089 ("java-eclipse-jetty-server" ,java-eclipse-jetty-server)
7090 ("java-eclipse-jetty-servlet" ,java-eclipse-jetty-servlet)
7091 ("java-eclipse-jetty-security" ,java-eclipse-jetty-security)
7092 ("java-eclipse-jetty-xml" ,java-eclipse-jetty-xml)
7093 ("java-javaee-servletapi" ,java-javaee-servletapi)))
7095 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
7096 ,@(package-native-inputs java-eclipse-jetty-util)))))
7098 (define-public java-eclipse-jetty-webapp-9.2
7100 (inherit java-eclipse-jetty-webapp)
7101 (version (package-version java-eclipse-jetty-util-9.2))
7102 (source (package-source java-eclipse-jetty-util-9.2))
7104 `(#:jar-name "eclipse-jetty-webapp.jar"
7105 #:source-dir "src/main/java"
7107 #:test-exclude (list "**/WebAppContextTest.java")
7109 (modify-phases %standard-phases
7110 (add-before 'configure 'chdir
7112 (chdir "jetty-webapp")
7115 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
7116 ("java-eclipse-jetty-http-9.2" ,java-eclipse-jetty-http-9.2)
7117 ("java-eclipse-jetty-server-9.2" ,java-eclipse-jetty-server-9.2)
7118 ("java-eclipse-jetty-servlet-9.2" ,java-eclipse-jetty-servlet-9.2)
7119 ("java-eclipse-jetty-security-9.2" ,java-eclipse-jetty-security-9.2)
7120 ("java-eclipse-jetty-xml-9.2" ,java-eclipse-jetty-xml-9.2)
7121 ("java-javaee-servletapi" ,java-javaee-servletapi)
7122 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7124 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
7125 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7127 (define-public java-jsoup
7134 (url "https://github.com/jhy/jsoup")
7135 (commit (string-append "jsoup-" version))))
7136 (file-name (git-file-name name version))
7139 "1hdpdx0x140r5x3yc251v7dj1h4j5a7nh9k885aw9q5vvz49lkf4"))))
7140 (build-system ant-build-system)
7142 `(#:jar-name "jsoup.jar"
7143 #:source-dir "src/main/java"
7145 (modify-phases %standard-phases
7146 (add-before 'build 'copy-resources
7148 (let ((classes-dir (string-append (getcwd) "/build/classes")))
7149 (with-directory-excursion "src/main/java"
7150 (for-each (lambda (file)
7151 (let ((dist (string-append classes-dir "/" file)))
7152 (mkdir-p (dirname dist))
7153 (copy-file file dist)))
7154 (find-files "." ".*.properties"))))
7157 `(("java-junit" ,java-junit)
7158 ("java-hamcrest-core" ,java-hamcrest-core)
7159 ("java-gson" ,java-gson)))
7160 (home-page "https://jsoup.org")
7161 (synopsis "HTML parser")
7162 (description "Jsoup is a Java library for working with real-world HTML. It
7163 provides a very convenient API for extracting and manipulating data, using the
7164 best of DOM, CSS, and jQuery-like methods.")
7165 (license license:expat)))
7167 (define-public java-signpost-core
7169 (name "java-signpost-core")
7174 (url "https://github.com/mttkay/signpost")
7176 (file-name (git-file-name name version))
7179 "1l04yj2znch3hpyw90c4g4jan453w7d88l84bgl0c72i2kbb8z7h"))))
7180 (build-system ant-build-system)
7182 `(#:jar-name "signpost-core.jar"
7183 #:source-dir "signpost-core/src/main/java"
7184 #:test-dir "signpost-core/src/test"
7185 ;; Tests all fail with InstantiationException from mockito
7188 `(("java-commons-codec" ,java-commons-codec)))
7189 (home-page "https://github.com/mttkay/signpost")
7190 (synopsis "Lightweight client-side OAuth library for Java")
7191 (description "Signpost is the easy and intuitive solution for signing
7192 HTTP messages on the Java platform in conformance with the OAuth Core 1.0a
7193 standard. Signpost follows a modular and flexible design, allowing you to
7194 combine it with different HTTP messaging layers.")
7195 (license license:asl2.0)))
7197 (define-public tidyp
7204 (uri (string-append "https://github.com/downloads/petdance/tidyp/tidyp-"
7208 "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10"))))
7209 (build-system gnu-build-system)
7210 ;; ./test-thing.sh tries to run ./testall.sh, which is not included.
7211 (arguments `(#:tests? #f))
7212 (home-page "http://www.tidyp.com/")
7213 (synopsis "Validate HTML")
7214 (description "Tidyp is a program that can validate your HTML, as well as
7215 modify it to be more clean and standard. tidyp does not validate HTML 5.
7217 libtidyp is the library on which the program is based. It can be used by any
7218 other program that can interface to it. The Perl module @code{HTML::Tidy} is
7219 based on this library, allowing Perl programmers to easily validate HTML.")
7220 ;; See htmldoc/license.html
7221 (license license:bsd-3)))
7223 (define-public perl-html-tidy
7225 (name "perl-html-tidy")
7230 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tidy-"
7234 "1iyp2fd6j75cn1xvcwl2lxr8qpjxssy2360cyqn6g3kzd1fzdyxw"))))
7235 (build-system perl-build-system)
7238 (modify-phases %standard-phases
7239 (add-after 'unpack 'fix-tidyp-paths
7240 (lambda* (#:key inputs #:allow-other-keys)
7241 (substitute* "Makefile.PL"
7242 (("^my \\$inc = \"" line)
7244 "-I" (assoc-ref inputs "tidyp") "/include/tidyp "))
7247 "-L" (assoc-ref inputs "tidyp") "/lib")))
7250 `(("perl-libwww" ,perl-libwww)
7253 `(("perl-test-exception" ,perl-test-exception)))
7254 (home-page "https://metacpan.org/release/HTML-Tidy")
7255 (synopsis "(X)HTML validation in a Perl object")
7256 (description "@code{HTML::Tidy} is an HTML checker in a handy dandy
7257 object. It's meant as a replacement for @code{HTML::Lint}, which is written
7258 in Perl but is not nearly as capable as @code{HTML::Tidy}.")
7259 (license license:artistic2.0)))
7261 (define-public geomyidae
7269 (url "git://r-36.net/geomyidae")
7270 (commit (string-append "v" version))))
7271 (file-name (git-file-name name version))
7273 (base32 "02afgrk36wkdkflyqr2xgh49v9zq6ma454jshk7igvhpxfb5l3ks"))))
7274 (build-system gnu-build-system)
7276 `(#:make-flags (list "CC=gcc"
7277 (string-append "PREFIX="
7278 (assoc-ref %outputs "out")))
7279 #:tests? #f ; no tests
7280 #:phases (modify-phases %standard-phases
7281 (delete 'configure))))
7282 (home-page "http://r-36.net/scm/geomyidae/file/README.html")
7283 (synopsis "Small Gopher server")
7285 "Geomyidae is a server for distributed hypertext protocol Gopher. Its
7289 @item Gopher menus (see @file{index.gph} for an example);
7290 @item directory listings (if no @file{index.gph} was found);
7291 @item CGI support (@file{.cgi} files are executed);
7292 @item search support in CGI files;
7293 @item logging with multiple log levels.
7295 (license license:expat)))
7297 (define-public cat-avatar-generator
7299 (name "cat-avatar-generator")
7304 (url "https://framagit.org/Deevad/cat-avatar-generator.git")
7305 (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
7306 (file-name (string-append name "-" version))
7309 "0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
7310 (build-system trivial-build-system)
7312 `(#:modules ((guix build utils))
7315 (use-modules (guix build utils)
7319 (let ((source (assoc-ref %build-inputs "source"))
7320 (php-dir (string-append %output "/share/web/" ,name "/")))
7321 ;; The cache directory must not be in the store, but in a writable
7322 ;; location. The webserver will give us this location.
7323 (copy-recursively source php-dir)
7324 (substitute* (string-append php-dir "/cat-avatar-generator.php")
7325 (("\\$cachepath = .*")
7326 "if(isset($_SERVER['CACHE_DIR']))
7327 $cachepath = $_SERVER['CACHE_DIR'];
7329 die('You need to set the CACHE_DIR variable first.');"))
7331 (home-page "https://framagit.org/Deevad/cat-avatar-generator")
7332 (synopsis "Random avatar generator")
7333 (description "Cat avatar generator is a generator of cat pictures optimised
7334 to generate random avatars, or defined avatar from a \"seed\". This is a
7335 derivation by David Revoy from the original MonsterID by Andreas Gohr.")
7336 ;; expat for the code, CC-BY 4.0 for the artwork
7337 (license (list license:expat
7338 license:cc-by4.0))))
7340 (define-public nghttp2
7344 (replacement nghttp2-1.41)
7348 (uri (string-append "https://github.com/nghttp2/nghttp2/"
7349 "releases/download/v" version "/"
7350 "nghttp2-" version ".tar.xz"))
7353 "0wwhwv7cvi1vxpdjwvg0kpa4jzhszclpnwrwfcw728zz53a47z09"))))
7354 (build-system gnu-build-system)
7355 (outputs (list "out"
7356 "lib")) ; only libnghttp2
7358 `(("pkg-config" ,pkg-config)
7360 ;; Required by tests.
7362 ("tzdata" ,tzdata-for-tests)))
7364 ;; Required to build the tools (i.e. without ‘--enable-lib-only’).
7365 `(("c-ares" ,c-ares)
7366 ("jansson" ,jansson) ; for HPACK tools
7367 ,@(if (hurd-target?) '()
7368 `(("jemalloc" ,jemalloc))) ; fight nghttpd{,x} heap fragmentation
7370 ("libxml2" ,libxml2) ; for ‘nghttp -a’
7371 ("openssl" ,openssl)
7372 ,@(if (hurd-target?)
7373 `(("openssl-static" ,openssl "static"))
7377 (list (string-append "--libdir=" (assoc-ref %outputs "lib") "/lib")
7378 "--enable-app" ; build all the tools
7379 "--enable-hpack-tools" ; ...all the tools
7380 "--disable-examples"
7381 "--disable-static") ; don't bother building .a files
7383 (modify-phases %standard-phases
7384 (add-after 'unpack 'break-circular-reference
7385 ;; libnghttp2.pc by default retains a reference to the ‘out’ output,
7386 ;; which is not allowed. Break this cycle. While we could install
7387 ;; only the library to ‘out’ and move everything else to a separate
7388 ;; output, this would inconvenience the majority of (human) users.
7389 (lambda* (#:key outputs #:allow-other-keys)
7390 (substitute* "lib/libnghttp2.pc.in"
7392 (assoc-ref outputs "lib")))
7394 (add-before 'check 'set-timezone-directory
7395 (lambda* (#:key inputs native-inputs #:allow-other-keys)
7396 (setenv "TZDIR" (string-append
7397 (assoc-ref (or native-inputs inputs) "tzdata")
7400 (home-page "https://nghttp2.org/")
7401 (synopsis "HTTP/2 protocol client, proxy, server, and library")
7403 "nghttp2 implements the Hypertext Transfer Protocol, version
7406 A reusable C library provides the HTTP/2 framing layer, with several tools built
7410 @item @command{nghttp}, a command-line HTTP/2 client. It exposes many advanced
7411 and low-level aspects of the protocol and is useful for debugging.
7412 @item @command{nghttpd}, a fast, multi-threaded HTTP/2 static web server that
7413 serves files from a local directory.
7414 @item @command{nghttpx}, a fast, multi-threaded HTTP/2 reverse proxy that can be
7415 deployed in front of existing web servers that don't support HTTP/2.
7416 Both @command{nghttpd} and @command{nghttpx} can fall back to HTTP/1.1 for
7417 backwards compatibility with clients that don't speak HTTP/2.
7418 @item @command{h2load} for benchmarking (only!) your own HTTP/2 servers.
7419 @item HTTP/2 uses a header compression method called @dfn{HPACK}.
7420 nghttp2 provides a HPACK encoder and decoder as part of its public API.
7421 @item @command{deflatehd} converts JSON data or HTTP/1-style header fields to
7422 compressed JSON header blocks.
7423 @item @command{inflatehd} converts such compressed headers back to JSON pairs.
7425 (license license:expat)))
7427 (define-public nghttp2-1.41 ;fixes CVE-2020-11080
7434 (uri (string-append "https://github.com/nghttp2/nghttp2/"
7435 "releases/download/v" version "/"
7436 "nghttp2-" version ".tar.xz"))
7439 "1hk77vngjmvvzb5y1gi1aqwf6qywrc7yak08zvzb7x81qs6mphmb"))))))
7441 (define-public hpcguix-web
7442 (let ((commit "9de63562b06b4aef3a3afe5ecb18d3c91e57ee74")
7445 (name "hpcguix-web")
7446 (version (git-version "0.0.1" revision commit))
7450 (url "https://github.com/UMCUGenetics/hpcguix-web")
7452 (file-name (git-file-name name version))
7455 "0wjgj2s7v2cyz6dx24c111rxs99i84sfvxl4ch8brnh02j2606jz"))))
7456 (build-system gnu-build-system)
7458 `(#:modules ((guix build gnu-build-system)
7464 (modify-phases %standard-phases
7465 (add-before 'configure 'set-variables
7467 ;; This prevents a few warnings
7468 (setenv "GUILE_AUTO_COMPILE" "0")
7469 (setenv "XDG_CACHE_HOME" (getcwd))
7471 (add-after 'install 'wrap-program
7472 (lambda* (#:key inputs outputs #:allow-other-keys)
7473 (let* ((out (assoc-ref outputs "out"))
7474 (guix (assoc-ref inputs "guix"))
7475 (guile (assoc-ref inputs "guile"))
7476 (gcrypt (assoc-ref inputs "guile-gcrypt"))
7477 (git (assoc-ref inputs "guile-git"))
7478 (bs (assoc-ref inputs "guile-bytestructures"))
7479 (json (assoc-ref inputs "guile-json"))
7480 (guile-cm (assoc-ref inputs
7481 "guile-commonmark"))
7482 (deps (list guile gcrypt git bs guile-cm guix json))
7485 (open-pipe* OPEN_READ
7486 (string-append guile "/bin/guile")
7487 "-c" "(display (effective-version))")))
7489 (map (cut string-append <>
7490 "/share/guile/site/"
7494 (gopath (string-join
7495 (map (cut string-append <>
7496 "/lib/guile/" effective
7500 (wrap-program (string-append out "/bin/run")
7501 `("GUILE_LOAD_PATH" ":" prefix (,path))
7502 `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath)))
7506 `(("autoconf" ,autoconf)
7507 ("automake" ,automake)
7508 ("uglify-js" ,uglify-js)
7509 ("pkg-config" ,pkg-config)))
7511 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
7514 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
7515 ("guile-commonmark" ,guile-commonmark)
7516 ("guile-json" ,guile-json-4)))
7517 (home-page "https://github.com/UMCUGenetics/hpcguix-web")
7518 (synopsis "Web interface for cluster deployments of Guix")
7519 (description "Hpcguix-web provides a web interface to the list of packages
7520 provided by Guix. The list of packages is searchable and provides
7521 instructions on how to use Guix in a shared HPC environment.")
7522 (license license:agpl3+))))
7524 (define-public httrack
7530 (uri (string-append "https://mirror.httrack.com/historical/"
7531 "httrack-" version ".tar.gz"))
7534 "09a0gm67nml86qby1k1gh7rdxamnrnzwr6l9r5iiq94favjs0xrl"))))
7535 (build-system gnu-build-system)
7537 `(("libressl" ,libressl)
7539 (home-page "https://www.httrack.com/")
7540 (synopsis "Easy-to-use offline browser utility")
7541 (description "HTTrack allows you to download a World Wide Web site from
7542 the Internet to a local directory, building recursively all directories,
7543 getting HTML, images, and other files from the server to your computer.
7545 HTTrack arranges the original site's relative link-structure. Simply open
7546 a page of the @emph{mirrored} website in your browser, and you can browse the
7547 site from link to link, as if you were viewing it online. HTTrack can also
7548 update an existing mirrored site, and resume interrupted downloads.
7550 HTTrack is fully configurable, and has an integrated help system.")
7551 (license license:gpl3+)))
7560 (uri (pypi-uri "buku" version))
7561 (file-name (git-file-name name version))
7564 "1g1xhdskfn72xaraqzz2v8dl2iza7bzfpn17z2wdrzkq3ih7yvgg"))))
7565 (build-system python-build-system)
7567 `(#:tests? #f)) ;FIXME: many tests need network access
7569 `(("python-beautifulsoup4" ,python-beautifulsoup4)
7570 ("python-certifi" ,python-certifi)
7571 ("python-cryptography" ,python-cryptography)
7572 ("python-html5lib" ,python-html5lib)
7573 ("python-urllib3" ,python-urllib3)))
7574 (home-page "https://github.com/jarun/buku")
7575 (synopsis "Bookmark manager")
7577 "buku is a powerful bookmark manager written in Python3 and SQLite3.
7578 @command{buku} can auto-import bookmarks from your browser and present them
7579 in an interactive command-line interface that lets you compose and update
7580 bookmarks directly. It can also present them in a web interface with
7581 @command{bukuserver}.")
7582 (license license:gpl3+)))
7584 (define-public anonip
7590 (uri (pypi-uri "anonip" version))
7593 "0ckn9nnfhpdnz8b92q8pkysdqj6pdh71ckfqvfj0z01cq0hzbhd2"))))
7594 (build-system python-build-system)
7595 (home-page "https://github.com/DigitaleGesellschaft/Anonip")
7596 (synopsis "Anonymize IP addresses in log files")
7598 "Anonip masks the last bits of IPv4 and IPv6 addresses in log files.
7599 That way most of the relevant information is preserved, while the IP address
7600 does not match a particular individuum anymore.
7602 Depending on your Web server, the log entries may be piped to Anonip directly
7603 or via a FIFO (named pipe). Thus the unmasked IP addresses will never be
7604 written to any file.
7606 It's also possible to rewrite existing log files.
7608 Anonip can also be uses as a Python module in your own Python application.")
7609 (license license:bsd-3)))
7611 (define-public poussetaches
7613 (name "poussetaches")
7619 (url "https://github.com/tsileo/poussetaches")
7621 (file-name (git-file-name name version))
7624 "0kckcwvqklavd855np9aq5js6mg84isrlwchr504yigwma0sm7hm"))))
7625 (build-system go-build-system)
7627 `(("go-github-com-robfig-cron" ,go-github-com-robfig-cron)
7628 ("go-golang-org-x-time" ,go-golang-org-x-time)))
7630 `(#:import-path "github.com/tsileo/poussetaches"))
7631 (home-page "https://github.com/tsileo/poussetaches")
7632 (synopsis "Lightweight asynchronous task execution service")
7633 (description "Poussetaches (which literally means \"push tasks\" in
7634 French) is a lightweight asynchronous task execution service that aims to
7635 replace Celery and RabbitMQ for small Python applications.
7637 The app posts base64-encoded payload to poussetaches and specifies the
7638 endpoint that will be used to trigger the task. Poussetaches makes HTTP
7639 requests with the registered payload until the right status code is
7641 (license license:isc)))
7643 (define-public htmlcxx
7651 (string-append "mirror://sourceforge/htmlcxx/v"
7652 version "/htmlcxx-" version ".tar.gz"))
7654 (base32 "1j3mzjlczjrk4ahc43s6kzpvzypzjmqz4sillnca5yadrwwgjf2x"))))
7655 (build-system gnu-build-system)
7656 (home-page "http://htmlcxx.sourceforge.net/")
7657 (synopsis "Simple non-validating CSS1 and HTML parser for C++")
7658 (description "htmlcxx is a simple non-validating CSS1 and HTML parser for
7659 C++. Although there are several other HTML parsers available, htmlcxx has some
7660 characteristics that make it unique:
7662 @item STL like navigation of DOM tree, using excelent's tree.hh library from
7664 @item It is possible to reproduce exactly, character by character, the original
7665 document from the parse tree
7666 @item Bundled CSS parser
7667 @item Optional parsing of attributes
7668 @item C++ code that looks like C++ (not so true anymore)
7669 @item Offsets of tags/elements in the original document are stored in the nodes
7672 (license (list license:lgpl2.0
7676 (define-public librocket
7685 (url "https://github.com/libRocket/libRocket")
7686 (commit (string-append "release-" version))))
7687 (file-name (git-file-name name version))
7689 (base32 "1n6gq007vqijyfasfnfg6c8d2rc9qarl4bhzbgkz062m4h5izlfs"))))
7690 (build-system cmake-build-system)
7692 `(#:tests? #f ; No tests.
7694 (modify-phases %standard-phases
7695 (add-after 'unpack 'chdir
7697 (chdir "Build"))))))
7699 `(("freetype" ,freetype)))
7700 (home-page "https://github.com/libRocket/libRocket") ; http://librocket.com/ is down.
7701 (synopsis "HTML/CSS user interface library")
7702 (description "libRocket is a C++ user interface package based on the HTML
7703 and CSS standards. libRocket uses the open standards XHTML1.0 and
7704 CSS2.0 (while borrowing features from HTML5 and CSS3), and extends them with
7705 features suited towards real-time applications. It is designed as a complete
7706 solution for any project's interface needs:
7709 @item Dynamic layout system.
7710 @item Efficient application-wide styling, with a custom-built templating engine.
7711 @item Fully featured control set: buttons, sliders, drop-downs, etc.
7712 @item Runtime visual debugging suite.
7713 @item Easily integrated and extensible with Python or Lua scripting.
7715 (license license:expat)))
7717 (define-public gmnisrv
7718 (let ((commit "d484ba0ab0020866535a44be5948c9482b8f2b8d")
7722 (version (git-version "0" revision commit))
7723 (home-page "https://git.sr.ht/~sircmpwn/gmnisrv")
7731 "11phipixsxx1jgm42agp76p5s68l0zj65kgb41vzaymgwcq79ivn"))
7732 (file-name (git-file-name name version))))
7733 (build-system gnu-build-system)
7736 (modify-phases %standard-phases
7737 (add-before 'configure 'set-variables
7743 `(("openssl" ,openssl)))
7745 `(("pkg-config" ,pkg-config)
7748 `(("mailcap" ,mailcap)))
7749 (synopsis "Simple Gemini protocol server")
7750 (description "gmnisrv is a simple Gemini protocol server written in C.")
7751 (license (list license:gpl3+
7752 license:bsd-3))))) ;; for ini.c and ini.h