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 "03h0hhrbfy3asla9gki2cp97zjn7idxbp5lk9xi0snlh4xlm9pv1"))))
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.3")
330 (changeset "3cb2736bb74c"))
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 "0dpn5zl8wld0c1l68wzl76wlii2k8bawq0609gnzkahwnsrqnad9"))))
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))
1437 "0aaqyfnl4dncrpw8n2sqkkavx7ki7i2r9pdi82pp9syql3b5495y"))
1438 (modules '((guix build utils)))
1441 ;; Remove prebuilt binaries
1442 (delete-file-recursively "npm")
1444 (build-system go-build-system)
1446 '(#:import-path "github.com/evanw/esbuild/cmd/esbuild"
1447 #:unpack-path "github.com/evanw/esbuild"
1449 (modify-phases %standard-phases
1451 (lambda* (#:key tests? unpack-path #:allow-other-keys)
1453 (with-directory-excursion (string-append "src/" unpack-path)
1454 (invoke "make" "test-go")))
1457 `(("golang.org/x/sys" ,go-golang-org-x-sys)))
1459 `(("github.com/kylelemons/godebug" ,go-github-com-kylelemons-godebug)))
1460 (home-page "https://github.com/evanw/esbuild")
1461 (synopsis "Bundler and minifier tool for JavaScript and TypeScript")
1463 "The esbuild tool provides a unified bundler, transpiler and
1464 minifier. It packages up JavaScript and TypeScript code, along with JSON
1465 and other data, for distribution on the web.")
1466 (license license:expat)))
1468 (define-public tinyproxy
1474 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
1475 "releases/download/" version "/tinyproxy-"
1479 "10jnk6y2swld25mm47mjc0nkffyzsfysnsxwr7cs0ns1kil8ggjr"))))
1480 (build-system gnu-build-system)
1484 ;; For the log file, etc.
1485 "--localstatedir=/var")
1487 (modify-phases %standard-phases
1488 (add-before 'build 'pre-build
1489 (lambda* (#:key inputs #:allow-other-keys #:rest args)
1490 ;; Uncommenting the next two lines may assist in debugging
1491 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
1492 ;; (setenv "XML_DEBUG_CATALOG" "1")
1494 (home-page "https://tinyproxy.github.io/")
1495 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
1496 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
1497 daemon. Designed from the ground up to be fast and yet small, it is an ideal
1498 solution for use cases such as embedded deployments where a full featured HTTP
1499 proxy is required, but the system resources for a larger proxy are
1501 (license license:gpl2+)))
1503 (define-public polipo
1511 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
1515 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
1516 (native-inputs `(("texinfo" ,texinfo)))
1517 (build-system gnu-build-system)
1519 `(#:phases (modify-phases %standard-phases
1520 (delete 'configure))
1521 #:make-flags (let ((out (assoc-ref %outputs "out")))
1522 (list (string-append "PREFIX=" out)
1523 (string-append "LOCAL_ROOT="
1524 out "/share/polipo/www")
1526 ;; No 'check' target.
1528 (home-page "https://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
1529 (synopsis "Small caching web proxy")
1531 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
1532 server). It was primarily designed to be used by one person or a small group
1534 (license license:expat)))
1536 (define-public websockify
1543 (url "https://github.com/novnc/websockify")
1544 (commit (string-append "v" version))))
1545 (file-name (git-file-name name version))
1548 "0pcic8qs0gdwrfjgfaf893jyddaw97wcjm2mmvwn0xyhmy8mbmw1"))))
1549 (build-system python-build-system)
1551 `(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No module
1552 ; named 'stubout'". The tests can be run by replacing the check phase with
1553 ; the command "python setup.py nosetests --verbosity=3".
1554 (native-inputs `(; Required for tests:
1555 ("python-mox3" ,python-mox3)
1556 ("python-nose" ,python-nose)))
1557 (propagated-inputs `(("python-numpy" ,python-numpy)))
1558 (home-page "https://github.com/novnc/websockify")
1559 (synopsis "WebSockets support for any application/server")
1560 (description "Websockify translates WebSockets traffic to normal socket
1561 traffic. Websockify accepts the WebSockets handshake, parses it, and then
1562 begins forwarding traffic between the client and the target in both
1564 (license license:lgpl3)))
1566 (define-public wwwoffle
1572 (uri (string-append "https://www.gedanken.org.uk/software/"
1573 "wwwoffle/download/wwwoffle-"
1577 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
1578 (build-system gnu-build-system)
1580 `(#:configure-flags '("--with-gnutls")
1581 #:tests? #f)) ; no test target
1582 (native-inputs `(("flex" ,flex)))
1583 (inputs `(("gnutls" ,gnutls)
1584 ("libcrypt" ,libgcrypt)))
1585 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
1586 (synopsis "Caching web proxy optimized for intermittent internet links")
1587 (description "WWWOFFLE is a proxy web server that is especially good for
1588 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
1589 protocols, and supports browsing and requesting pages while offline, indexing,
1590 modifying pages and incoming and outgoing headers, monitoring pages for
1591 changes, and much more.")
1592 (license license:gpl2+)))
1594 (define-public liboauth
1600 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
1604 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
1605 (build-system gnu-build-system)
1606 (arguments '(#:configure-flags '("--enable-nss")))
1607 (native-inputs `(("pkg-config" ,pkg-config)))
1611 (home-page "https://sourceforge.net/projects/liboauth")
1612 (synopsis "C library implementing the OAuth API")
1614 "liboauth is a collection of C functions implementing the OAuth API.
1615 liboauth provides functions to escape and encode strings according to OAuth
1616 specifications and offers high-level functionality built on top to sign
1617 requests or verify signatures using either NSS or OpenSSL for calculating the
1619 ;; Source code may be distributed under either license.
1620 (license (list license:expat license:gpl2+))))
1622 (define-public libyaml
1629 (uri (string-append "https://pyyaml.org/download/libyaml/yaml-"
1633 "1x4fcw13r3lqy8ndydr3ili87wicplw2awbcv6r21qgyfndswhn6"))))
1634 (build-system gnu-build-system)
1636 '(#:configure-flags '("--disable-static")))
1637 (home-page "https://pyyaml.org/wiki/LibYAML")
1638 (synopsis "YAML 1.1 parser and emitter written in C")
1640 "LibYAML is a YAML 1.1 parser and emitter written in C.")
1641 (license license:expat)))
1643 (define-public libquvi-scripts
1645 (name "libquvi-scripts")
1651 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
1652 name "/" name "-" version ".tar.xz"))
1654 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
1655 (build-system gnu-build-system)
1656 (home-page "http://quvi.sourceforge.net/")
1657 (synopsis "Media stream URL parser")
1658 (description "This package contains support scripts called by libquvi to
1659 parse media stream properties.")
1660 (license license:lgpl2.1+)))
1662 (define-public libquvi
1670 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
1671 name "-" version ".tar.xz"))
1673 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
1674 (build-system gnu-build-system)
1675 (native-inputs `(("pkg-config" ,pkg-config)))
1678 ("cyrus-sasl" ,cyrus-sasl)
1679 ("libquvi-scripts" ,libquvi-scripts)
1681 ("openssl" ,openssl)
1684 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
1686 (let ((lua (assoc-ref %build-inputs "lua")))
1688 (string-append "liblua_CFLAGS=-I" lua "/include")
1689 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
1690 (home-page "http://quvi.sourceforge.net/")
1691 (synopsis "Media stream URL parser")
1692 (description "libquvi is a library with a C API for parsing media stream
1693 URLs and extracting their actual media files.")
1694 (license license:lgpl2.1+)))
1704 "mirror://sourceforge/" name "/" (version-major+minor version)
1705 "/" name "/" name "-" version ".tar.xz"))
1707 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
1708 (build-system gnu-build-system)
1709 (native-inputs `(("pkg-config" ,pkg-config)))
1712 ("libquvi" ,libquvi)))
1713 (home-page "http://quvi.sourceforge.net/")
1714 (synopsis "Media stream URL parser")
1715 (description "quvi is a command-line-tool suite to extract media files
1716 from streaming URLs. It is a command-line wrapper for the libquvi library.")
1717 (license license:lgpl2.1+)))
1726 (uri (string-append "mirror://apache/serf/serf-"
1727 version ".tar.bz2"))
1729 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
1730 (build-system scons-build-system)
1733 ("apr-util" ,apr-util)
1734 ("openssl" ,openssl)))
1736 `(;; TODO: Fix build with gss.
1740 `(#:scons ,scons-python2
1741 #:scons-flags (list (string-append "APR=" (assoc-ref %build-inputs "apr"))
1742 (string-append "APU=" (assoc-ref %build-inputs "apr-util"))
1743 (string-append "OPENSSL=" (assoc-ref %build-inputs "openssl"))
1744 ;; (string-append "GSSAPI=" (assoc-ref %build-inputs "gss"))
1745 (string-append "ZLIB=" (assoc-ref %build-inputs "zlib"))
1746 (string-append "PREFIX=" %output))
1748 (modify-phases %standard-phases
1749 (add-after 'unpack 'scons-propagate-environment
1751 ;; By design, SCons does not, by default, propagate
1752 ;; environment variables to subprocesses. See:
1753 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
1754 ;; Here, we modify the SConstruct file to arrange for
1755 ;; environment variables to be propagated.
1756 (substitute* "SConstruct"
1757 (("^env = Environment\\(")
1758 "env = Environment(ENV=os.environ, "))))
1759 (add-before 'check 'disable-broken-tests
1761 ;; These tests rely on SSL certificates that expired 2017-04-18.
1762 ;; While there are newer certs available upstream, we don't want
1763 ;; this package to suddenly "expire" some time in the future.
1764 ;; https://bugs.gnu.org/26671
1766 '("test_ssl_trust_rootca"
1767 "test_ssl_certificate_chain_with_anchor"
1768 "test_ssl_certificate_chain_all_from_server"
1769 "test_ssl_no_servercert_callback_allok"
1770 "test_ssl_large_response"
1771 "test_ssl_large_request"
1772 "test_ssl_client_certificate"
1773 "test_ssl_future_server_cert"
1774 "test_setup_ssltunnel"
1775 "test_ssltunnel_basic_auth"
1776 "test_ssltunnel_basic_auth_server_has_keepalive_off"
1777 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
1778 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
1779 "test_ssltunnel_digest_auth")))
1782 (substitute* "test/test_context.c"
1783 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
1786 (home-page "https://serf.apache.org/")
1787 (synopsis "High-performance asynchronous HTTP client library")
1789 "serf is a C-based HTTP client library built upon the Apache Portable
1790 Runtime (APR) library. It multiplexes connections, running the read/write
1791 communication asynchronously. Memory copies and transformations are kept to a
1792 minimum to provide high performance operation.")
1793 ;; Most of the code is covered by the Apache License, Version 2.0, but the
1794 ;; bundled CuTest framework uses a different non-copyleft license.
1795 (license (list license:asl2.0 (license:non-copyleft "file://test/CuTest-README.txt")))))
1797 (define-public libsass
1800 ;; When updating, check whether sassc/libsass-3.5 is still needed.
1805 (url "https://github.com/sass/libsass")
1807 (file-name (git-file-name name version))
1810 "0r8lfqvr3rjhjd8r036zd1wc9q17gyiskppcw9m13jks9an7xp4j"))))
1811 (build-system gnu-build-system)
1814 (modify-phases %standard-phases
1815 (add-before 'bootstrap 'set-LIBSASS_VERSION
1817 (setenv "LIBSASS_VERSION" ,version)
1820 `(("autoconf" ,autoconf)
1821 ("automake" ,automake)
1822 ("libtool" ,libtool)))
1823 (home-page "https://sass-lang.com/libsass")
1824 (synopsis "SASS Compiler, implemented as a C/C++ library")
1826 "LibSass is a @acronym{SASS,Syntactically awesome style sheets} compiler
1827 library designed for portability and efficiency. To actually compile SASS
1828 stylesheets, you'll need to use another program that uses this library,
1829 @var{sassc} for example.")
1830 (license license:expat)))
1832 (define-public sassc
1839 (url "https://github.com/sass/sassc")
1841 (file-name (git-file-name name version))
1844 "1sxm54mkhs9m4vnl7vn11y17mhzamc403hv3966j1c7p2rbzg5pv"))))
1845 (build-system gnu-build-system)
1849 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1850 #:tests? #f ; no test suite
1852 (modify-phases %standard-phases
1853 (add-after 'unpack 'patch-Makefile
1855 (substitute* "Makefile"
1856 (("build-shared: \\$\\(RESOURCES\\) \\$\\(OBJECTS\\) \\$\\(LIB_SHARED\\)")
1857 "build-shared: $(RESOURCES) $(OBJECTS)")
1858 (("\\$\\(SASSC_EXE\\): libsass build")
1859 "$(SASSC_EXE): build")
1860 (("install: libsass-install-\\$\\(BUILD\\) \\\\")
1863 ;; This phase fails for some reason.
1865 ;; There is no configure script.
1867 (add-before 'build 'setup-environment
1869 (setenv "BUILD" "shared")
1870 (setenv "SASSC_VERSION" ,version)
1873 `(("libsass" ,libsass)))
1874 (synopsis "CSS pre-processor")
1875 (description "SassC is a compiler written in C for the CSS pre-processor
1876 language known as SASS.")
1877 (home-page "https://sass-lang.com/libsass")
1878 (license license:expat)))
1880 (define-public sassc/libsass-3.5
1881 ;; Newer libsass versions suffor from a memory leak when building (some?)
1882 ;; GTK themes <https://github.com/sass/libsass/issues/3033>.
1896 (url "https://github.com/sass/libsass")
1898 (file-name (git-file-name name version))
1901 "0830pjcvhzxh6yixj82x5k5r1xnadjqzi16kp53213icbly0r9ma"))))))))
1902 (properties '((hidden? . #t)))))
1905 (define-public perl-apache-logformat-compiler
1907 (name "perl-apache-logformat-compiler")
1912 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
1913 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1915 (base32 "05xcl7j65vakx7x79jqjikyw0nzf60bc2w6hhc0q5sklxq1ral4l"))))
1916 (build-system perl-build-system)
1918 `(("perl-http-message" ,perl-http-message)
1919 ("perl-module-build-tiny" ,perl-module-build-tiny)
1920 ("perl-test-mocktime" ,perl-test-mocktime)
1921 ("perl-try-tiny" ,perl-try-tiny)
1922 ("perl-uri" ,perl-uri)))
1924 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1925 (arguments `(#:tests? #f)) ; TODO: Timezone test failures
1926 (home-page "https://metacpan.org/release/Apache-LogFormat-Compiler")
1927 (synopsis "Compile a log format string to perl-code")
1928 (description "This module provides methods to compile a log format string
1929 to perl-code, for faster generation of access_log lines.")
1930 (license license:perl-license)))
1932 (define-public perl-authen-sasl
1934 (name "perl-authen-sasl")
1939 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
1940 "Authen-SASL-" version ".tar.gz"))
1943 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
1944 (build-system perl-build-system)
1947 (modify-phases %standard-phases
1948 (add-after 'unpack 'set-env
1949 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
1950 ;; versions of perl-authen-sasl.
1951 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
1953 `(("perl-digest-hmac" ,perl-digest-hmac)
1954 ("perl-gssapi" ,perl-gssapi)))
1955 (home-page "https://metacpan.org/release/Authen-SASL")
1956 (synopsis "SASL authentication framework")
1957 (description "Authen::SASL provides an SASL authentication framework.")
1958 (license license:perl-license)))
1960 (define-public perl-catalyst-action-renderview
1962 (name "perl-catalyst-action-renderview")
1967 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1968 "Catalyst-Action-RenderView-"
1972 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
1973 (build-system perl-build-system)
1975 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
1976 ("perl-module-install" ,perl-module-install)))
1978 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1979 ("perl-data-visitor" ,perl-data-visitor)
1980 ("perl-mro-compat" ,perl-mro-compat)))
1981 (home-page "https://metacpan.org/release/Catalyst-Action-RenderView")
1982 (synopsis "Sensible default Catalyst action")
1983 (description "This Catalyst action implements a sensible default end
1984 action, which will forward to the first available view.")
1985 (license license:perl-license)))
1987 (define-public perl-catalyst-action-rest
1989 (name "perl-catalyst-action-rest")
1993 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1994 "Catalyst-Action-REST-" version ".tar.gz"))
1997 "086bykggzalbjfk0islac4b48g9s2ypj7y81d6ns1lq0aax1py6c"))))
1998 (build-system perl-build-system)
2000 `(("perl-test-requires" ,perl-test-requires)
2001 ("perl-module-install" ,perl-module-install)))
2003 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2004 ("perl-class-inspector" ,perl-class-inspector)
2005 ("perl-config-general" ,perl-config-general)
2006 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
2007 ("perl-libwww" ,perl-libwww)
2008 ("perl-moose" ,perl-moose)
2009 ("perl-mro-compat" ,perl-mro-compat)
2010 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2011 ("perl-params-validate" ,perl-params-validate)
2012 ("perl-uri-find" ,perl-uri-find)
2013 ("perl-xml-simple" ,perl-xml-simple)))
2014 (home-page "https://metacpan.org/release/Catalyst-Action-REST")
2015 (synopsis "Automated REST Method Dispatching")
2016 (description "This Action handles doing automatic method dispatching for
2017 REST requests. It takes a normal Catalyst action, and changes the dispatch to
2018 append an underscore and method name. First it will try dispatching to an
2019 action with the generated name, and failing that it will try to dispatch to a
2021 (license license:perl-license)))
2023 (define-public perl-catalyst-authentication-store-dbix-class
2025 (name "perl-catalyst-authentication-store-dbix-class")
2030 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
2031 "Catalyst-Authentication-Store-DBIx-Class-"
2035 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
2036 (build-system perl-build-system)
2038 `(("perl-catalyst-plugin-authorization-roles"
2039 ,perl-catalyst-plugin-authorization-roles)
2040 ("perl-catalyst-plugin-session-state-cookie"
2041 ,perl-catalyst-plugin-session-state-cookie)
2042 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
2043 ("perl-module-install" ,perl-module-install)
2044 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2046 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2047 ("perl-catalyst-plugin-authentication"
2048 ,perl-catalyst-plugin-authentication)
2049 ("perl-dbix-class" ,perl-dbix-class)
2050 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
2052 "https://metacpan.org/release/Catalyst-Authentication-Store-DBIx-Class")
2053 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
2054 (description "The Catalyst::Authentication::Store::DBIx::Class class
2055 provides access to authentication information stored in a database via
2057 (license license:perl-license)))
2059 (define-public perl-catalyst-component-instancepercontext
2061 (name "perl-catalyst-component-instancepercontext")
2062 (version "0.001001")
2066 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
2067 "Catalyst-Component-InstancePerContext-"
2071 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
2072 (build-system perl-build-system)
2074 `(("perl-module-install" ,perl-module-install)))
2076 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2077 ("perl-moose" ,perl-moose)))
2079 "https://metacpan.org/release/Catalyst-Component-InstancePerContext")
2080 (synopsis "Create only one instance of Moose component per context")
2081 (description "Catalyst::Component::InstancePerContext returns a new
2082 instance of a component on each request.")
2083 (license license:perl-license)))
2085 (define-public perl-catalyst-devel
2087 (name "perl-catalyst-devel")
2092 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2093 "Catalyst-Devel-" version ".tar.gz"))
2095 (base32 "1r8arq7sw37d0mjyfzkc3pg1a9plgydqbscryc8qpvba4swpljls"))))
2096 (build-system perl-build-system)
2098 `(("perl-test-fatal" ,perl-test-fatal)))
2100 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
2101 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
2102 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
2103 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2104 ("perl-config-general" ,perl-config-general)
2105 ("perl-file-changenotify" ,perl-file-changenotify)
2106 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
2107 ("perl-file-sharedir" ,perl-file-sharedir)
2108 ("perl-module-install" ,perl-module-install)
2109 ("perl-moose" ,perl-moose)
2110 ("perl-moosex-emulate-class-accessor-fast"
2111 ,perl-moosex-emulate-class-accessor-fast)
2112 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2113 ("perl-namespace-clean" ,perl-namespace-clean)
2114 ("perl-path-class" ,perl-path-class)
2115 ("perl-template-toolkit" ,perl-template-toolkit)))
2116 (home-page "https://metacpan.org/release/Catalyst-Devel")
2117 (synopsis "Catalyst Development Tools")
2118 (description "The Catalyst-Devel distribution includes a variety of
2119 modules useful for the development of Catalyst applications, but not required
2120 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
2121 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
2122 extension for Catalyst; and requirements for a variety of development-related
2124 (license license:perl-license)))
2126 (define-public perl-catalyst-dispatchtype-regex
2128 (name "perl-catalyst-dispatchtype-regex")
2133 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
2134 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
2137 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
2138 (build-system perl-build-system)
2140 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
2141 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2142 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
2144 `(("perl-moose" ,perl-moose)
2145 ("perl-text-simpletable" ,perl-text-simpletable)))
2146 (home-page "https://metacpan.org/release/Catalyst-DispatchType-Regex")
2147 (synopsis "Regex DispatchType for Catalyst")
2148 (description "Dispatch type managing path-matching behaviour using
2149 regexes. Regex dispatch types have been deprecated and removed from Catalyst
2150 core. It is recommend that you use Chained methods or other techniques
2151 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
2152 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
2153 when the dispatch type is first seen in your application.")
2154 (license license:perl-license)))
2156 (define-public perl-catalyst-model-dbic-schema
2158 (name "perl-catalyst-model-dbic-schema")
2163 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
2164 "Catalyst-Model-DBIC-Schema-"
2168 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
2169 (build-system perl-build-system)
2171 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
2172 ("perl-module-install" ,perl-module-install)
2173 ("perl-test-exception" ,perl-test-exception)
2174 ("perl-test-requires" ,perl-test-requires)))
2176 `(("perl-carp-clan" ,perl-carp-clan)
2177 ("perl-catalyst-component-instancepercontext"
2178 ,perl-catalyst-component-instancepercontext)
2179 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2180 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
2181 ("perl-dbix-class" ,perl-dbix-class)
2182 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
2183 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
2184 ("perl-hash-merge" ,perl-hash-merge)
2185 ("perl-list-moreutils" ,perl-list-moreutils)
2186 ("perl-module-runtime" ,perl-module-runtime)
2187 ("perl-moose" ,perl-moose)
2188 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
2189 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
2190 ("perl-moosex-types" ,perl-moosex-types)
2191 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
2192 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2193 ("perl-namespace-clean" ,perl-namespace-clean)
2194 ("perl-tie-ixhash" ,perl-tie-ixhash)
2195 ("perl-try-tiny" ,perl-try-tiny)))
2196 (home-page "https://metacpan.org/release/Catalyst-Model-DBIC-Schema")
2197 (synopsis "DBIx::Class::Schema Model Class")
2198 (description "This is a Catalyst Model for DBIx::Class::Schema-based
2200 (license license:perl-license)))
2202 (define-public perl-catalyst-plugin-accesslog
2204 (name "perl-catalyst-plugin-accesslog")
2209 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
2210 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
2213 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
2214 (build-system perl-build-system)
2216 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2217 ("perl-datetime" ,perl-datetime)
2218 ("perl-moose" ,perl-moose)
2219 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2220 (home-page "https://metacpan.org/release/Catalyst-Plugin-AccessLog")
2221 (synopsis "Request logging from within Catalyst")
2222 (description "This Catalyst plugin enables you to create \"access logs\"
2223 from within a Catalyst application instead of requiring a webserver to do it
2224 for you. It will work even with Catalyst debug logging turned off.")
2225 (license license:perl-license)))
2227 (define-public perl-catalyst-plugin-authentication
2229 (name "perl-catalyst-plugin-authentication")
2234 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2235 "Catalyst-Plugin-Authentication-"
2239 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
2240 (build-system perl-build-system)
2242 `(("perl-module-install" ,perl-module-install)))
2244 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2245 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2246 ("perl-class-inspector" ,perl-class-inspector)
2247 ("perl-moose" ,perl-moose)
2248 ("perl-moosex-emulate-class-accessor-fast"
2249 ,perl-moosex-emulate-class-accessor-fast)
2250 ("perl-mro-compat" ,perl-mro-compat)
2251 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2252 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2253 ("perl-test-exception" ,perl-test-exception)
2254 ("perl-try-tiny" ,perl-try-tiny)))
2255 (home-page "https://metacpan.org/release/Catalyst-Plugin-Authentication")
2256 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
2257 (description "The authentication plugin provides generic user support for
2258 Catalyst apps. It is the basis for both authentication (checking the user is
2259 who they claim to be), and authorization (allowing the user to do what the
2260 system authorises them to do).")
2261 (license license:perl-license)))
2263 (define-public perl-catalyst-plugin-authorization-roles
2265 (name "perl-catalyst-plugin-authorization-roles")
2270 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2271 "Catalyst-Plugin-Authorization-Roles-"
2275 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
2276 (build-system perl-build-system)
2278 `(("perl-module-install" ,perl-module-install)
2279 ("perl-test-exception" ,perl-test-exception)))
2281 `(("perl-catalyst-plugin-authentication"
2282 ,perl-catalyst-plugin-authentication)
2283 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2284 ("perl-set-object" ,perl-set-object)
2285 ("perl-universal-isa" ,perl-universal-isa)))
2287 "https://metacpan.org/release/Catalyst-Plugin-Authorization-Roles")
2288 (synopsis "Role-based authorization for Catalyst")
2289 (description "Catalyst::Plugin::Authorization::Roles provides role-based
2290 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
2291 (license license:perl-license)))
2293 (define-public perl-catalyst-plugin-captcha
2295 (name "perl-catalyst-plugin-captcha")
2300 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
2301 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
2304 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
2305 (build-system perl-build-system)
2307 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2308 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2309 ("perl-gd-securityimage" ,perl-gd-securityimage)
2310 ("perl-http-date" ,perl-http-date)))
2311 (home-page "https://metacpan.org/release/Catalyst-Plugin-Captcha")
2312 (synopsis "Captchas for Catalyst")
2313 (description "This plugin creates and validates Captcha images for
2315 (license license:perl-license)))
2317 (define-public perl-catalyst-plugin-configloader
2319 (name "perl-catalyst-plugin-configloader")
2324 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2325 "Catalyst-Plugin-ConfigLoader-"
2328 (base32 "0w8r3bbxqnlykvra6sx3sh3wh8ylkj914xg5ql6nw11ddy56jaly"))))
2329 (build-system perl-build-system)
2331 `(("perl-path-class" ,perl-path-class)
2332 ("perl-module-install" ,perl-module-install)))
2334 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2335 ("perl-config-any" ,perl-config-any)
2336 ("perl-data-visitor" ,perl-data-visitor)
2337 ("perl-mro-compat" ,perl-mro-compat)))
2338 (home-page "https://metacpan.org/release/Catalyst-Plugin-ConfigLoader")
2339 (synopsis "Load config files of various types")
2340 (description "This module will attempt to load find and load configuration
2341 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
2343 (license license:perl-license)))
2345 (define-public perl-catalyst-plugin-session
2347 (name "perl-catalyst-plugin-session")
2352 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2353 "Catalyst-Plugin-Session-" version ".tar.gz"))
2355 (base32 "0a451997zc2vjx7rvndgx1ldbrpic8sfbddyvncynh0zr8bhlqc5"))))
2356 (build-system perl-build-system)
2358 `(("perl-module-install" ,perl-module-install)
2359 ("perl-test-deep" ,perl-test-deep)
2360 ("perl-test-exception" ,perl-test-exception)))
2362 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2363 ("perl-moose" ,perl-moose)
2364 ("perl-moosex-emulate-class-accessor-fast"
2365 ,perl-moosex-emulate-class-accessor-fast)
2366 ("perl-mro-compat" ,perl-mro-compat)
2367 ("perl-namespace-clean" ,perl-namespace-clean)
2368 ("perl-object-signature" ,perl-object-signature)
2369 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
2370 (home-page "https://metacpan.org/release/Catalyst-Plugin-Session")
2371 (synopsis "Catalyst generic session plugin")
2372 (description "This plugin links the two pieces required for session
2373 management in web applications together: the state, and the store.")
2374 (license license:perl-license)))
2376 (define-public perl-catalyst-plugin-session-state-cookie
2378 (name "perl-catalyst-plugin-session-state-cookie")
2383 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
2384 "Catalyst-Plugin-Session-State-Cookie-"
2388 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
2389 (build-system perl-build-system)
2391 `(("perl-module-install" ,perl-module-install)))
2393 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2394 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2395 ("perl-moose" ,perl-moose)
2396 ("perl-mro-compat" ,perl-mro-compat)
2397 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2399 "https://metacpan.org/release/Catalyst-Plugin-Session-State-Cookie")
2400 (synopsis "Maintain session IDs using cookies")
2401 (description "In order for Catalyst::Plugin::Session to work, the session
2402 ID needs to be stored on the client, and the session data needs to be stored
2403 on the server. This plugin stores the session ID on the client using the
2405 (license license:perl-license)))
2407 (define-public perl-catalyst-plugin-session-store-fastmmap
2409 (name "perl-catalyst-plugin-session-store-fastmmap")
2414 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2415 "Catalyst-Plugin-Session-Store-FastMmap-"
2419 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
2420 (build-system perl-build-system)
2422 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
2423 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2424 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2425 ("perl-moosex-emulate-class-accessor-fast"
2426 ,perl-moosex-emulate-class-accessor-fast)
2427 ("perl-mro-compat" ,perl-mro-compat)
2428 ("perl-path-class" ,perl-path-class)))
2430 "https://metacpan.org/release/Catalyst-Plugin-Session-Store-FastMmap")
2431 (synopsis "FastMmap session storage backend")
2432 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
2433 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
2434 memory interprocess cache. It is based on Cache::FastMmap.")
2435 (license license:perl-license)))
2437 (define-public perl-catalyst-plugin-stacktrace
2439 (name "perl-catalyst-plugin-stacktrace")
2444 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2445 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
2448 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
2449 (build-system perl-build-system)
2451 `(("perl-module-install" ,perl-module-install)))
2453 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2454 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
2455 ("perl-mro-compat" ,perl-mro-compat)))
2456 (home-page "https://metacpan.org/release/Catalyst-Plugin-StackTrace")
2457 (synopsis "Stack trace on the Catalyst debug screen")
2458 (description "This plugin enhances the standard Catalyst debug screen by
2459 including a stack trace of your application up to the point where the error
2460 occurred. Each stack frame is displayed along with the package name, line
2461 number, file name, and code context surrounding the line number.")
2462 (license license:perl-license)))
2464 (define-public perl-catalyst-plugin-static-simple
2466 (name "perl-catalyst-plugin-static-simple")
2471 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
2472 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
2475 "0m4l627p2fvzr4i6sgdxhdvsx4wpa6qmaibsbxlg5x5yjs7k7drn"))))
2476 (build-system perl-build-system)
2478 `(("perl-module-install" ,perl-module-install)))
2480 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2481 ("perl-mime-types" ,perl-mime-types)
2482 ("perl-moose" ,perl-moose)
2483 ("perl-moosex-types" ,perl-moosex-types)
2484 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2485 (home-page "https://metacpan.org/release/Catalyst-Plugin-Static-Simple")
2486 (synopsis "Simple serving of static pages")
2487 (description "The Static::Simple plugin is designed to make serving static
2488 content in your application during development quick and easy, without
2489 requiring a single line of code from you. This plugin detects static files by
2490 looking at the file extension in the URL (such as .css or .png or .js). The
2491 plugin uses the lightweight MIME::Types module to map file extensions to
2492 IANA-registered MIME types, and will serve your static files with the correct
2493 MIME type directly to the browser, without being processed through Catalyst.")
2494 (license license:perl-license)))
2496 (define-public perl-catalyst-runtime
2498 (name "perl-catalyst-runtime")
2503 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2504 "Catalyst-Runtime-" version ".tar.gz"))
2507 "001yk1i0xwn4v308qx15nvnp6v9qfdigdlvz1rgw5zpnq7kwnq1a"))))
2508 (build-system perl-build-system)
2510 `(("perl-test-fatal" ,perl-test-fatal)))
2512 `(("perl-cgi-simple" ,perl-cgi-simple)
2513 ("perl-cgi-struct" ,perl-cgi-struct)
2514 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
2515 ("perl-class-date" ,perl-class-date)
2516 ("perl-class-load" ,perl-class-load)
2517 ("perl-data-dump" ,perl-data-dump)
2518 ("perl-http-body" ,perl-http-body)
2519 ("perl-http-message" ,perl-http-message)
2520 ("perl-json-maybexs" ,perl-json-maybexs)
2521 ("perl-libwww" ,perl-libwww)
2522 ("perl-module-pluggable" ,perl-module-pluggable)
2523 ("perl-moose" ,perl-moose)
2524 ("perl-moosex-emulate-class-accessor-fast"
2525 ,perl-moosex-emulate-class-accessor-fast)
2526 ("perl-moosex-getopt" ,perl-moosex-getopt)
2527 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
2528 ("perl-namespace-clean" ,perl-namespace-clean)
2529 ("perl-path-class" ,perl-path-class)
2530 ("perl-perlio-utf8-strict" ,perl-perlio-utf8_strict)
2531 ("perl-plack" ,perl-plack)
2532 ("perl-plack-middleware-fixmissingbodyinredirect"
2533 ,perl-plack-middleware-fixmissingbodyinredirect)
2534 ("perl-plack-middleware-methodoverride"
2535 ,perl-plack-middleware-methodoverride)
2536 ("perl-plack-middleware-removeredundantbody"
2537 ,perl-plack-middleware-removeredundantbody)
2538 ("perl-plack-middleware-reverseproxy"
2539 ,perl-plack-middleware-reverseproxy)
2540 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
2541 ("perl-safe-isa" ,perl-safe-isa)
2542 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2543 ("perl-text-simpletable" ,perl-text-simpletable)
2544 ("perl-tree-simple" ,perl-tree-simple)
2545 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
2546 ("perl-try-tiny" ,perl-try-tiny)
2547 ("perl-uri" ,perl-uri)
2548 ("perl-uri-ws" ,perl-uri-ws)))
2549 (home-page "https://metacpan.org/release/Catalyst-Runtime")
2550 (synopsis "The Catalyst Framework Runtime")
2551 (description "Catalyst is a modern framework for making web applications.
2552 It is designed to make it easy to manage the various tasks you need to do to
2553 run an application on the web, either by doing them itself, or by letting you
2554 \"plug in\" existing Perl modules that do what you need.")
2555 (license license:perl-license)))
2557 (define-public perl-catalyst-traitfor-request-proxybase
2559 (name "perl-catalyst-traitfor-request-proxybase")
2560 (version "0.000005")
2564 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2565 "Catalyst-TraitFor-Request-ProxyBase-"
2569 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
2570 (build-system perl-build-system)
2572 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2573 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
2574 ("perl-http-message" ,perl-http-message)
2575 ("perl-module-install" ,perl-module-install)))
2577 `(("perl-moose" ,perl-moose)
2578 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2579 ("perl-uri" ,perl-uri)))
2581 "https://metacpan.org/release/Catalyst-TraitFor-Request-ProxyBase")
2582 (synopsis "Replace request base with value passed by HTTP proxy")
2583 (description "This module is a Moose::Role which allows you more
2584 flexibility in your application's deployment configurations when deployed
2585 behind a proxy. Using this module, the request base ($c->req->base) is
2586 replaced with the contents of the X-Request-Base header.")
2587 (license license:perl-license)))
2589 (define-public perl-catalyst-view-download
2591 (name "perl-catalyst-view-download")
2596 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
2597 "Catalyst-View-Download-" version ".tar.gz"))
2600 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
2601 (build-system perl-build-system)
2603 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2604 ("perl-module-install" ,perl-module-install)
2605 ("perl-test-simple" ,perl-test-simple)
2606 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
2607 ("perl-text-csv" ,perl-text-csv)
2608 ("perl-xml-simple" ,perl-xml-simple)))
2609 (home-page "https://metacpan.org/release/Catalyst-View-Download")
2610 (synopsis "Download data in many formats")
2611 (description "The purpose of this module is to provide a method for
2612 downloading data into many supportable formats. For example, downloading a
2613 table based report in a variety of formats (CSV, HTML, etc.).")
2614 (license license:perl-license)))
2616 (define-public perl-catalyst-view-json
2618 (name "perl-catalyst-view-json")
2623 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2624 "Catalyst-View-JSON-" version ".tar.gz"))
2627 "1v4xkzazs743sc7cd1kxkbi99cf00a4dadyyancckcbpi9p3znn5"))))
2628 (build-system perl-build-system)
2630 `(("perl-module-install" ,perl-module-install)
2631 ("perl-yaml" ,perl-yaml)))
2633 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2634 ("perl-json-maybexs" ,perl-json-maybexs)
2635 ("perl-mro-compat" ,perl-mro-compat)))
2636 (home-page "https://metacpan.org/release/Catalyst-View-JSON")
2637 (synopsis "Catalyst JSON view")
2638 (description "Catalyst::View::JSON is a Catalyst View handler that returns
2639 stash data in JSON format.")
2640 (license license:perl-license)))
2642 (define-public perl-catalyst-view-tt
2644 (name "perl-catalyst-view-tt")
2649 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2650 "Catalyst-View-TT-" version ".tar.gz"))
2652 (base32 "0jzgpkgq5pwq82zlb0nykdyk40dfpsyn9ilz91d0wpixgi9i5pr8"))))
2653 (build-system perl-build-system)
2655 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2656 ("perl-class-accessor" ,perl-class-accessor)
2657 ("perl-data-dump" ,perl-data-dump)
2658 ("perl-mro-compat" ,perl-mro-compat)
2659 ("perl-path-class" ,perl-path-class)
2660 ("perl-template-timer" ,perl-template-timer)
2661 ("perl-template-toolkit" ,perl-template-toolkit)))
2662 (home-page "https://metacpan.org/release/Catalyst-View-TT")
2663 (synopsis "Template View Class")
2664 (description "This module is a Catalyst view class for the Template
2666 (license license:perl-license)))
2668 (define-public perl-catalystx-component-traits
2670 (name "perl-catalystx-component-traits")
2675 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
2676 "CatalystX-Component-Traits-" version ".tar.gz"))
2679 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
2680 (build-system perl-build-system)
2682 `(("perl-moose" ,perl-moose)
2683 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2684 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
2686 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2687 ("perl-class-load" ,perl-class-load)
2688 ("perl-moose" ,perl-moose)
2689 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
2690 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2691 ("perl-list-moreutils" ,perl-list-moreutils)))
2692 (home-page "https://metacpan.org/release/CatalystX-Component-Traits")
2693 (synopsis "Trait Loading and Resolution for Catalyst Components")
2694 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
2695 Catalyst component base class that reads the optional \"traits\" parameter
2696 from app and component config and instantiates the component subclass with
2697 those traits using \"new_with_traits\" in MooseX::Traits from
2698 MooseX::Traits::Pluggable.")
2699 (license license:perl-license)))
2701 (define-public perl-catalystx-roleapplicator
2703 (name "perl-catalystx-roleapplicator")
2708 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
2709 "CatalystX-RoleApplicator-" version ".tar.gz"))
2712 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
2713 (build-system perl-build-system)
2715 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2716 ("perl-moose" ,perl-moose)
2717 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
2718 (home-page "https://metacpan.org/release/CatalystX-RoleApplicator")
2719 (synopsis "Apply roles to Catalyst classes")
2720 (description "CatalystX::RoleApplicator applies roles to Catalyst
2721 application classes.")
2722 (license license:perl-license)))
2724 (define-public perl-catalystx-script-server-starman
2726 (name "perl-catalystx-script-server-starman")
2731 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
2732 "CatalystX-Script-Server-Starman-"
2736 "08jvibq4v8xjj0c3cr93h0w8w0c88ajwjn37xjy7ygxl9krlffp6"))))
2737 (build-system perl-build-system)
2739 `(("perl-module-install" ,perl-module-install)
2740 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2742 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2743 ("perl-moose" ,perl-moose)
2744 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2745 ("starman" ,starman)))
2746 (home-page "https://metacpan.org/release/CatalystX-Script-Server-Starman")
2747 (synopsis "Catalyst development server with Starman")
2748 (description "This module provides a Catalyst extension to replace the
2749 development server with Starman.")
2750 (license license:perl-license)))
2752 (define-public perl-cgi
2759 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
2760 "CGI-" version ".tar.gz"))
2762 (base32 "02k0p8zwbn0fz9r39rg8jvbmky8fwdg6kznklzk557rg07kiblhb"))))
2763 (build-system perl-build-system)
2765 `(("perl-test-deep" ,perl-test-deep)
2766 ("perl-test-nowarnings" ,perl-test-nowarnings)
2767 ("perl-test-warn" ,perl-test-warn)))
2769 `(("perl-html-parser" ,perl-html-parser)))
2770 (home-page "https://metacpan.org/release/CGI")
2771 (synopsis "Handle Common Gateway Interface requests and responses")
2772 (description "CGI.pm is a stable, complete and mature solution for
2773 processing and preparing HTTP requests and responses. Major features include
2774 processing form submissions, file uploads, reading and writing cookies, query
2775 string generation and manipulation, and processing and preparing HTTP
2777 (license license:perl-license)))
2779 (define-public perl-cgi-formbuilder
2781 (name "perl-cgi-formbuilder")
2787 "https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/"
2788 "CGI-FormBuilder-" version ".tar.gz"))
2791 "163ixq9kninqq094z2rnkg9pv3bcmvjphlww4vksfrzhq3h9pjdf"))))
2792 (build-system perl-build-system)
2793 (inputs `(("perl-cgi" ,perl-cgi)))
2795 "https://metacpan.org/release/CGI-FormBuilder")
2797 "Generate and process stateful forms")
2799 "@code{CGI::FormBuilder} provides an easy way to generate and process CGI
2800 form-based applications.")
2801 (license license:perl-license)))
2803 (define-public perl-cgi-session
2805 (name "perl-cgi-session")
2811 "mirror://cpan/authors/id/M/MA/MARKSTOS/CGI-Session-"
2816 "1xsl2pz1jrh127pq0b01yffnj4mnp9nvkp88h5mndrscq9hn8xa6"))))
2817 (build-system perl-build-system)
2819 `(("perl-module-build" ,perl-module-build)))
2820 (inputs `(("perl-cgi" ,perl-cgi)))
2822 "https://metacpan.org/release/CGI-Session")
2824 "Persistent session data in CGI applications")
2826 "@code{CGI::Session} provides modular session management system across
2828 (license license:perl-license)))
2830 (define-public perl-cgi-simple
2832 (name "perl-cgi-simple")
2837 (uri (string-append "mirror://cpan/authors/id/M/MA/MANWAR/"
2838 "CGI-Simple-" version ".tar.gz"))
2840 (base32 "13c7iwnnavky10ab87pi8jc1kqph03s0rhvj7myn7szhbfisc4gn"))))
2841 (build-system perl-build-system)
2843 `(("perl-io-stringy" ,perl-io-stringy) ; for IO::Scalar
2844 ("perl-module-build" ,perl-module-build)
2845 ("perl-test-exception" ,perl-test-exception)
2846 ("perl-test-nowarnings" ,perl-test-nowarnings)))
2847 (home-page "https://metacpan.org/release/CGI-Simple")
2848 (synopsis "CGI interface that is CGI.pm compliant")
2849 (description "CGI::Simple provides a relatively lightweight drop in
2850 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
2851 parameter parsing, file upload, cookie handling and header generation.")
2852 (license license:perl-license)))
2854 (define-public perl-cgi-struct
2856 (name "perl-cgi-struct")
2861 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
2862 "CGI-Struct-" version ".tar.gz"))
2865 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
2866 (build-system perl-build-system)
2868 `(("perl-test-deep" ,perl-test-deep)))
2869 (home-page "https://metacpan.org/release/CGI-Struct")
2870 (synopsis "Build structures from CGI data")
2871 (description "This is a module for building structured data from CGI
2872 inputs, in a manner reminiscent of how PHP does.")
2873 (license license:bsd-2)))
2875 (define-public perl-datetime-format-http
2877 (name "perl-datetime-format-http")
2882 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
2883 "DateTime-Format-HTTP-" version ".tar.gz"))
2886 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
2887 (build-system perl-build-system)
2889 `(("perl-module-build" ,perl-module-build)))
2891 `(("perl-datetime" ,perl-datetime)
2892 ("perl-http-date" ,perl-http-date)))
2893 (home-page "https://metacpan.org/release/DateTime-Format-HTTP")
2894 (synopsis "Date conversion routines")
2895 (description "This module provides functions that deal with the date
2896 formats used by the HTTP protocol.")
2897 (license license:perl-license)))
2899 (define-public perl-digest-md5-file
2901 (name "perl-digest-md5-file")
2906 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
2907 "Digest-MD5-File-" version ".tar.gz"))
2910 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
2911 (build-system perl-build-system)
2913 `(("perl-libwww" ,perl-libwww)))
2914 (home-page "https://metacpan.org/release/Digest-MD5-File")
2915 (synopsis "MD5 sums for files and urls")
2916 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
2917 for files and urls.")
2918 (license license:perl-license)))
2920 (define-public perl-encode-locale
2922 (name "perl-encode-locale")
2927 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
2931 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
2932 (build-system perl-build-system)
2933 (license license:perl-license)
2934 (synopsis "Perl locale encoding determination")
2936 "The POSIX locale system is used to specify both the language
2937 conventions requested by the user and the preferred character set to
2938 consume and output. The Encode::Locale module looks up the charset and
2939 encoding (called a CODESET in the locale jargon) and arranges for the
2940 Encode module to know this encoding under the name \"locale\". It means
2941 bytes obtained from the environment can be converted to Unicode strings
2942 by calling Encode::encode(locale => $bytes) and converted back again
2943 with Encode::decode(locale => $string).")
2944 (home-page "https://metacpan.org/release/Encode-Locale")))
2946 (define-public perl-feed-find
2948 (name "perl-feed-find")
2952 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
2953 "Feed-Find-" version ".tar.gz"))
2956 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
2957 (build-system perl-build-system)
2959 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
2962 (modify-phases %standard-phases
2963 (add-after 'unpack 'set-env
2964 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
2966 `(("perl-class-errorhandler" ,perl-class-errorhandler)
2967 ("perl-html-parser" ,perl-html-parser)
2968 ("perl-libwww" ,perl-libwww)
2969 ("perl-uri" ,perl-uri)))
2970 (home-page "https://metacpan.org/release/Feed-Find")
2971 (synopsis "Syndication feed auto-discovery")
2972 (description "@code{Feed::Find} implements feed auto-discovery for finding
2973 syndication feeds, given a URI. It will discover the following feed formats:
2974 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
2975 (license license:perl-license)))
2977 (define-public perl-file-listing
2979 (name "perl-file-listing")
2984 "mirror://cpan/authors/id/P/PL/PLICEASE/File-Listing-"
2988 "0vmzw1mhv580flzkla80gvwfpficnhlbqr1dnlf9x50bw7n18k62"))))
2989 (build-system perl-build-system)
2991 `(("perl-http-date" ,perl-http-date)))
2992 (license license:perl-license)
2993 (synopsis "Perl directory listing parser")
2995 "The File::Listing module exports a single function called parse_dir(),
2996 which can be used to parse directory listings.")
2997 (home-page "https://metacpan.org/release/File-Listing")))
2999 (define-public perl-finance-quote
3001 (name "perl-finance-quote")
3006 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
3007 "Finance-Quote-" version ".tar.gz"))
3009 (base32 "0gzbq85738f299jaw4nj3ljnka380j2y6yspmyl71rgfypqjvbr7"))
3010 (patches (search-patches
3011 "perl-finance-quote-unuse-mozilla-ca.patch"))))
3012 (build-system perl-build-system)
3014 `(("perl-cgi" ,perl-cgi)
3015 ("perl-datetime" ,perl-datetime)
3016 ("perl-html-parser" ,perl-html-parser)
3017 ("perl-html-tableextract" ,perl-html-tableextract)
3018 ("perl-html-tree" ,perl-html-tree)
3019 ("perl-http-cookies" ,perl-http-cookies)
3020 ("perl-http-message" ,perl-http-message)
3021 ("perl-json" ,perl-json)
3022 ("perl-libwww" ,perl-libwww)
3023 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
3024 ("perl-uri" ,perl-uri)))
3025 (home-page "https://metacpan.org/release/Finance-Quote")
3026 (synopsis "Stock and mutual fund quotes")
3028 "Finance::Quote gets stock quotes from various internet sources, including
3029 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
3030 (license license:gpl2)))
3032 (define-public perl-gssapi
3034 (name "perl-gssapi")
3039 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
3040 "GSSAPI-" version ".tar.gz"))
3043 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
3044 (build-system perl-build-system)
3045 (inputs `(("gssapi" ,mit-krb5)))
3047 `(#:make-maker-flags
3048 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
3049 (home-page "https://metacpan.org/release/GSSAPI")
3050 (synopsis "Perl extension providing access to the GSSAPIv2 library")
3051 (description "This is a Perl extension for using GSSAPI C bindings as
3052 described in RFC 2744.")
3053 (license license:perl-license)))
3055 (define-public perl-html-element-extended
3057 (name "perl-html-element-extended")
3062 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
3063 "HTML-Element-Extended-" version ".tar.gz"))
3066 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
3067 (build-system perl-build-system)
3069 `(("perl-html-tree" ,perl-html-tree)))
3070 (home-page "https://metacpan.org/release/HTML-Element-Extended")
3071 (synopsis "Manipulate tables of HTML::Element")
3073 "HTML::Element::Extended is a Perl extension for manipulating a table
3074 composed of HTML::Element style components.")
3075 (license license:perl-license)))
3077 (define-public perl-html-form
3079 (name "perl-html-form")
3084 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3085 "HTML-Form-" version ".tar.gz"))
3087 (base32 "14i4ldyvdvhdhvfhh9kiq6z853q2f84biq8vcpv1k5w2r80wdiin"))))
3088 (build-system perl-build-system)
3090 `(("perl-html-parser" ,perl-html-parser)
3091 ("perl-html-tagset" ,perl-html-tagset)
3092 ("perl-http-message" ,perl-http-message)
3093 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
3094 ("perl-uri" ,perl-uri)))
3095 (home-page "https://metacpan.org/release/HTML-Form")
3096 (synopsis "Perl class representing an HTML form element")
3097 (description "Objects of the HTML::Form class represents a single HTML
3098 <form> ... </form> instance.")
3099 (license license:perl-license)))
3101 (define-public perl-html-scrubber
3103 (name "perl-html-scrubber")
3109 "mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
3114 "06p7w4zd42b2yh541mlzyqj40lwmvvn3fyqi8big4mf34la7m2jm"))))
3115 (build-system perl-build-system)
3117 `(("perl-module-build" ,perl-module-build)
3118 ("perl-test-cpan-meta" ,perl-test-cpan-meta)
3119 ("perl-test-differences" ,perl-test-differences)
3120 ("perl-test-eol" ,perl-test-eol)
3121 ("perl-test-memory-cycle" ,perl-test-memory-cycle)
3122 ("perl-test-notabs" ,perl-test-notabs)))
3124 `(("perl-html-parser" ,perl-html-parser)))
3126 "https://metacpan.org/release/HTML-Scrubber")
3128 "Perl extension for scrubbing/sanitizing html")
3130 "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
3131 (license license:perl-license)))
3133 (define-public perl-html-lint
3135 (name "perl-html-lint")
3140 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3141 "HTML-Lint-" version ".tar.gz"))
3143 (base32 "0lk02xpfxcg7ij4dvpsa4wjlzhmiizj0jfr3rwmdpbj69nvc93br"))))
3144 (build-system perl-build-system)
3146 `(("perl-html-parser" ,perl-html-parser)
3147 ("perl-html-tagset" ,perl-html-tagset)
3148 ("perl-libwww" ,perl-libwww)))
3149 (home-page "https://metacpan.org/release/HTML-Lint")
3150 (synopsis "Check for HTML errors in a string or file")
3151 (description "HTML::Lint is a pure-Perl HTML parser and checker for
3152 syntactic legitmacy.")
3153 (license license:artistic2.0)))
3155 (define-public perl-html-tableextract
3157 (name "perl-html-tableextract")
3162 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
3163 "HTML-TableExtract-" version ".tar.gz"))
3166 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
3167 (build-system perl-build-system)
3169 `(("perl-html-element-extended" ,perl-html-element-extended)
3170 ("perl-html-parser" ,perl-html-parser)))
3171 (home-page "https://metacpan.org/release/HTML-TableExtract")
3172 (synopsis "Extract contents from HTML tables")
3174 "HTML::TableExtract is a Perl module for extracting the content contained
3175 in tables within an HTML document, either as text or encoded element trees.")
3176 (license license:perl-license)))
3178 (define-public perl-html-tree
3180 (name "perl-html-tree")
3185 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
3186 "HTML-Tree-" version ".tar.gz"))
3189 "1gyvm4qlwm9y6hczkpnrdfl303ggbybr0nqxdjw09hii8yw4sdzh"))))
3190 (build-system perl-build-system)
3192 `(("perl-module-build" ,perl-module-build)
3193 ("perl-test-fatal" ,perl-test-fatal)))
3195 `(("perl-html-parser" ,perl-html-parser)
3196 ("perl-html-tagset" ,perl-html-tagset)
3197 ("perl-libwww" ,perl-libwww)))
3198 (home-page "https://metacpan.org/release/HTML-Tree")
3199 (synopsis "Work with HTML in a DOM-like tree structure")
3200 (description "This distribution contains a suite of modules for
3201 representing, creating, and extracting information from HTML syntax trees.")
3202 (license license:perl-license)))
3204 (define-public perl-html-parser
3206 (name "perl-html-parser")
3211 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
3215 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
3216 (build-system perl-build-system)
3218 `(("perl-html-tagset" ,perl-html-tagset)
3219 ("perl-http-message" ,perl-http-message)))
3220 (license license:perl-license)
3221 (synopsis "Perl HTML parser class")
3223 "Objects of the HTML::Parser class will recognize markup and separate
3224 it from plain text (alias data content) in HTML documents. As different
3225 kinds of markup and text are recognized, the corresponding event handlers
3227 (home-page "https://metacpan.org/release/HTML-Parser")))
3229 (define-public perl-html-tagset
3231 (name "perl-html-tagset")
3236 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
3240 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
3241 (build-system perl-build-system)
3242 (license license:perl-license)
3243 (synopsis "Perl data tables useful in parsing HTML")
3245 "The HTML::Tagset module contains several data tables useful in various
3246 kinds of HTML parsing operations.")
3247 (home-page "https://metacpan.org/release/HTML-Tagset")))
3249 (define-public perl-html-template
3251 (name "perl-html-template")
3255 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
3256 "HTML-Template-" version ".tar.gz"))
3259 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
3260 (build-system perl-build-system)
3262 `(("perl-cgi" ,perl-cgi)))
3263 (home-page "https://metacpan.org/release/HTML-Template")
3264 (synopsis "HTML-like templates")
3266 "This module attempts to make using HTML templates simple and natural.
3267 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
3268 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
3269 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
3270 these new tags is called a template. Using this module you fill in the values
3271 for the variables, loops and branches declared in the template. This allows
3272 you to separate design from the data.")
3273 (license license:perl-license)))
3275 (define-public perl-http-body
3277 (name "perl-http-body")
3282 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
3283 "HTTP-Body-" version ".tar.gz"))
3286 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
3287 (build-system perl-build-system)
3289 `(("perl-test-deep" ,perl-test-deep)))
3291 `(("perl-file-temp" ,perl-file-temp)
3292 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
3293 (home-page "https://metacpan.org/release/HTTP-Body")
3294 (synopsis "HTTP Body Parser")
3295 (description "HTTP::Body parses chunks of HTTP POST data and supports
3296 application/octet-stream, application/json, application/x-www-form-urlencoded,
3297 and multipart/form-data.")
3298 (license license:perl-license)))
3300 (define-public perl-http-cookiejar
3302 (name "perl-http-cookiejar")
3307 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3308 "HTTP-CookieJar-" version ".tar.gz"))
3310 (base32 "1l7mqsca4fmls7agzwmp6yq1x16y9jwq4114i6i75n654gl37qsn"))))
3311 (build-system perl-build-system)
3313 `(("perl-test-deep" ,perl-test-deep)
3314 ("perl-test-requires" ,perl-test-requires)
3315 ("perl-time-mock" ,perl-time-mock)
3316 ("perl-uri" ,perl-uri)))
3318 `(("perl-time-local" ,perl-time-local)
3319 ("perl-http-date" ,perl-http-date)))
3320 (home-page "https://metacpan.org/release/HTTP-CookieJar")
3321 (synopsis "Minimalist HTTP user agent cookie jar")
3322 (description "This module implements a minimalist HTTP user agent cookie
3323 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
3324 (license license:asl2.0)))
3326 (define-public perl-http-cookies
3328 (name "perl-http-cookies")
3333 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Cookies-"
3337 "13rnz3233vbsfariya4njiyfaj6k94j6bvlyh3dmfmh24hpqgx77"))))
3338 (build-system perl-build-system)
3340 `(("perl-http-message" ,perl-http-message)))
3341 (license license:perl-license)
3342 (synopsis "Perl HTTP cookie jars")
3344 "The HTTP::Cookies class is for objects that represent a cookie jar,
3345 that is, a database of all the HTTP cookies that a given LWP::UserAgent
3346 object knows about.")
3347 (home-page "https://metacpan.org/release/GAAS/HTTP-Cookies-6.01")))
3349 (define-public perl-http-daemon
3351 (name "perl-http-daemon")
3356 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
3360 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
3361 (build-system perl-build-system)
3363 `(("perl-http-message" ,perl-http-message)
3364 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
3365 (license license:perl-license)
3366 (synopsis "Perl simple http server class")
3368 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
3369 on a socket for incoming requests. The HTTP::Daemon is a subclass of
3370 IO::Socket::INET, so you can perform socket operations directly on it too.")
3371 (home-page "https://metacpan.org/release/HTTP-Daemon")))
3373 (define-public perl-http-date
3375 (name "perl-http-date")
3380 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Date-"
3384 "0awjdbz7x0jd5pna55dwxhs3k6xp3sw6b2zg3p2yndxxvya64p9n"))))
3385 (build-system perl-build-system)
3386 (license license:perl-license)
3387 (synopsis "Perl date conversion routines")
3389 "The HTTP::Date module provides functions that deal with date formats
3390 used by the HTTP protocol (and then some more).")
3391 (home-page "https://metacpan.org/release/HTTP-Date")))
3393 (define-public perl-http-lite
3395 (name "perl-http-lite")
3401 "mirror://cpan/authors/id/N/NE/NEILB/HTTP-Lite-"
3405 "0z77nflj8zdcfg70kc93glq5kmd6qxn2nf7h70x4xhfg25wkvr1q"))))
3406 (build-system perl-build-system)
3407 (native-inputs `(("perl-cgi" ,perl-cgi)))
3408 (home-page "https://metacpan.org/release/HTTP-Lite")
3409 (synopsis "Lightweight HTTP implementation")
3410 (description "@code{HTTP::Lite} is a stand-alone lightweight
3411 HTTP/1.1 implementation for perl. It is intended for use in
3412 situations where it is desirable to install the minimal number of
3413 modules to achieve HTTP support. @code{HTTP::Lite} is ideal for
3414 CGI (or mod_perl) programs or for bundling for redistribution with
3415 larger packages where only HTTP GET and POST functionality are
3416 necessary. @code{HTTP::Lite} is compliant with the Host header,
3417 necessary for name based virtual hosting, and supports proxies.
3418 Additionally, @code{HTTP::Lite} supports a callback to allow
3419 processing of request data as it arrives.")
3420 (license license:perl-license)))
3422 (define-public perl-http-message
3424 (name "perl-http-message")
3429 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Message-"
3433 "04lih0fn89jpyk74c4aq1rzq18h8v4zd3x0lik2r9dl8sdqd2q6h"))))
3434 (build-system perl-build-system)
3436 `(("perl-try-tiny" ,perl-try-tiny)))
3438 `(("perl-encode-locale" ,perl-encode-locale)
3439 ("perl-http-date" ,perl-http-date)
3440 ("perl-io-html" ,perl-io-html)
3441 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
3442 ("perl-uri" ,perl-uri)))
3443 (license license:perl-license)
3444 (synopsis "Perl HTTP style message")
3446 "An HTTP::Message object contains some headers and a content body.")
3447 (home-page "https://metacpan.org/release/ETHER/HTTP-Message-6.11")))
3449 (define-public perl-http-negotiate
3451 (name "perl-http-negotiate")
3456 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
3460 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
3461 (build-system perl-build-system)
3463 `(("perl-http-message" ,perl-http-message)))
3464 (license license:perl-license)
3465 (synopsis "Perl http content negotiation")
3467 "The HTTP::Negotiate module provides a complete implementation of the
3468 HTTP content negotiation algorithm specified in
3469 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
3470 the selection of a preferred content representation based upon attributes
3471 of the negotiable variants and the value of the various Accept* header
3472 fields in the request.")
3473 (home-page "https://metacpan.org/release/HTTP-Negotiate")))
3475 (define-public perl-http-parser
3477 (name "perl-http-parser")
3482 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
3483 "HTTP-Parser-" version ".tar.gz"))
3486 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
3487 (build-system perl-build-system)
3489 `(("perl-http-message" ,perl-http-message)
3490 ("perl-uri" ,perl-uri)))
3491 (home-page "https://metacpan.org/release/HTTP-Parser")
3492 (synopsis "Parse HTTP/1.1 requests")
3493 (description "This is an HTTP request parser. It takes chunks of text as
3494 received and returns a @code{hint} as to what is required, or returns the
3495 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
3497 (license license:perl-license)))
3499 (define-public perl-http-parser-xs
3501 (name "perl-http-parser-xs")
3506 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
3507 "HTTP-Parser-XS-" version ".tar.gz"))
3510 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
3511 (build-system perl-build-system)
3513 `(("perl-module-install" ,perl-module-install)))
3514 (home-page "https://metacpan.org/release/HTTP-Parser-XS")
3515 (synopsis "Fast HTTP request parser")
3516 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
3518 (license license:perl-license)))
3520 (define-public perl-http-request-ascgi
3522 (name "perl-http-request-ascgi")
3527 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3528 "HTTP-Request-AsCGI-" version ".tar.gz"))
3531 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
3532 (build-system perl-build-system)
3534 `(("perl-class-accessor" ,perl-class-accessor)
3535 ("perl-http-message" ,perl-http-message)))
3536 (home-page "https://metacpan.org/release/HTTP-Request-AsCGI")
3537 (synopsis "Set up a CGI environment from an HTTP::Request")
3538 (description "This module provides a convenient way to set up a CGI
3539 environment from an HTTP::Request.")
3540 (license license:perl-license)))
3542 (define-public perl-http-server-simple
3544 (name "perl-http-server-simple")
3549 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
3550 "HTTP-Server-Simple-" version ".tar.gz"))
3553 "0k6bg7k6mjixfzxdkkdrhqvaqmdhjszx0zsk8g0bimiby6j9z4yq"))))
3554 (build-system perl-build-system)
3556 `(("perl-cgi" ,perl-cgi)))
3558 ;; See the discussion of a related tests issue at
3559 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
3562 #:phases (modify-phases %standard-phases
3563 (add-before 'configure 'set-search-path
3565 ;; Work around "dotless @INC" build failure.
3567 (string-append (getcwd) ":"
3568 (getenv "PERL5LIB")))
3570 (home-page "https://metacpan.org/release/HTTP-Server-Simple")
3571 (synopsis "Lightweight HTTP server")
3572 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
3573 no non-core module dependencies. It can be used for building a standalone
3574 http-based UI to your existing tools.")
3575 (license license:perl-license)))
3577 (define-public perl-http-tiny
3579 (name "perl-http-tiny")
3584 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3585 "HTTP-Tiny-" version ".tar.gz"))
3588 "11wkxxqj3ff84rgj9q2gzkdgscwp3fzj205846k9ycqinlpsmgfx"))))
3589 (build-system perl-build-system)
3591 `(("perl-http-cookiejar" ,perl-http-cookiejar)
3592 ("perl-io-socket-ip" ,perl-io-socket-ip)
3593 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
3594 ("perl-mozilla-ca" ,perl-mozilla-ca)
3595 ("perl-net-ssleay" ,perl-net-ssleay)))
3596 (home-page "https://metacpan.org/release/HTTP-Tiny")
3597 (synopsis "HTTP/1.1 client")
3598 (description "This is a very simple HTTP/1.1 client, designed for doing
3599 simple requests without the overhead of a large framework like LWP::UserAgent.
3600 It supports proxies and redirection. It also correctly resumes after EINTR.")
3601 (license license:perl-license)))
3603 (define-public perl-http-tinyish
3605 (name "perl-http-tinyish")
3611 "mirror://cpan/authors/id/M/MI/MIYAGAWA/HTTP-Tinyish-"
3616 "199sa722amvwhq0czjfb7psj3hbqmvni5vxkrm579r5943pg0rax"))))
3617 (build-system perl-build-system)
3619 `(("perl-file-which" ,perl-file-which)
3620 ("perl-ipc-run3" ,perl-ipc-run3)))
3621 (home-page "https://metacpan.org/release/HTTP-Tinyish")
3622 (synopsis "@code{HTTP::Tiny} compatible HTTP client wrappers")
3624 "@code{HTTP::Tinyish} is a wrapper module for @acronym{LWP,libwww-perl},
3625 @code{HTTP::Tiny}, curl and wget.
3627 It provides an API compatible to HTTP::Tiny.")
3628 (license license:perl-license)))
3630 (define-public perl-io-html
3632 (name "perl-io-html")
3637 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
3641 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
3642 (build-system perl-build-system)
3643 (license license:perl-license)
3644 (synopsis "Perl module to open an HTML file with automatic charset detection")
3646 "IO::HTML provides an easy way to open a file containing HTML while
3647 automatically determining its encoding. It uses the HTML5 encoding sniffing
3648 algorithm specified in section 8.2.2.1 of the draft standard.")
3649 (home-page "https://metacpan.org/release/IO-HTML")))
3651 (define-public perl-io-socket-ip
3653 (name "perl-io-socket-ip")
3658 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
3659 "IO-Socket-IP-" version ".tar.gz"))
3661 (base32 "0ihlpxrkq1xrvhnq52nhghanskic718ch8kpp642afgq72i4b6l4"))))
3662 (build-system perl-build-system)
3663 (native-inputs `(("perl-module-build" ,perl-module-build)))
3664 (home-page "https://metacpan.org/release/IO-Socket-IP")
3665 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
3666 (description "This module provides a protocol-independent way to use IPv4
3667 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
3668 (license license:perl-license)))
3670 (define-public perl-io-socket-ssl
3672 (name "perl-io-socket-ssl")
3676 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
3677 "IO-Socket-SSL-" version ".tar.gz"))
3680 "1kgbws7dwp2hh16qid7169dfkhmcwg7dz9ffbm6k0id5h53hciqd"))
3681 (patches (search-patches
3682 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
3683 (build-system perl-build-system)
3685 `(("perl-net-ssleay" ,perl-net-ssleay)
3687 ("perl-uri" ,perl-uri)))
3688 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
3690 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
3691 necessary functionality into the familiar IO::Socket interface and providing
3692 secure defaults whenever possible. This way existing applications can be made
3693 SSL-aware without much effort, at least if you do blocking I/O and don't use
3695 (license license:perl-license)
3696 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
3698 (define-public perl-libwww
3700 (name "perl-libwww")
3705 "mirror://cpan/authors/id/O/OA/OALDERS/libwww-perl-"
3709 "19k0cg4j4qz005a4ngy48z4r8dc99dxlpq8kvj7qnk15mvgd1r63"))))
3710 (build-system perl-build-system)
3712 `(("perl-test-fatal" ,perl-test-fatal)
3713 ("perl-test-needs" ,perl-test-needs)
3714 ("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3716 `(("perl-encode-locale" ,perl-encode-locale)
3717 ("perl-file-listing" ,perl-file-listing)
3718 ("perl-html-parser" ,perl-html-parser)
3719 ("perl-http-cookies" ,perl-http-cookies)
3720 ("perl-http-daemon" ,perl-http-daemon)
3721 ("perl-http-date" ,perl-http-date)
3722 ("perl-http-message" ,perl-http-message)
3723 ("perl-http-negotiate" ,perl-http-negotiate)
3724 ("perl-net-http" ,perl-net-http)
3725 ("perl-try-tiny" ,perl-try-tiny)
3726 ("perl-uri" ,perl-uri)
3727 ("perl-www-robotrules" ,perl-www-robotrules)))
3728 (license license:perl-license)
3729 (synopsis "Perl modules for the WWW")
3731 "The libwww-perl collection is a set of Perl modules which provides a
3732 simple and consistent application programming interface to the
3733 World-Wide Web. The main focus of the library is to provide classes
3734 and functions that allow you to write WWW clients. The library also
3735 contains modules that are of more general use and even classes that
3736 help you implement simple HTTP servers.")
3737 (home-page "https://metacpan.org/release/libwww-perl")))
3739 (define-public perl-lwp-online
3741 (name "perl-lwp-online")
3747 "mirror://cpan/authors/id/A/AD/ADAMK/LWP-Online-"
3751 "176f6vbk1018i0y7xj9d406ndbjgwzan2j9nihxnsahzg2vr2vz2"))))
3752 (build-system perl-build-system)
3754 `(("perl-libwww" ,perl-libwww)
3755 ("perl-uri" ,perl-uri)))
3757 `(("perl-module-install" ,perl-module-install)))
3758 (home-page "https://metacpan.org/release/LWP-Online")
3759 (synopsis "Checks whether your process has access to the web")
3760 (description "This module attempts to answer, as accurately as it can, one
3761 of the nastiest technical questions there is: am I on the internet?
3763 A host of networking and security issues make this problem very difficult.
3764 There are firewalls, proxies (both well behaved and badly behaved). We might
3765 not have DNS. We might not have a network card at all!")
3766 (license license:perl-license)))
3768 (define-public perl-lwp-mediatypes
3770 (name "perl-lwp-mediatypes")
3775 "mirror://cpan/authors/id/O/OA/OALDERS/LWP-MediaTypes-"
3779 "1n8rg6csv3dsvymg06cmxipimr6cb1g9r903ghm1qsmiv89cl6wg"))))
3780 (build-system perl-build-system)
3782 `(("perl-test-fatal" ,perl-test-fatal)))
3783 (license license:perl-license)
3784 (synopsis "Perl module to guess the media type for a file or a URL")
3786 "The LWP::MediaTypes module provides functions for handling media (also
3787 known as MIME) types and encodings. The mapping from file extensions to
3788 media types is defined by the media.types file. If the ~/.media.types file
3789 exists it is used instead.")
3790 (home-page "https://metacpan.org/release/LWP-MediaTypes")))
3792 (define-public perl-lwp-protocol-https
3794 (name "perl-lwp-protocol-https")
3799 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3800 "LWP-Protocol-https-" version ".tar.gz"))
3802 (base32 "14pm785cgyrnppks6ccasb2vkqifh0a8fz36nmnhc2v926jy3kqn"))))
3803 (build-system perl-build-system)
3806 `(("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3808 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3809 ("perl-libwww" ,perl-libwww)
3810 ;; Users should instead make sure SSL_ca_path is set properly.
3811 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3812 ("perl-net-http" ,perl-net-http)))
3813 (home-page "https://metacpan.org/release/LWP-Protocol-https")
3814 (synopsis "HTTPS support for LWP::UserAgent")
3815 (description "The LWP::Protocol::https module provides support for using
3816 https schemed URLs with LWP.")
3817 (license license:perl-license)))
3819 (define-public perl-lwp-useragent-cached
3821 (name "perl-lwp-useragent-cached")
3826 (uri (string-append "mirror://cpan/authors/id/O/OL/OLEG/"
3827 "LWP-UserAgent-Cached-" version ".tar.gz"))
3830 "1hw7wy7f82kl61xjwkgmhv1ixgg56dhgfr45wxn6ahc0qys5mkix"))))
3831 (build-system perl-build-system)
3833 `(("perl-libwww" ,perl-libwww)))
3834 (home-page "https://metacpan.org/release/LWP-UserAgent-Cached")
3835 (synopsis "Simple caching for LWP::UserAgent")
3836 (description "LWP::UserAgent::Cached is an LWP::UserAgent subclass with
3837 cache support. It returns responses from the local file system, if available,
3838 instead of making an HTTP request.")
3839 (license license:perl-license)))
3841 (define-public perl-lwp-useragent-determined
3843 (name "perl-lwp-useragent-determined")
3848 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
3849 "LWP-UserAgent-Determined-" version ".tar.gz"))
3852 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
3853 (build-system perl-build-system)
3855 `(("perl-libwww" ,perl-libwww)))
3856 (home-page "https://metacpan.org/release/LWP-UserAgent-Determined")
3857 (synopsis "Virtual browser that retries errors")
3858 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
3859 except that when you use it to get a web page but run into a
3860 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
3861 and retry a few times.")
3862 (license license:perl-license)))
3864 (define-public perl-lwpx-paranoidagent
3866 (name "perl-lwpx-paranoidagent")
3872 "mirror://cpan/authors/id/S/SA/SAXJAZMAN/lwp/LWPx-ParanoidAgent-"
3876 "0gfhw3jbs25yya2dryv8xvyn9myngcfcmsybj7gkq62fnznil16c"))))
3877 (build-system perl-build-system)
3879 `(("perl-libwww" ,perl-libwww)
3880 ;; Users should instead make sure SSL_ca_path is set properly.
3881 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3882 ("perl-net-dns" ,perl-net-dns)))
3883 (home-page "https://metacpan.org/release/LWPx-ParanoidAgent")
3884 (synopsis "Security enhanced subclass of LWP::UserAgent")
3885 (description "@code{LWPx::ParanoidAgent} is a class subclassing
3886 @code{LWP::UserAgent} but paranoid against attackers. Its purpose is
3887 to vet requests for a remote resource on behalf of a possibly
3888 malicious user. The class can do the same as @code{LWP::UserAgent},
3889 except that proxy support has been removed. Support for URI schemes
3890 is limited to http and https.")
3891 (license license:perl-license)))
3893 (define-public perl-net-amazon-s3
3895 (name "perl-net-amazon-s3")
3900 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
3901 "Net-Amazon-S3-" version ".tar.gz"))
3904 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
3905 (patches (search-patches
3906 "perl-net-amazon-s3-moose-warning.patch"))))
3907 (build-system perl-build-system)
3909 `(("perl-libwww" ,perl-libwww)
3910 ("perl-test-exception" ,perl-test-exception)))
3912 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
3913 ("perl-datetime-format-http" ,perl-datetime-format-http)
3914 ("perl-digest-hmac" ,perl-digest-hmac)
3915 ("perl-digest-md5-file" ,perl-digest-md5-file)
3916 ("perl-file-find-rule" ,perl-file-find-rule)
3917 ("perl-http-date" ,perl-http-date)
3918 ("perl-http-message" ,perl-http-message)
3919 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
3920 ("perl-mime-types" ,perl-mime-types)
3921 ("perl-moose" ,perl-moose)
3922 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
3923 ("perl-moosex-types-datetime-morecoercions"
3924 ,perl-moosex-types-datetime-morecoercions)
3925 ("perl-path-class" ,perl-path-class)
3926 ("perl-regexp-common" ,perl-regexp-common)
3927 ("perl-term-encoding" ,perl-term-encoding)
3928 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
3929 ("perl-uri" ,perl-uri)
3930 ("perl-xml-libxml" ,perl-xml-libxml)))
3931 (home-page "https://metacpan.org/release/Net-Amazon-S3")
3932 (synopsis "Perl interface to Amazon S3")
3933 (description "This module provides a Perlish interface to Amazon S3.")
3934 (license license:perl-license)))
3936 (define-public perl-net-http
3938 (name "perl-net-http")
3943 "mirror://cpan/authors/id/O/OA/OALDERS/"
3944 "Net-HTTP-" version ".tar.gz"))
3947 "1i1gbcwdzx74whn5vn6xbr2cp7frldfz2rfrcjp2qljr770nxdsj"))))
3948 (build-system perl-build-system)
3950 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3951 ("perl-uri" ,perl-uri)))
3952 (license license:perl-license)
3953 (synopsis "Perl low-level HTTP connection (client)")
3955 "The Net::HTTP class is a low-level HTTP client. An instance of the
3956 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
3957 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
3959 (home-page "https://metacpan.org/release/Net-HTTP")))
3961 (define-public perl-net-server
3963 (name "perl-net-server")
3968 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
3969 "Net-Server-" version ".tar.gz"))
3972 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
3973 (build-system perl-build-system)
3974 (home-page "https://metacpan.org/release/Net-Server")
3975 (synopsis "Extensible Perl server engine")
3976 (description "Net::Server is an extensible, generic Perl server engine.
3977 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
3978 It includes with it the ability to run as an inetd
3979 process (Net::Server::INET), a single connection server (Net::Server or
3980 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
3981 server which maintains a constant number of preforked
3982 children (Net::Server::PreForkSimple), or as a managed preforking server which
3983 maintains the number of children based on server load (Net::Server::PreFork).
3984 In all but the inetd type, the server provides the ability to connect to one
3985 or to multiple server ports.")
3986 (license license:perl-license)))
3988 (define-public perl-net-smtp-ssl
3990 (name "perl-net-smtp-ssl")
3995 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
3996 "Net-SMTP-SSL-" version ".tar.gz"))
3999 "001a6dcfahf7kkyirqkc8jd4fh4fkal7n7vm9c4dblqrvmdc8abv"))))
4000 (build-system perl-build-system)
4002 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
4003 (home-page "https://metacpan.org/release/Net-SMTP-SSL")
4004 (synopsis "SSL support for Net::SMTP")
4005 (description "SSL support for Net::SMTP.")
4006 (license license:perl-license)))
4008 (define-public perl-plack
4015 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4016 "Plack-" version ".tar.gz"))
4019 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
4020 (build-system perl-build-system)
4022 `(("perl-test-requires" ,perl-test-requires)
4023 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
4025 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
4026 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
4027 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
4028 ("perl-file-sharedir" ,perl-file-sharedir)
4029 ("perl-hash-multivalue" ,perl-hash-multivalue)
4030 ("perl-http-body" ,perl-http-body)
4031 ("perl-http-message" ,perl-http-message)
4032 ("perl-http-tiny" ,perl-http-tiny)
4033 ("perl-libwww" ,perl-libwww)
4034 ("perl-stream-buffered" ,perl-stream-buffered)
4035 ("perl-test-tcp" ,perl-test-tcp)
4036 ("perl-try-tiny" ,perl-try-tiny)
4037 ("perl-uri" ,perl-uri)))
4038 (home-page "https://metacpan.org/release/Plack")
4039 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
4040 (description "Plack is a set of tools for using the PSGI stack. It
4041 contains middleware components, a reference server, and utilities for Web
4042 application frameworks. Plack is like Ruby's Rack or Python's Paste for
4044 (license license:perl-license)))
4046 (define-public perl-plack-middleware-deflater
4048 (name "perl-plack-middleware-deflater")
4054 "mirror://cpan/authors/id/K/KA/KAZEBURO/"
4055 "Plack-Middleware-Deflater-" version ".tar.gz"))
4058 "0xf2visi16hgwgyp9q0cjr10ikbn474hjia5mj8mb2scvbkrbni8"))))
4059 (build-system perl-build-system)
4061 `(("perl-module-install" ,perl-module-install)
4062 ("perl-test-requires" ,perl-test-requires)))
4064 `(("perl-plack" ,perl-plack)))
4065 (home-page "https://metacpan.org/release/Plack-Middleware-Deflater")
4066 (synopsis "Compress response body with Gzip or Deflate")
4068 "Plack::Middleware::Deflater is a middleware to encode your response body
4069 in gzip or deflate, based on \"Accept-Encoding\" HTTP request header. It
4070 would save the bandwidth a little bit but should increase the Plack server
4071 load, so ideally you should handle this on the frontend reverse proxy
4073 (license license:perl-license)))
4075 (define-public perl-plack-middleware-fixmissingbodyinredirect
4077 (name "perl-plack-middleware-fixmissingbodyinredirect")
4082 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
4083 "Plack-Middleware-FixMissingBodyInRedirect-"
4087 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
4088 (build-system perl-build-system)
4090 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
4091 ("perl-http-message" ,perl-http-message)
4092 ("perl-plack" ,perl-plack))) ;for Plack::Test
4094 "https://metacpan.org/release/Plack-Middleware-FixMissingBodyInRedirect")
4095 (synopsis "Plack::Middleware which sets body for redirect response")
4096 (description "This module sets the body in redirect response, if it's not
4098 (license license:perl-license)))
4100 (define-public perl-plack-middleware-methodoverride
4102 (name "perl-plack-middleware-methodoverride")
4107 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4108 "Plack-Middleware-MethodOverride-"
4111 (base32 "1wdmmav3rbhv49zpw311zrxxqmg1fz3f3q9src0ypgs8zcp5myyv"))))
4112 (build-system perl-build-system)
4114 `(("perl-module-build" ,perl-module-build)))
4116 `(("perl-plack" ,perl-plack)))
4117 (home-page "https://metacpan.org/release/Plack-Middleware-MethodOverride")
4118 (synopsis "Override REST methods to Plack apps via POST")
4119 (description "This middleware allows for POST requests that pretend to be
4120 something else: by adding either a header named X-HTTP-Method-Override to the
4121 request, or a query parameter named x-tunneled-method to the URI, the client
4122 can say what method it actually meant.")
4123 (license license:perl-license)))
4125 (define-public perl-plack-middleware-removeredundantbody
4127 (name "perl-plack-middleware-removeredundantbody")
4132 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
4133 "Plack-Middleware-RemoveRedundantBody-"
4136 (base32 "1hz3kgb5vw4r02gfk9i911f5ykvz55lrsx45bdcllk2bszal3f34"))))
4137 (build-system perl-build-system)
4139 `(("perl-plack" ,perl-plack)))
4141 "https://metacpan.org/release/Plack-Middleware-RemoveRedundantBody")
4142 (synopsis "Plack::Middleware which removes body for HTTP response")
4143 (description "This module removes the body in an HTTP response if it's not
4145 (license license:perl-license)))
4147 (define-public perl-plack-middleware-reverseproxy
4149 (name "perl-plack-middleware-reverseproxy")
4154 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4155 "Plack-Middleware-ReverseProxy-"
4158 (base32 "0a512n62pnk5ayj3zdzyj50iy1qi8nwh6ygks2h7nrh7gp9k2jc7"))))
4159 (build-system perl-build-system)
4161 `(("perl-module-install" ,perl-module-install)))
4163 `(("perl-plack" ,perl-plack)))
4164 (home-page "https://metacpan.org/release/Plack-Middleware-ReverseProxy")
4165 (synopsis "Supports app to run as a reverse proxy backend")
4166 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
4167 which are changed by reverse-proxy. You can specify the reverse proxy address
4168 and stop fake requests using @code{enable_if} directive in your app.psgi.")
4169 (license license:perl-license)))
4171 (define-public perl-plack-test-externalserver
4173 (name "perl-plack-test-externalserver")
4178 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
4179 "Plack-Test-ExternalServer-" version ".tar.gz"))
4181 (base32 "1l1yj1l25679x7cbpd27ii7s1f1ajpkspif9xqnl21hczrbmrbsv"))))
4182 (build-system perl-build-system)
4184 `(("perl-plack" ,perl-plack)))
4185 (home-page "https://metacpan.org/release/Plack-Test-ExternalServer")
4186 (synopsis "Run HTTP tests on external live servers")
4187 (description "This module allows your to run your Plack::Test tests
4188 against an external server instead of just against a local application through
4189 either mocked HTTP or a locally spawned server.")
4190 (license license:perl-license)))
4192 (define-public perl-test-tcp
4194 (name "perl-test-tcp")
4199 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4200 "Test-TCP-" version ".tar.gz"))
4202 (base32 "0mvv9rqwrwlcfh8qrs0s47p85rhlnw15d4gbpyi802bddp0c6lry"))))
4203 (build-system perl-build-system)
4205 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
4206 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
4207 (home-page "https://metacpan.org/release/Test-TCP")
4208 (synopsis "Testing TCP programs")
4209 (description "Test::TCP is test utilities for TCP/IP programs.")
4210 (license license:perl-license)))
4212 (define-public perl-test-www-mechanize
4214 (name "perl-test-www-mechanize")
4219 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
4220 "Test-WWW-Mechanize-" version ".tar.gz"))
4222 (base32 "1jsywlbxhqw39ij7s8vmgff5vys58vlfaq27072awacnxc65aal4"))))
4223 (build-system perl-build-system)
4225 `(("perl-carp-assert-more" ,perl-carp-assert-more)
4226 ("perl-html-form" ,perl-html-form)
4227 ("perl-html-lint" ,perl-html-lint)
4228 ("perl-http-server-simple" ,perl-http-server-simple)
4229 ("perl-libwww" ,perl-libwww)
4230 ("perl-test-longstring" ,perl-test-longstring)
4231 ("perl-www-mechanize" ,perl-www-mechanize)))
4232 (home-page "https://metacpan.org/release/Test-WWW-Mechanize")
4233 (synopsis "Testing-specific WWW::Mechanize subclass")
4234 (description "Test::WWW::Mechanize is a subclass of the Perl module
4235 WWW::Mechanize that incorporates features for web application testing.")
4236 (license license:artistic2.0)))
4238 (define-public perl-test-www-mechanize-catalyst
4240 (name "perl-test-www-mechanize-catalyst")
4245 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
4246 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
4248 (base32 "1cdc2q16vs6fb335pzaislz2rx1ph9acaxyp7v5hv9xbwwddwfqq"))))
4249 (build-system perl-build-system)
4251 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
4252 ("perl-catalyst-plugin-session-state-cookie"
4253 ,perl-catalyst-plugin-session-state-cookie)
4254 ("perl-module-install" ,perl-module-install)
4255 ("perl-test-exception" ,perl-test-exception)
4256 ("perl-test-pod" ,perl-test-pod)
4257 ("perl-test-utf8" ,perl-test-utf8)))
4259 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
4260 ("perl-class-load" ,perl-class-load)
4261 ("perl-libwww" ,perl-libwww)
4262 ("perl-moose" ,perl-moose)
4263 ("perl-namespace-clean" ,perl-namespace-clean)
4264 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
4265 ("perl-www-mechanize" ,perl-www-mechanize)))
4266 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-Catalyst")
4267 (synopsis "Test::WWW::Mechanize for Catalyst")
4268 (description "The Test::WWW::Mechanize::Catalyst module meshes the
4269 Test::WWW:Mechanize module and the Catalyst web application framework to allow
4270 testing of Catalyst applications without needing to start up a web server.")
4271 (license license:perl-license)))
4273 (define-public perl-test-www-mechanize-psgi
4275 (name "perl-test-www-mechanize-psgi")
4280 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4281 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
4284 "0fsh2i05kf1kfavv2r9kmnjl7qlyqrd11ikc0qcqzzxsqzzjkg9r"))))
4285 (build-system perl-build-system)
4287 `(("perl-test-pod" ,perl-test-pod)))
4289 `(("perl-plack" ,perl-plack)
4290 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
4291 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-PSGI")
4292 (synopsis "Test PSGI programs using WWW::Mechanize")
4293 (description "PSGI is a specification to decouple web server environments
4294 from web application framework code. Test::WWW::Mechanize is a subclass of
4295 WWW::Mechanize that incorporates features for web application testing. The
4296 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
4298 (license license:perl-license)))
4300 (define-public perl-uri
4306 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4307 "URI-" version ".tar.gz"))
4310 "0gj1aj18k43kmzc3y1zhj5giinf8rksacf757r475xfna0fqxjdj"))))
4311 (build-system perl-build-system)
4314 `(("perl-test-needs" ,perl-test-needs)))
4315 (license license:perl-license)
4316 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
4318 "The URI module implements the URI class. Objects of this class
4319 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
4320 and updated by RFC 2732.")
4321 (home-page "https://metacpan.org/release/URI")))
4323 (define-public perl-uri-fetch
4325 (name "perl-uri-fetch")
4329 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
4330 "URI-Fetch-" version ".tar.gz"))
4333 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
4334 (build-system perl-build-system)
4336 `(#:tests? #f)) ; Tests require internet connection to succeed
4338 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4339 ("perl-libwww" ,perl-libwww)
4340 ("perl-uri" ,perl-uri)))
4341 (home-page "https://metacpan.org/release/URI-Fetch")
4342 (synopsis "Smart URI fetching/caching")
4343 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
4344 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
4345 and time-saving way.")
4346 (license license:perl-license)))
4348 (define-public perl-uri-find
4350 (name "perl-uri-find")
4351 (version "20160806")
4355 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
4356 "URI-Find-" version ".tar.gz"))
4359 "1mk3jv8x0mcq3ajrn9garnxd0jc7sw4pkwqi88r5apqvlljs84z2"))))
4360 (build-system perl-build-system)
4362 `(("perl-module-build" ,perl-module-build)))
4364 `(("perl-uri" ,perl-uri)))
4365 (home-page "https://metacpan.org/release/URI-Find")
4366 (synopsis "Find URIs in arbitrary text")
4367 (description "This module finds URIs and URLs (according to what URI.pm
4368 considers a URI) in plain text. It only finds URIs which include a
4369 scheme (http:// or the like), for something a bit less strict, consider
4370 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
4371 (license license:perl-license)))
4373 (define-public perl-uri-ws
4375 (name "perl-uri-ws")
4380 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
4381 "URI-ws-" version ".tar.gz"))
4384 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
4385 (build-system perl-build-system)
4387 `(("perl-uri" ,perl-uri)))
4388 (home-page "https://metacpan.org/release/URI-ws")
4389 (synopsis "WebSocket support for URI package")
4390 (description "With this module, the URI package provides the same set of
4391 methods for WebSocket URIs as it does for HTTP URIs.")
4392 (license license:perl-license)))
4394 (define-public perl-uri-template
4396 (name "perl-uri-template")
4400 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
4404 "1phibcmam2hklrddzj79l43va1gcqpyszbw21ynxq53ynmhjvbk8"))))
4405 (build-system perl-build-system)
4407 `(("perl-uri" ,perl-uri)))
4409 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
4410 ("perl-test-pod" ,perl-test-pod)
4411 ("perl-module-install" ,perl-module-install)
4412 ("perl-json" ,perl-json)))
4413 (home-page "https://metacpan.org/release/URI-Template")
4414 (synopsis "Object for handling URI templates")
4415 (description "This perl module provides a wrapper around URI templates as described in
4417 (license license:perl-license)))
4419 (define-public perl-www-curl
4421 (name "perl-www-curl")
4426 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
4428 (patches (search-patches "perl-www-curl-fix-struct-void.patch"
4429 "perl-www-curl-remove-symbol.patch"))
4432 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
4433 (build-system perl-build-system)
4435 '(#:tests? #f ;XXX: tests require network access
4436 #:phases (modify-phases %standard-phases
4437 (add-before 'configure 'set-search-path
4439 ;; Work around "dotless @INC" build failure.
4441 (string-append (getcwd) ":"
4442 (getenv "PERL5LIB")))
4445 `(("perl-module-install" ,perl-module-install)))
4446 (inputs `(("curl" ,curl)))
4447 (synopsis "Perl extension interface for libcurl")
4449 "This is a Perl extension interface for the libcurl file downloading
4451 (license license:perl-license)
4452 (home-page "https://metacpan.org/release/WWW-Curl")))
4454 (define-public perl-www-mechanize
4456 (name "perl-www-mechanize")
4461 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4462 "WWW-Mechanize-" version ".tar.gz"))
4464 (base32 "0cb14m1vhaf0mgn2fqwi5hm72xhfi77hpq2g57swgy0w83x7m27b"))))
4465 (build-system perl-build-system)
4466 (native-inputs ;only for tests
4467 `(("perl-cgi" ,perl-cgi)
4468 ("perl-test-deep" ,perl-test-deep)
4469 ("perl-test-fatal" ,perl-test-fatal)
4470 ("perl-test-output" ,perl-test-output)
4471 ("perl-test-warnings" ,perl-test-warnings)))
4473 `(("perl-html-form" ,perl-html-form)
4474 ("perl-html-parser" ,perl-html-parser)
4475 ("perl-html-tree" ,perl-html-tree)
4476 ("perl-http-message" ,perl-http-message)
4477 ("perl-http-server-simple" ,perl-http-server-simple)
4478 ("perl-libwww" ,perl-libwww)
4479 ("perl-test-warn" ,perl-test-warn)
4480 ("perl-uri" ,perl-uri)))
4481 (home-page "https://metacpan.org/release/WWW-Mechanize")
4482 (synopsis "Web browsing in a Perl object")
4483 (description "WWW::Mechanize is a Perl module for stateful programmatic
4484 web browsing, used for automating interaction with websites.")
4485 (license license:perl-license)))
4487 (define-public perl-www-opensearch
4489 (name "perl-www-opensearch")
4493 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
4494 "WWW-OpenSearch-" version ".tar.gz"))
4497 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
4498 (build-system perl-build-system)
4500 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4501 ("perl-datetime" ,perl-datetime)
4502 ("perl-datetime-format-mail" ,perl-datetime-format-mail)
4503 ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
4504 ("perl-feed-find" ,perl-feed-find)
4505 ("perl-module-install" ,perl-module-install)
4506 ("perl-module-pluggable" ,perl-module-pluggable)
4507 ("perl-uri-fetch" ,perl-uri-fetch)
4508 ("perl-test-simple" ,perl-test-simple)
4509 ("perl-xml-atom" ,perl-xml-atom)
4510 ("perl-xml-rss" ,perl-xml-rss)))
4512 `(("perl-data-page" ,perl-data-page)
4513 ("perl-libwww" ,perl-libwww)
4514 ("perl-uri" ,perl-uri)
4515 ("perl-uri-template" ,perl-uri-template)
4516 ("perl-xml-feed" ,perl-xml-feed)
4517 ("perl-xml-libxml" ,perl-xml-libxml)))
4518 (home-page "https://metacpan.org/release/WWW-OpenSearch")
4519 (synopsis "Search A9 OpenSearch compatible engines")
4521 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
4522 http://opensearch.a9.com} compatible search engines.")
4523 (license license:perl-license)))
4525 (define-public perl-www-robotrules
4527 (name "perl-www-robotrules")
4532 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
4536 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
4537 (build-system perl-build-system)
4539 `(("perl-uri" ,perl-uri)))
4540 (license license:perl-license)
4541 (synopsis "Perl database of robots.txt-derived permissions")
4543 "The WWW::RobotRules module parses /robots.txt files as specified in
4544 \"A Standard for Robot Exclusion\", at
4545 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
4546 /robots.txt file to forbid conforming robots from accessing parts of
4548 (home-page "https://metacpan.org/release/WWW-RobotRules")))
4550 (define-public python-feedparser
4552 (name "python-feedparser")
4557 (uri (pypi-uri "feedparser" version ".tar.bz2"))
4560 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
4561 (build-system python-build-system)
4565 "https://github.com/kurtmckee/feedparser")
4566 (synopsis "Parse feeds in Python")
4568 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
4569 CDF, Atom 0.3, and Atom 1.0 feeds.")
4570 (license (list license:bsd-2 ; source code
4571 license:freebsd-doc)))) ; documentation
4573 (define-public python2-feedparser
4574 (package-with-python2 python-feedparser))
4576 (define-public guix-data-service
4577 (let ((commit "c596a1c6a90bb2fe07da5339b8dc832b81d94194")
4580 (name "guix-data-service")
4581 (version (string-append "0.0.1-" revision "." (string-take commit 7)))
4585 (url "https://git.savannah.gnu.org/git/guix/data-service.git")
4587 (file-name (git-file-name name version))
4590 "09gn2imhh3aqkzray0xgkz7slriy567inh5lpkxm74bgmx862g3g"))))
4591 (build-system gnu-build-system)
4593 '(#:modules ((guix build utils)
4594 (guix build gnu-build-system)
4599 #:test-target "check-with-tmp-database"
4601 (modify-phases %standard-phases
4602 (add-before 'build 'set-GUILE_AUTO_COMPILE
4604 ;; To avoid warnings relating to 'guild'.
4605 (setenv "GUILE_AUTO_COMPILE" "0")
4607 (add-after 'install 'wrap-executable
4608 (lambda* (#:key inputs outputs #:allow-other-keys)
4609 (let* ((out (assoc-ref outputs "out"))
4610 (bin (string-append out "/bin"))
4611 (guile (assoc-ref inputs "guile"))
4612 (guile-effective-version
4614 (open-pipe* OPEN_READ
4615 (string-append guile "/bin/guile")
4616 "-c" "(display (effective-version))")))
4617 (scm (string-append out "/share/guile/site/"
4618 guile-effective-version))
4619 (go (string-append out "/lib/guile/"
4620 guile-effective-version
4624 (simple-format (current-error-port)
4626 (string-append bin "/" file))
4627 (wrap-program (string-append bin "/" file)
4631 (map (lambda (input)
4633 (assoc-ref inputs input)
4638 `("GUILE_LOAD_PATH" ":" prefix
4639 (,scm ,(getenv "GUILE_LOAD_PATH")))
4640 `("GUILE_LOAD_COMPILED_PATH" ":" prefix
4641 (,go ,(getenv "GUILE_LOAD_COMPILED_PATH")))))
4647 (delete 'strip)))) ; As the .go files aren't compatible
4649 `(("guix" ,guile3.0-guix)
4650 ("guile-fibers" ,guile3.0-fibers)
4651 ("guile-json" ,guile3.0-json)
4652 ("guile-email" ,guile3.0-email)
4653 ("guile-prometheus" ,guile-prometheus)
4654 ("guile-squee" ,guile3.0-squee)
4655 ("ephemeralpg" ,ephemeralpg)
4656 ("util-linux" ,util-linux)
4657 ("postgresql" ,postgresql-11)
4658 ("sqitch" ,sqitch)))
4660 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
4661 ("autoconf" ,autoconf)
4662 ("automake" ,automake)
4663 ("emacs-minimal" ,emacs-minimal)
4664 ("emacs-htmlize" ,emacs-htmlize)
4665 ("pkg-config" ,pkg-config)))
4666 (synopsis "Store and provide data about GNU Guix")
4668 "The Guix Data Service stores data about GNU Guix, and provides this
4669 through a web interface. It supports listening to the guix-commits mailing
4670 list to find out about new revisions, then loads the data from these in to a
4671 PostgreSQL database.")
4672 (home-page "http://data.guix.gnu.org/")
4673 (license license:agpl3+))))
4675 (define-public gumbo-parser
4677 (name "gumbo-parser")
4682 (url "https://github.com/google/gumbo-parser")
4683 (commit (string-append "v" version))))
4684 (file-name (git-file-name name version))
4687 "0xslckwdh2i0g2qjsb6rnm8mjmbagvziz0hjlf7d1lbljfms1iw1"))))
4688 (build-system gnu-build-system)
4690 `(#:tests? #f)) ;tests require bundling googletest sources
4691 ;; The release tarball lacks the generated files.
4693 `(("autoconf" ,autoconf)
4694 ("automake" ,automake)
4695 ("libtool" ,libtool)))
4696 (home-page "https://github.com/google/gumbo-parser")
4697 (synopsis "HTML5 parsing library")
4699 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
4700 a pure C99 library.")
4701 (license license:asl2.0)))
4703 (define-public uwsgi
4709 (uri (string-append "https://projects.unbit.it/downloads/uwsgi-"
4713 "10zmk4npknigmbqcq1wmhd461dk93159px172112vyq0i19sqwj9"))))
4714 (build-system gnu-build-system)
4715 (outputs '("out" "python"))
4717 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
4718 ;; But there is no obvious way to run the real tests.
4721 (modify-phases %standard-phases
4723 ;; Configuration is done by writing an ini file.
4724 (lambda* (#:key outputs #:allow-other-keys)
4725 (let* ((out (assoc-ref outputs "out"))
4726 (bindir (string-append out "/bin"))
4727 (plugindir (string-append out "/lib/uwsgi")))
4728 ;; The build phase outputs files to these directories directly.
4731 ;; XXX: Enable other plugins.
4732 (call-with-output-file "buildconf/guix.ini"
4734 (format port "[uwsgi]
4740 plugins = cgi,python
4742 " bindir plugindir))))
4743 (setenv "PROFILE" "guix")
4746 ;; Move plugins into their own output.
4747 (lambda* (#:key outputs #:allow-other-keys)
4748 (let* ((out (assoc-ref outputs "out"))
4749 (plugindir (string-append out "/lib/uwsgi"))
4750 (python-plugin (string-append
4751 plugindir "/python_plugin.so")))
4752 (install-file python-plugin
4754 (assoc-ref outputs "python") "/lib/uwsgi"))
4755 (delete-file python-plugin)
4758 `(("pkg-config" ,pkg-config)
4759 ("python" ,python-wrapper)))
4761 `(("jansson" ,jansson)
4762 ("libxml2" ,libxml2)
4763 ("libyaml" ,libyaml)
4764 ("openssl" ,openssl)
4768 ("python" ,python)))
4769 (home-page "https://uwsgi-docs.readthedocs.org/")
4770 (synopsis "Application container server")
4772 "uWSGI presents a complete stack for networked/clustered web applications,
4773 implementing message/object passing, caching, RPC and process management.
4774 It uses the uwsgi protocol for all the networking/interprocess communications.")
4775 (license license:gpl2+))) ; with linking exception
4784 (uri (string-append "https://github.com/stedolan/jq"
4785 "/releases/download/jq-" version
4786 "/jq-" version ".tar.gz"))
4788 (base32 "0wmapfskhzfwranf6515nzmm84r7kwljgfs7dg6bjgxakbicis2x"))
4789 (modules '((guix build utils)))
4792 ;; Remove bundled onigurama.
4793 (delete-file-recursively "modules")
4796 `(("oniguruma" ,oniguruma)))
4798 `(;; TODO fix gems to generate documentation
4800 ;;("bundler" ,bundler)
4801 ("valgrind" ,valgrind)))
4802 (build-system gnu-build-system)
4803 (home-page "https://stedolan.github.io/jq/")
4804 (synopsis "Command-line JSON processor")
4805 (description "jq is like sed for JSON data – you can use it to slice and
4806 filter and map and transform structured data with the same ease that sed, awk,
4807 grep and friends let you play with text. It is written in portable C. jq can
4808 mangle the data format that you have into the one that you want with very
4809 little effort, and the program to do so is often shorter and simpler than
4811 (license (list license:expat license:cc-by3.0))))
4813 (define-public uhttpmock
4820 (uri (string-append "https://tecnocode.co.uk/downloads/uhttpmock/"
4821 "uhttpmock-" version ".tar.xz"))
4823 (base32 "0bqizz69hxk8rn4z57asz1d45vizl1rj6i5k3rzxn2x3qcik514h"))))
4824 (build-system glib-or-gtk-build-system)
4826 `(("gobject-introspection" ,gobject-introspection)
4828 ("glib-networking" ,glib-networking)
4829 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4830 ("pkg-config" ,pkg-config)))
4832 `(("libsoup" ,libsoup)))
4833 (home-page "https://gitlab.com/groups/uhttpmock")
4834 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
4836 "Uhttpmock is a project for mocking web service APIs which use HTTP or
4837 HTTPS. It provides a library, libuhttpmock, which implements recording and
4838 playback of HTTP request/response traces.")
4839 (license license:lgpl2.1+)))
4844 (version "2012-05-31")
4848 "http://www.home.unix-ag.org/simon/woof-"
4852 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
4853 (build-system trivial-build-system)
4855 '(#:modules ((guix build utils))
4858 (use-modules (guix build utils))
4859 (let* ((source (assoc-ref %build-inputs "source"))
4860 (out (assoc-ref %outputs "out"))
4861 (bin (string-append out "/bin"))
4862 (python (assoc-ref %build-inputs "python")))
4864 (with-directory-excursion bin
4865 (copy-file source "woof")
4866 (patch-shebang "woof" (list (string-append python "/bin")))
4867 (chmod "woof" #o555))
4869 (inputs `(("python" ,python-2)))
4870 (home-page "http://www.home.unix-ag.org/simon/woof.html")
4871 (synopsis "Single file web server")
4872 (description "Woof (Web Offer One File) is a small simple web server that
4873 can easily be invoked on a single file. Your partner can access the file with
4874 tools they trust (e.g. wget).")
4875 (license license:gpl2+)))
4877 (define netsurf-buildsystem
4879 (name "netsurf-buildsystem")
4884 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4885 "buildsystem-" version ".tar.gz"))
4888 "0alsmaig9ln8dgllb3z63gq90fiz75jz0ic71fi0k0k898qix14k"))))
4889 (build-system gnu-build-system)
4890 (inputs `(("perl" ,perl)))
4892 '(#:make-flags (list (string-append "PREFIX=" %output))
4893 #:tests? #f ;no tests
4894 #:phases (modify-phases %standard-phases
4897 (home-page "https://www.netsurf-browser.org")
4898 (synopsis "Build system for the Netsurf project")
4900 "This package provides the shared build system for Netsurf project
4902 (license license:expat)))
4904 (define netsurf-buildsystem-arguments
4905 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
4906 "CC=gcc" "BUILD_CC=gcc"
4907 ,(string-append "PREFIX=" %output)
4908 ,(string-append "NSSHARED="
4909 (assoc-ref %build-inputs
4910 "netsurf-buildsystem")
4911 "/share/netsurf-buildsystem"))
4912 #:test-target "test"
4913 #:phases (modify-phases %standard-phases
4914 (delete 'configure))))
4916 (define-public libparserutils
4918 (name "libparserutils")
4923 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4924 name "-" version "-src.tar.gz"))
4927 "1n2794y2l0c8nv8z2pxwfnbn882987ifmxjv60zdxkhcndhswarj"))))
4928 (build-system gnu-build-system)
4930 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4931 ("pkg-config" ,pkg-config)
4932 ("perl" ,perl))) ;for test harness
4933 (arguments netsurf-buildsystem-arguments)
4934 (home-page "https://www.netsurf-browser.org/projects/libparserutils/")
4935 (synopsis "Parser building library")
4937 "LibParserUtils is a library for building efficient parsers, written in
4938 C. It is developed as part of the NetSurf project.")
4939 (license license:expat)))
4941 (define-public hubbub
4948 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4949 "libhubbub-" version "-src.tar.gz"))
4952 "1dimfyblmym98qa1b80c5jslv2zk8r44xbdrgrsrw1n9wr9y4yly"))
4953 (patches (search-patches "hubbub-sort-entities.patch"))))
4954 (build-system gnu-build-system)
4956 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4957 ("pkg-config" ,pkg-config)
4958 ("doxygen" ,doxygen)
4959 ("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
4962 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
4963 (arguments netsurf-buildsystem-arguments)
4964 (home-page "https://www.netsurf-browser.org/projects/hubbub/")
4965 (synopsis "HTML5 compliant parsing library")
4967 "Hubbub is an HTML5 compliant parsing library, written in C, which can
4968 parse both valid and invalid web content. It is developed as part of the
4970 (license license:expat)))
4972 (define-public ikiwiki
4975 (version "3.20200202.3")
4980 (url "git://git.ikiwiki.info/")
4982 (file-name (git-file-name name version))
4985 "0fphyqzlk9y8v9s89ypsmrnbhyymzrpc2w0liy0n4knc7kk2pabq"))
4988 ;; The POT file requires write permission during the build
4990 (chmod "po/ikiwiki.pot" #o644)
4992 (build-system perl-build-system)
4995 (modify-phases %standard-phases
4996 (add-after 'patch-source-shebangs 'patch-Makefiles
4998 (substitute* "Makefile.PL"
4999 (("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
5000 (with-directory-excursion "po"
5001 (substitute* "Makefile"
5002 (("PERL5LIB=") "PERL5LIB=${PERL5LIB}:")))
5004 (add-before 'build 'set-modification-times
5005 ;; The wiki '--refresh' steps, which are executed during
5006 ;; the check phase, require recent timestamps on files in
5007 ;; the 'doc' and 'underlays' directories.
5009 (invoke "find" "doc" "underlays" "-type" "f" "-exec"
5012 (add-before 'check 'pre-check
5013 (lambda* (#:key inputs #:allow-other-keys)
5014 ;; Six tests use IPC::Run. For these tests the PERL5LIB
5015 ;; variable is needed in the runtime environment and also
5016 ;; in the search path list in the setup file.
5018 '("t/aggregate-file.t" "t/git-cgi.t" "t/git-untrusted.t"
5019 "t/passwordauth.t" "t/relativity.t" "t/wrapper-environ.t")
5020 (("(.*)\"perl\"(.*)$" _ prefix suffix)
5021 (string-append prefix "qw(env), 'PERL5LIB='.$ENV{PERL5LIB}"
5022 ", qw(perl)" suffix))
5023 (("(.*) PERL5LIB=(.*) perl(.*)$" _ prefix middle suffix)
5024 (string-append prefix "), 'PERL5LIB='.$ENV{PERL5LIB}.':"
5025 middle "', qw(perl" suffix))
5026 (("(.*)setup(.* )getcwd(.*)$" _ prefix middle suffix)
5027 (string-append prefix "setup" middle
5028 "$ENV{PERL5LIB}.':'.getcwd" suffix))
5029 (("^ENV(.*): '(.*)$" _ middle suffix)
5030 (string-append "ENV" middle
5031 ": '$ENV{PERL5LIB}:" suffix)))
5032 ;; XDG_DATA_DIRS is needed by the podcast.t test.
5033 (setenv "XDG_DATA_DIRS"
5034 (string-append (assoc-ref inputs "shared-mime-info")
5036 ;; CC is needed by IkiWiki/Wrapper.pm.
5039 (add-after 'install 'wrap-programs
5040 (lambda* (#:key outputs #:allow-other-keys)
5041 (let* ((out (assoc-ref outputs "out"))
5042 (bin (string-append out "/bin/"))
5043 (path (getenv "PERL5LIB")))
5044 (for-each (lambda (file)
5046 `("PERL5LIB" ":" prefix (,path))))
5051 ("gettext" ,gettext-minimal)
5052 ("subversion" ,subversion)
5056 ("mercurial" ,mercurial)))
5058 `(("python" ,python-wrapper)
5059 ("perl-authen-passphrase" ,perl-authen-passphrase)
5060 ("perl-cgi-simple" ,perl-cgi-simple)
5061 ("perl-db-file" ,perl-db-file)
5062 ("perl-file-mimeinfo" ,perl-file-mimeinfo)
5063 ("perl-html-tagset" ,perl-html-tagset)
5064 ("perl-image-magick" ,perl-image-magick)
5065 ("perl-ipc-run" ,perl-ipc-run)
5066 ("perl-lwpx-paranoidagent" ,perl-lwpx-paranoidagent)
5067 ("perl-xml-feed" ,perl-xml-feed)
5068 ("perl-xml-sax" ,perl-xml-sax)
5069 ("perl-xml-twig" ,perl-xml-twig)
5072 `(("perl-cgi-formbuilder" ,perl-cgi-formbuilder)
5073 ("perl-cgi-session" ,perl-cgi-session)
5074 ("perl-html-parser" ,perl-html-parser)
5075 ("perl-html-scrubber" ,perl-html-scrubber)
5076 ("perl-html-template" ,perl-html-template)
5077 ("perl-json" ,perl-json)
5078 ("perl-mail-sendmail" ,perl-mail-sendmail)
5079 ("perl-text-markdown-discount" ,perl-text-markdown-discount)
5080 ("perl-timedate" ,perl-timedate)
5081 ("perl-uri" ,perl-uri)
5082 ("perl-xml-simple" ,perl-xml-simple)
5083 ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
5084 (home-page "https://ikiwiki.info/")
5085 (synopsis "Wiki compiler, capable of generating HTML")
5087 "Ikiwiki is a wiki compiler, capable of generating a static set of web
5088 pages, but also incorporating dynamic features like a web based editor and
5090 (license license:gpl2+)))
5092 (define-public libwapcaplet
5094 (name "libwapcaplet")
5099 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5100 "libwapcaplet-" version "-src.tar.gz"))
5103 "0p0c2q9lsj4vs97aa7vjllfhw33zv3dpysdkjblzhib6dpfs2alv"))))
5104 (build-system gnu-build-system)
5106 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5107 ("pkg-config" ,pkg-config)
5108 ("check" ,check-0.14))) ;for tests
5109 (arguments netsurf-buildsystem-arguments)
5110 (home-page "https://www.netsurf-browser.org/projects/libwapcaplet/")
5111 (synopsis "String internment library")
5113 "LibWapcaplet provides a reference counted string internment system
5114 designed to store small strings and allow rapid comparison of them. It is
5115 developed as part of the Netsurf project.")
5116 (license license:expat)))
5118 (define-public libcss
5125 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5126 "libcss-" version "-src.tar.gz"))
5129 "1p66sdiiqm7w4jkq23hsf08khsnmq93hshh9f9m8sbirjdpf3p6j"))))
5130 (build-system gnu-build-system)
5132 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5133 ("pkg-config" ,pkg-config)
5135 (propagated-inputs ;needed for libcss.pc
5136 `(("libparserutils" ,libparserutils)
5137 ("libwapcaplet" ,libwapcaplet)))
5138 (arguments netsurf-buildsystem-arguments)
5139 (home-page "https://www.netsurf-browser.org/projects/libcss/")
5140 (synopsis "CSS parser and selection library")
5142 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
5143 written in C. It is developed as part of the NetSurf project.")
5144 (license license:expat)))
5146 (define-public libcyaml
5154 (url "https://github.com/tlsa/libcyaml")
5155 (commit (string-append "v" version))))
5156 (file-name (git-file-name name version))
5157 (patches (search-patches "libcyaml-libyaml-compat.patch"))
5159 (base32 "0428p0rwq71nhh5nzcbapsbrjxa0x5l6h6ns32nxv7j624f0zd93"))))
5160 (build-system gnu-build-system)
5163 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5164 (string-append "CC=gcc"))
5166 (modify-phases %standard-phases
5167 (delete 'configure) ; no configure script
5171 (invoke "make" "test"))))))
5173 `(("libyaml" ,libyaml)))
5175 `(("pkg-config" ,pkg-config)))
5176 (synopsis "C library for reading and writing YAML")
5178 "LibCYAML is a C library written in ISO C11 for reading and writing
5179 structured YAML documents. The fundamental idea behind CYAML is to allow
5180 applications to construct schemas which describe both the permissible
5181 structure of the YAML documents to read/write, and the C data structure(s)
5182 in which the loaded data is arranged in memory.")
5183 (home-page "https://github.com/tlsa/libcyaml")
5184 (license license:isc)))
5186 (define-public libdom
5193 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5194 "libdom-" version "-src.tar.gz"))
5197 "0jpg5hx3y0mdxk5szd47dyijqimd2321brbqk2620pp5f4j0gvlq"))))
5198 (build-system gnu-build-system)
5200 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5201 ("pkg-config" ,pkg-config)
5202 ("perl" ,perl) ;for test harness
5203 ("perl-libxml" ,perl-libxml)
5204 ("perl-switch" ,perl-switch)
5205 ("perl-xml-xpath" ,perl-xml-xpath)))
5207 `(("libparserutils" ,libparserutils)
5208 ("libwapcaplet" ,libwapcaplet)))
5210 `(("expat" ,expat) ;needed for headers and linking
5211 ("hubbub" ,hubbub))) ;for libdom.pc
5213 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
5214 ,@netsurf-buildsystem-arguments))
5215 (home-page "https://www.netsurf-browser.org/projects/libdom/")
5216 (synopsis "Implementation of the W3C DOM")
5218 "LibDOM is an implementation of the W3C DOM, written in C. It is
5219 developed as part of the NetSurf project.")
5220 (license license:expat)))
5222 (define-public libsvgtiny
5229 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5230 name "-" version "-src.tar.gz"))
5233 "10bpkmvfpydj74im3r6kqm9vnvgib6afy0alx71q5n0w5yawy39c"))))
5234 (build-system gnu-build-system)
5236 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5237 ("pkg-config" ,pkg-config)
5238 ("gperf" ,gperf-3.0)))
5240 `(("libwapcaplet" ,libwapcaplet)))
5242 `(("libdom" ,libdom))) ;for libsvgtiny.pc
5243 (arguments netsurf-buildsystem-arguments)
5244 (home-page "https://www.netsurf-browser.org/projects/libsvgtiny/")
5245 (synopsis "Library for parsing SVG files")
5247 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
5248 which can be rendered easily, as defined in
5249 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
5251 (license license:expat)))
5253 (define-public libnsbmp
5260 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5261 name "-" version "-src.tar.gz"))
5264 "0krjg69a2amxjsahdgm3wmy9ngnyr3gfs2a1zhdlbvb0z1jr7i3r"))))
5265 (build-system gnu-build-system)
5267 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5268 (arguments netsurf-buildsystem-arguments)
5269 (home-page "https://www.netsurf-browser.org/projects/libnsbmp/")
5270 (synopsis "Decoding library for BMP and ICO files")
5272 "Libnsbmp is a decoding library for BMP and ICO image file formats,
5273 written in C. It is developed as part of the NetSurf project.")
5274 (license license:expat)))
5276 (define-public libnsgif
5283 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5284 name "-" version "-src.tar.gz"))
5287 "0jwshypgmx16xlsbx3d8njk8a5khazlplca5mxd3rdbhrlsabbly"))))
5288 (build-system gnu-build-system)
5290 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5291 (arguments netsurf-buildsystem-arguments)
5292 (home-page "https://www.netsurf-browser.org/projects/libnsgif/")
5293 (synopsis "Decoding library for GIF files")
5295 "Libnsgif is a decoding library for the GIF image file format, written in
5296 C. It is developed as part of the NetSurf project.")
5297 (license license:expat)))
5299 (define-public libnslog
5306 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5307 "libnslog-" version "-src.tar.gz"))
5310 "1l2k0kdv9iv18svhv360vszjavhl4g09cp8a8yb719pgsylxr67w"))))
5311 (build-system gnu-build-system)
5313 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5314 ("pkg-config" ,pkg-config)
5315 ("check" ,check) ; For tests
5318 (arguments netsurf-buildsystem-arguments)
5319 (home-page "https://www.netsurf-browser.org/")
5320 (synopsis "Logging library")
5322 "Libnslog provides a category-based logging library which supports
5323 complex logging filters, multiple log levels, and provides context through to
5324 client applications. It is developed as part of the NetSurf project.")
5325 (license license:expat)))
5327 (define-public libnsutils
5334 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5335 name "-" version "-src.tar.gz"))
5338 "1w5fyy2i60a3v3if3iqcn9sy9sycx6966rcx53v85gja6hb6a33r"))))
5339 (build-system gnu-build-system)
5341 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5342 (arguments netsurf-buildsystem-arguments)
5343 (home-page "https://www.netsurf-browser.org/")
5344 (synopsis "Utility library for NetSurf")
5346 "Libnsutils provides a small number of useful utility routines. It is
5347 developed as part of the NetSurf project.")
5348 (license license:expat)))
5350 (define-public libnspsl
5357 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5358 "libnspsl-" version "-src.tar.gz"))
5361 "02q28n5i6fwqcz1nn167rb71k1q95mx38mfah6zi1lvqrc2q5ifk"))))
5362 (build-system gnu-build-system)
5364 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5365 (arguments netsurf-buildsystem-arguments)
5366 (home-page "https://www.netsurf-browser.org/")
5367 (synopsis "Library to generate a static Public Suffix List")
5369 "Libnspsl is a library to generate a static code representation of the
5370 Public Suffix List. It is developed as part of the NetSurf project.")
5371 (license license:expat)))
5373 (define-public nsgenbind
5380 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5381 "nsgenbind-" version "-src.tar.gz"))
5384 "1cqwgwca49jvmijwiyaab2bwxicgxdrnlpinf8kp3nha02nm73ad"))))
5385 (build-system gnu-build-system)
5387 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5391 (substitute-keyword-arguments netsurf-buildsystem-arguments
5392 ((#:make-flags flags)
5393 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
5394 (home-page "https://www.netsurf-browser.org/")
5395 (synopsis "Generate JavaScript to DOM bindings")
5397 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
5398 w3c webidl files and a binding configuration file.")
5399 (license license:expat)))
5401 (define-public netsurf
5408 (uri (string-append "https://download.netsurf-browser.org/netsurf/"
5409 "releases/source/netsurf-" version "-src.tar.gz"))
5412 "0plra64c5xyiw12yx2q13brxsv8apmany97zqa2lcqckw4ll8j1n"))
5413 (patches (search-patches "netsurf-system-utf8proc.patch"
5414 "netsurf-y2038-tests.patch"
5415 "netsurf-longer-test-timeout.patch"
5416 "netsurf-message-timestamp.patch"))))
5417 (build-system glib-or-gtk-build-system)
5419 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5420 ("nsgenbind" ,nsgenbind)
5421 ("libidn" ,libidn) ;only for tests
5424 ("perl-html-parser" ,perl-html-parser)
5425 ("pkg-config" ,pkg-config)
5430 ("openssl" ,openssl)
5431 ("utf8proc" ,utf8proc)
5433 ("libjpeg" ,libjpeg-turbo)
5436 ("libnsbmp" ,libnsbmp)
5437 ("libnsgif" ,libnsgif)
5438 ("libnslog" ,libnslog)
5439 ("libnspsl" ,libnspsl)
5440 ("libnsutils" ,libnsutils)
5441 ("libsvgtiny" ,libsvgtiny)
5442 ("miscfiles" ,miscfiles)))
5444 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
5446 ,(string-append "PREFIX=" %output)
5447 ,(string-append "NSSHARED="
5448 (assoc-ref %build-inputs
5449 "netsurf-buildsystem")
5450 "/share/netsurf-buildsystem"))
5451 #:test-target "test"
5452 #:modules ((ice-9 rdelim)
5456 ,@%glib-or-gtk-build-system-modules)
5458 (modify-phases %standard-phases
5460 (add-after 'build 'adjust-welcome
5462 (substitute* "frontends/gtk/res/welcome.html"
5463 ;; Close some XHTML tags.
5464 (("<(img|input)([^>]*)>" _ tag contents)
5465 (string-append "<" tag contents " />"))
5466 ;; Increase freedom.
5467 ((" open source") ", free software")
5468 ;; Prefer a more privacy-respecting default search engine.
5469 (("www.google.co.uk") "www.duckduckgo.com/html")
5470 (("Google Search") "DuckDuckGo Search")
5471 (("name=\"btnG\"") ""))
5472 ;; Remove default links so it doesn't seem we're endorsing them.
5473 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
5475 ;; Leave the DOCTYPE header as is.
5476 (display (read-line in 'concat) out)
5478 (let rec ((sxml (xml->sxml in
5479 #:default-entity-handler
5481 (string-append "<ENTITY>"
5482 (symbol->string name)
5484 ;; We'd like to use sxml-match here, but it can't
5485 ;; match against generic tag symbols...
5487 (`(div (@ (class "links")) . ,rest)
5496 (add-before 'check 'patch-check
5497 (lambda* (#:key inputs #:allow-other-keys)
5498 (substitute* '("test/bloom.c" "test/hashtable.c")
5499 (("/usr/share/dict/words")
5500 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
5502 (add-after 'install 'install-more
5503 (lambda* (#:key outputs #:allow-other-keys)
5504 (let* ((out (assoc-ref outputs "out"))
5505 (desktop (string-append out "/share/applications/"
5506 "netsurf.desktop")))
5507 (mkdir-p (dirname desktop))
5508 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
5510 (substitute* desktop
5511 (("netsurf-gtk") (string-append out "/bin/netsurf-gtk3"))
5512 (("netsurf.png") (string-append out "/share/netsurf/"
5514 (install-file "docs/netsurf-gtk.1"
5515 (string-append out "/share/man/man1/"))
5517 (home-page "https://www.netsurf-browser.org")
5518 (synopsis "Web browser")
5520 "NetSurf is a lightweight web browser that has its own layout and
5521 rendering engine entirely written from scratch. It is small and capable of
5522 handling many of the web standards in use today.")
5523 (license license:gpl2+)))
5525 (define-public surfraw
5532 (uri (string-append "https://gitlab.com/surfraw/Surfraw/uploads/"
5533 "2de827b2786ef2fe43b6f07913ca7b7f/"
5534 "surfraw-" version ".tar.gz"))
5536 (base32 "099nbif0x5cbcf18snc58nx1a3q7z0v9br9p2jiq9pcc7ic2015d"))))
5537 (build-system gnu-build-system)
5540 (modify-phases %standard-phases
5541 (add-before 'configure 'patch-perl
5542 (lambda* (#:key inputs #:allow-other-keys)
5543 (let ((perl (assoc-ref inputs "perl")))
5544 (substitute* "surfraw.IN"
5546 (string-append perl "/bin/perl -e")))
5548 (add-after 'install 'compress-elvi.1sr
5549 (lambda* (#:key outputs #:allow-other-keys)
5550 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
5551 ;; but elvi.1sr does not get compressed by our manpage phase.
5552 (let* ((out (assoc-ref %outputs "out"))
5553 (man (string-append out "/share/man/man1")))
5554 (with-directory-excursion man
5555 (invoke "gzip" "elvi.1sr"))))))))
5558 ("perl-www-opensearch" ,perl-www-opensearch)
5559 ("perl-html-parser" ,perl-html-parser)
5560 ("perl-libwww" ,perl-libwww)))
5561 (synopsis "Unix command line interface to the www")
5562 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
5563 provides a unix command line interface to a variety of popular www search engines
5564 and similar services.")
5565 (home-page "https://surfraw.alioth.debian.org/")
5566 (license license:public-domain)))
5568 (define-public darkhttpd
5575 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
5576 version ".tar.bz2"))
5579 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
5580 (build-system gnu-build-system)
5582 `(#:make-flags '("CC=gcc")
5583 #:tests? #f ; No test suite
5585 (modify-phases %standard-phases
5588 (lambda* (#:key outputs #:allow-other-keys)
5589 (install-file "darkhttpd"
5590 (string-append (assoc-ref outputs "out")
5593 (synopsis "Simple static web server")
5594 (description "darkhttpd is a simple static web server. It is
5595 standalone and does not need inetd or ucspi-tcp. It does not need any
5596 config files---you only have to specify the www root.")
5597 (home-page "https://unix4lyfe.org/darkhttpd/")
5598 (license license:isc)))
5600 (define-public goaccess
5606 (uri (string-append "http://tar.goaccess.io/goaccess-"
5610 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
5611 (modules '((guix build utils)))
5613 (substitute* "src/error.h"
5614 (("__DATE__") "\"1970-01-01\"")
5615 (("__TIME__") "\"00:00:00\""))
5617 (build-system gnu-build-system)
5619 ;; TODO: Add dependency on geoip-tools.
5621 ("ncurses" ,ncurses)))
5623 `(("pkg-config" ,pkg-config)))
5624 (home-page "https://goaccess.io")
5625 (synopsis "Analyze Web server logs in real time")
5627 "GoAccess is a real-time web log analyzer and interactive viewer that
5628 runs in a terminal or through your browser. It provides fast and valuable
5629 HTTP statistics for system administrators that require a visual server report
5631 (license license:x11)))
5633 (define-public hitch
5637 (home-page "https://hitch-tls.org/")
5640 (uri (string-append home-page "source/hitch-" version ".tar.gz"))
5643 "1i75giwyr66ip8xsvk3gg5xdbxnmcabgxz8dqi06c58mw7qzhzn9"))))
5644 (build-system gnu-build-system)
5646 `(#:phases (modify-phases %standard-phases
5647 (add-before 'check 'pre-check
5649 ;; Most tests attempts to access hitch-tls.org which is
5650 ;; unavailable in the build container. Run them against
5651 ;; a dummy local web server instead.
5652 (for-each (lambda (test)
5654 (("\\[hitch-tls\\.org\\]:80")
5655 "[localhost]:8000")))
5656 (find-files "src/tests" "\\.sh$"))
5657 (system "python3 -m http.server &")
5659 ;; The build container does not reap zombie processes,
5660 ;; causing stop_hitch to hang indefinitely while waiting
5661 ;; for the process to terminate because 'kill -0' never
5662 ;; succeeds. Use a different test to see whether the
5663 ;; process has shut down.
5664 (substitute* "src/tests/hitch_test.sh"
5665 (("kill -0 \"\\$HITCH_PID\"")
5666 "$(ps -p $HITCH_PID -o state= | grep -qv '^Z$')"))
5669 `(("pkg-config" ,pkg-config)
5675 ("python" ,python)))
5678 ("openssl" ,openssl)))
5679 (synopsis "Scalable TLS proxy")
5681 "Hitch is a performant TLS proxy based on @code{libev}. It terminates
5682 SSL/TLS connections and forwards the unencrypted traffic to a backend such
5683 as a web server. It is designed to handle many thousand connections on
5684 multicore machines.")
5685 (license license:bsd-2)))
5687 (define-public httptunnel
5694 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
5695 name "-" version ".tar.gz"))
5698 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
5699 (modules '((guix build utils)))
5701 ;; Remove non-free IETF RFC documentation.
5702 (delete-file-recursively "doc")
5704 (build-system gnu-build-system)
5707 (modify-phases %standard-phases
5708 ;; The default configure phase tries to pass environment variables as
5709 ;; command-line arguments, which confuses the ./configure script.
5711 (lambda* (#:key outputs #:allow-other-keys)
5712 (let* ((out (assoc-ref outputs "out")))
5713 (setenv "CONFIG_SHELL" (which "bash"))
5714 (invoke "./configure"
5715 (string-append "--prefix=" out))))))))
5716 (home-page "http://www.nocrew.org/software/httptunnel.html")
5717 (synopsis "Tunnel data connections through HTTP requests")
5718 (description "httptunnel creates a bidirectional virtual data connection
5719 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
5720 useful for users behind restrictive firewalls. As long as Web traffic is
5721 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
5722 tools like SSH (Secure Shell) to reach the outside world.")
5723 (license license:gpl2+)))
5725 (define-public stunnel
5732 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
5735 (base32 "1q8gc05fiz7w55ws0whwzb94ffjnhzfppf1mhz1hf671vmrvjnmg"))))
5736 (build-system gnu-build-system)
5739 `(("iproute" ,iproute)
5741 ("procps" ,procps)))
5742 (inputs `(("openssl" ,openssl)))
5745 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))
5747 (modify-phases %standard-phases
5748 (add-after 'unpack 'patch-output-directories
5750 ;; Some (not all) Makefiles have a hard-coded incorrect docdir.
5751 (substitute* (list "Makefile.in"
5753 "tools/Makefile.in")
5755 (string-append "/doc/" ,name "-" ,version)))
5757 (add-before 'check 'patch-tests
5759 (substitute* "tests/make_test"
5761 (string-append (which "sh") " ")))
5763 (home-page "https://www.stunnel.org")
5764 (synopsis "TLS proxy for clients or servers")
5765 (description "Stunnel is a proxy designed to add TLS encryption
5766 functionality to existing clients and servers without any changes in the
5767 programs' code. Its architecture is optimized for security, portability, and
5768 scalability (including load-balancing), making it suitable for large
5770 (license license:gpl2+)))
5772 (define-public varnish
5775 (home-page "https://varnish-cache.org/")
5779 (uri (string-append home-page "_downloads/varnish-" version ".tgz"))
5782 "1dfdswri6lkfk6kml3szvffm91y49pajgqy1k5y26llqixl4r5hi"))))
5783 (build-system gnu-build-system)
5785 `(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
5786 ;; Use absolute path of GCC so it's found at runtime.
5787 (string-append "PTHREAD_CC="
5788 (assoc-ref %build-inputs "gcc")
5790 "--localstatedir=/var")
5792 (modify-phases %standard-phases
5793 (add-after 'unpack 'use-absolute-file-names
5795 (substitute* '("bin/varnishtest/vtc_varnish.c"
5796 "bin/varnishtest/vtc_process.c"
5797 "bin/varnishd/mgt/mgt_vcc.c"
5798 "bin/varnishtest/tests/u00014.vtc")
5799 (("/bin/sh") (which "sh")))
5800 (substitute* "bin/varnishd/mgt/mgt_shmem.c"
5801 (("rm -rf") (string-append (which "rm") " -rf")))
5802 (substitute* "bin/varnishtest/vtc_main.c"
5803 (("/bin/rm") (which "rm")))
5805 (add-before 'install 'patch-Makefile
5807 (substitute* "Makefile"
5808 ;; Do not create /var/varnish during install.
5809 (("^install-data-am: install-data-local") "install-data-am: "))
5811 (add-after 'install 'wrap-varnishd
5812 ;; Varnish uses GCC to compile VCL, so wrap it with required GCC
5813 ;; environment variables to avoid propagating them to profiles.
5814 (lambda* (#:key inputs outputs #:allow-other-keys)
5815 (let* ((out (assoc-ref outputs "out"))
5816 (varnishd (string-append out "/sbin/varnishd"))
5817 (PATH (string-append (assoc-ref inputs "binutils") "/bin"))
5818 (LIBRARY_PATH (string-append (assoc-ref inputs "libc") "/lib")))
5819 (wrap-program varnishd
5820 ;; Add binutils to PATH so gcc finds the 'as' executable.
5821 `("PATH" ":" prefix (,PATH))
5822 ;; Make sure 'crti.o' et.al is found.
5823 `("LIBRARY_PATH" ":" prefix (,LIBRARY_PATH)))
5826 `(("pkg-config" ,pkg-config)
5827 ("python-sphinx" ,python-sphinx)
5828 ("rst2man" ,python-docutils)))
5830 `(("jemalloc" ,jemalloc)
5831 ("ncurses" ,ncurses)
5833 ("python" ,python-wrapper)
5834 ("readline" ,readline)))
5835 (synopsis "Web application accelerator")
5837 "Varnish is a high-performance HTTP accelerator. It acts as a caching
5838 reverse proxy and load balancer. You install it in front of any server that
5839 speaks HTTP and configure it to cache the contents through an extensive
5840 configuration language.")
5841 (license (list license:bsd-2 ;main distribution
5842 license:zlib ;lib/libvgz/*
5843 license:public-domain ;bin/varnishncsa/as64.c, include/miniobj.h
5844 license:bsd-3)))) ;include/vqueue.h, lib/libvarnishcompat/daemon.c
5846 (define-public varnish-modules
5848 (name "varnish-modules")
5849 (home-page "https://github.com/varnish/varnish-modules")
5853 (uri (git-reference (url home-page) (commit version)))
5854 (file-name (git-file-name name version))
5857 "0zg8y2sgkygdani70zp9rbx278431fmssj26d47c5qsiw939i519"))))
5858 (build-system gnu-build-system)
5860 `(("pkg-config" ,pkg-config)
5862 ;; For bootstrapping.
5863 ("autoconf" ,autoconf)
5864 ("automake" ,automake)
5865 ("libtool" ,libtool)
5867 ;; For generating manuals.
5868 ("rst2man" ,python-docutils)))
5870 `(("python" ,python)
5871 ("varnish" ,varnish)))
5872 (synopsis "Collection of Varnish modules")
5874 "This package provides a collection of modules (@dfn{vmods}) for the Varnish
5875 cache server, extending the @acronym{VCL, Varnish Configuration Language} with
5876 additional capabilities.")
5877 (license license:bsd-2)))
5879 (define-public xinetd
5882 ;; This is the maintenance fork currently used by openSUSE and Debian.
5883 (version "2.3.15.4")
5888 (url "https://github.com/openSUSE/xinetd")
5890 (file-name (git-file-name name version))
5892 (base32 "0lrp3lcj6azhjplwxws2rx40bkyp6i6bp7n77ndcisb7ninad30q"))))
5893 (build-system gnu-build-system)
5895 `(#:configure-flags '("--with-loadavg")
5896 #:tests? #f)) ; no tests
5898 `(("autoconf" ,autoconf)
5899 ("automake" ,automake)
5900 ("libtool" ,libtool)
5901 ("pkg-config" ,pkg-config)))
5902 (home-page "https://github.com/openSUSE/xinetd")
5903 (synopsis "Internet services daemon")
5904 (description "@code{xinetd}, a more secure replacement for @code{inetd},
5905 listens for incoming requests over a network and launches the appropriate
5906 service for that request. Requests are made using port numbers as identifiers
5907 and xinetd usually launches another daemon to handle the request. It can be
5908 used to start services with both privileged and non-privileged port numbers.")
5909 (license (license:fsf-free "file://COPYRIGHT"))))
5911 (define-public tidy-html
5919 (url "https://github.com/htacg/tidy-html5")
5921 (file-name (git-file-name name version))
5924 "01k5sqwgcsr26i8031v1yr2r8qcy9a5w7sj800660haszgfbjz2f"))))
5925 (build-system cmake-build-system)
5927 "static")) ; 1.3MiB of .a files
5929 `(#:tests? #f ; no tests available
5930 #:build-type "Release"
5932 (modify-phases %standard-phases
5933 (add-after 'install 'move-static-libraries
5934 (lambda* (#:key outputs #:allow-other-keys)
5935 ;; Move static libraries to the "static" output.
5936 (let* ((out (assoc-ref outputs "out"))
5937 (lib (string-append out "/lib"))
5938 (static (assoc-ref outputs "static"))
5939 (slib (string-append static "/lib")))
5941 (for-each (lambda (file)
5942 (install-file file slib)
5944 (find-files lib "\\.a$"))
5947 `(("libxslt" ,libxslt)))
5948 (home-page "http://www.html-tidy.org/")
5949 (synopsis "HTML Tidy with HTML5 support")
5951 "Tidy is a console application which corrects and cleans up
5952 HTML and XML documents by fixing markup errors and upgrading
5953 legacy code to modern standards.
5955 Tidy also provides @code{libtidy}, a C static and dynamic library that
5956 developers can integrate into their applications to make use of the
5957 functions of Tidy.")
5958 (license license:bsd-3)))
5960 (define-public hiawatha
5967 (uri (string-append "https://www.hiawatha-webserver.org/files/"
5968 "hiawatha-" version ".tar.gz"))
5969 (modules '((guix build utils)))
5971 ;; We use packaged libraries, so delete the bundled copies.
5972 (for-each delete-file-recursively
5973 (list "extra/nghttp2.tgz" "mbedtls"))
5976 (base32 "09wpgilbv13zal71v9lbsqr8c3fignygadykpd1p1pb8blb5vn3r"))))
5977 (build-system cmake-build-system)
5979 `(#:tests? #f ; no tests included
5980 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
5981 (string-append "-DENABLE_HTTP2=on")
5982 (string-append "-DUSE_SYSTEM_NGHTTP2=on")
5983 (string-append "-DENABLE_TOMAHAWK=on")
5984 (string-append "-DLOG_DIR=/var/log/hiawatha")
5985 (string-append "-DPID_DIR=/run")
5986 (string-append "-DWEBROOT_DIR="
5987 (assoc-ref %outputs "out")
5988 "/share/hiawatha/html")
5989 (string-append "-DWORK_DIR=/var/lib/hiawatha"))
5991 (modify-phases %standard-phases
5992 (add-after 'unpack 'install-no-empty-directories
5994 (substitute* "CMakeLists.txt"
5995 (("install\\(DIRECTORY DESTINATION" match)
5996 (string-append "#" match)))
5998 (add-after 'install 'wrap
5999 (lambda* (#:key inputs outputs #:allow-other-keys)
6000 ;; Make sure 'hiawatha' finds 'mbedtls'.
6001 (let* ((out (assoc-ref outputs "out"))
6002 (sbin (string-append out "/sbin"))
6003 (mbed (assoc-ref inputs "mbedtls-apache")))
6004 (wrap-program (string-append sbin "/hiawatha")
6005 `("PATH" ":" prefix (,mbed)))))))))
6007 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha".
6008 `(("libxslt" ,libxslt)
6009 ("libxml2" ,libxml2)
6010 ("mbedtls-apache" ,mbedtls-for-hiawatha)
6011 ("nghttp2" ,nghttp2 "lib")
6013 (home-page "https://www.hiawatha-webserver.org")
6014 (synopsis "Webserver with focus on security")
6016 "Hiawatha has been written with security in mind.
6017 Features include the ability to stop SQL injections, XSS and CSRF attacks and
6019 (license license:gpl2)))
6021 (define-public python-httpbin
6023 (name "python-httpbin")
6028 (uri (pypi-uri "httpbin" version))
6031 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
6032 (build-system python-build-system)
6034 `(("python-decorator" ,python-decorator)
6035 ("python-flask" ,python-flask)
6036 ("python-itsdangerous" ,python-itsdangerous)
6037 ("python-markupsafe" ,python-markupsafe)
6038 ("python-six" ,python-six)))
6039 (home-page "https://github.com/Runscope/httpbin")
6040 (synopsis "HTTP request and response service")
6041 (description "Testing an HTTP Library can become difficult sometimes.
6042 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
6043 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
6045 (license license:isc)))
6047 (define-public python2-httpbin
6048 (package-with-python2 python-httpbin))
6050 (define-public python-pytest-httpbin
6052 (name "python-pytest-httpbin")
6057 (uri (pypi-uri "pytest-httpbin" version))
6060 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
6061 (build-system python-build-system)
6063 `(("python-six" ,python-six)
6064 ("python-httpbin" ,python-httpbin)
6065 ("python-pytest" ,python-pytest)))
6067 "https://github.com/kevin1024/pytest-httpbin")
6069 "Test your HTTP library against a local copy of httpbin")
6071 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
6072 into your tests. It automatically starts up a HTTP server in a separate thread running
6073 @code{httpbin} and provides your test with the URL in the fixture.")
6074 (license license:expat)))
6076 (define-public python2-pytest-httpbin
6077 (package-with-python2 python-pytest-httpbin))
6079 (define-public http-parser
6081 (name "http-parser")
6083 (home-page "https://github.com/nodejs/http-parser")
6087 (uri (git-reference (url home-page)
6088 (commit (string-append "v" version))))
6090 (base32 "1vda4dp75pjf5fcph73sy0ifm3xrssrmf927qd1x8g3q46z0cv6c"))
6091 (file-name (git-file-name name version))
6095 ;; Treat an empty port (e.g. `http://hostname:/`) when parsing
6096 ;; URLs as if no port were specified. This patch is applied
6097 ;; to Fedora's http-parser and to libgit2's bundled version.
6100 "https://src.fedoraproject.org/rpms/http-parser/raw/"
6101 "e89b4c4e2874c19079a5a1a2d2ccc61b551aa289/"
6102 "f/0001-url-treat-empty-port-as-default.patch"))
6105 "0pbxf2nq9pcn299k2b2ls8ldghaqln9glnp79gi57mamx4iy0f6g")))))))
6106 (build-system gnu-build-system)
6108 `(#:test-target "test"
6110 (list (string-append "PREFIX="
6111 (assoc-ref %outputs "out"))
6113 ,@(if (%current-target-system)
6117 (modify-phases %standard-phases
6118 ,@(match (%current-system)
6120 '((add-before 'check 'apply-assertion.patch
6121 (lambda* (#:key inputs #:allow-other-keys)
6122 (let ((patch (assoc-ref inputs "assertion.patch")))
6123 (invoke "patch" "-p1" "-i" patch)
6126 ,@(if (%current-target-system)
6127 '((replace 'configure
6128 (lambda* (#:key target #:allow-other-keys)
6129 (substitute* (find-files "." "Makefile")
6131 (string-append "CC=" target "-gcc\n"))
6133 (string-append "AR=" target "-ar\n")))
6135 '((delete 'configure))))))
6137 `(,@(match (%current-system)
6139 ;; A fix for <https://issues.guix.gnu.org/40604> which in turn
6140 ;; breaks i686-linux builds.
6141 `(("assertion.patch"
6142 ,@(search-patches "http-parser-fix-assertion-on-armhf.patch"))))
6144 (synopsis "HTTP request/response parser for C")
6145 (description "This is a parser for HTTP messages written in C. It parses
6146 both requests and responses. The parser is designed to be used in
6147 high-performance HTTP applications. It does not make any syscalls nor
6148 allocations, it does not buffer data, it can be interrupted at anytime.
6149 Depending on your architecture, it only requires about 40 bytes of data per
6150 message stream (in a web server that is per connection).")
6151 (license license:expat)))
6153 (define-public python-httpretty
6155 (name "python-httpretty")
6160 (uri (pypi-uri "httpretty" version))
6162 (base32 "1p1rb4mpngh0632xrmdfhvc8yink519yfkqz97d2ww3y0x2jvd81"))))
6163 (build-system python-build-system)
6165 `(("python-six" ,python-six)))
6167 `(("python-coverage" ,python-coverage)
6168 ("python-httplib2" ,python-httplib2)
6169 ("python-mock" ,python-mock)
6170 ("python-nose" ,python-nose)
6171 ("python-nose-randomly" ,python-nose-randomly)
6172 ("python-rednose" ,python-rednose)
6173 ("python-requests" ,python-requests)
6174 ("python-sure" ,python-sure)
6175 ("python-tornado" ,python-tornado)
6176 ("python-urllib3" ,python-urllib3)))
6177 (home-page "https://httpretty.readthedocs.io")
6178 (synopsis "HTTP client mock for Python")
6179 (description "@code{httpretty} is a helper for faking web requests,
6180 inspired by Ruby's @code{fakeweb}.")
6181 (license license:expat)))
6190 (uri (string-append "https://github.com/jpmens/jo/releases/download/"
6191 version "/jo-" version ".tar.gz"))
6193 (base32 "18jna9xlpxci3cak3z85c448zv2zr41baclgym3hk433p0p4vii4"))))
6194 (build-system gnu-build-system)
6195 (home-page "https://github.com/jpmens/jo")
6196 (synopsis "Output JSON from a shell")
6197 (description "jo is a command-line utility to create JSON objects or
6198 arrays. It creates a JSON string on stdout from words provided as
6199 command-line arguments or read from stdin.")
6200 (license (list license:gpl2+
6201 license:expat)))) ; json.c, json.h
6203 (define-public python-internetarchive
6205 (name "python-internetarchive")
6211 (url "https://github.com/jjjake/internetarchive")
6212 (commit (string-append "v" version))))
6213 (file-name (git-file-name name version))
6216 "0ih7hplv92wbv6cmgc1gs0v35qkajwicalwcq8vcljw30plr24fp"))
6217 (modules '((guix build utils)))
6220 ;; Python 3.7 removed `_pattern_type'.
6221 (for-each (lambda (file)
6224 (("^import re\n" line)
6225 (string-append line "re._pattern_type = re.Pattern\n"))))
6226 (find-files "." "\\.py$"))
6228 (build-system python-build-system)
6231 (modify-phases %standard-phases
6233 (add-after 'install 'check
6234 (lambda* (#:key inputs outputs #:allow-other-keys)
6235 (add-installed-pythonpath inputs outputs)
6236 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
6237 ":" (getenv "PATH")))
6238 (invoke "py.test" "-v" "-k"
6240 ;; These tests attempt to make a connection to
6241 ;; an external web service.
6242 "not test_get_item_with_kwargs"
6243 " and not test_ia")))))))
6245 `(("python-requests" ,python-requests)
6246 ("python-jsonpatch" ,python-jsonpatch-0.4)
6247 ("python-docopt" ,python-docopt)
6248 ("python-clint" ,python-clint)
6249 ("python-six" ,python-six)
6250 ("python-schema" ,python-schema-0.5)
6251 ("python-backports-csv" ,python-backports-csv)))
6253 `(("python-pytest" ,python-pytest)
6254 ("python-pytest-capturelog" ,python-pytest-capturelog)
6255 ("python-responses" ,python-responses)))
6256 (home-page "https://github.com/jjjake/internetarchive")
6257 (synopsis "Command-line interface to archive.org")
6258 (description "@code{ia} is a command-line tool for using
6259 @url{archive.org} from the command-line. It also emplements the
6260 internetarchive python module for programmatic access to archive.org.")
6261 (license license:agpl3+)))
6263 (define-public python-clf
6264 (let ((commit-test-clf "d01d25923c599d3261910f79fb948825b4270d07")) ; 0.5.7
6271 (uri (pypi-uri "clf" version))
6274 "0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
6275 (build-system python-build-system)
6277 `(("python-docopt" ,python-docopt)
6278 ("python-pygments" ,python-pygments)
6279 ("python-requests" ,python-requests)
6280 ("python-nose" ,python-nose)
6281 ("python-lxml" ,python-lxml)
6282 ("python-pyaml" ,python-pyaml)))
6287 (uri (string-append "https://raw.githubusercontent.com"
6288 "/ncrocfer/clf/" commit-test-clf
6292 "19lr5zdzsmxgkg7wrjq1yzkiahd03wi4k3dskssyhmjls8c10nqd"))))))
6295 (modify-phases %standard-phases
6296 (add-after 'unpack 'get-tests
6298 (copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")
6303 ;; These tests require an Internet connection.
6304 "--exclude=test_browse"
6305 "--exclude=test_command"
6306 "--exclude=test_search"))))))
6307 (home-page "https://github.com/ncrocfer/clf")
6308 (synopsis "Search code snippets on @url{https://commandlinefu.com}")
6309 (description "@code{clf} is a command line tool for searching code
6310 snippets on @url{https://commandlinefu.com}.")
6311 (license license:expat))))
6313 (define-public python2-clf
6314 (package-with-python2 python-clf))
6316 (define-public rss-bridge
6319 (version "2019-09-12")
6324 (url "https://github.com/RSS-Bridge/rss-bridge")
6326 (file-name (git-file-name name version))
6328 (base32 "1mx7f3l45nqhcrng531l4cq8kpzm164hhbwn26g5akb2pamdlnra"))))
6329 (build-system trivial-build-system)
6331 '(#:modules ((guix build utils))
6334 (use-modules (guix build utils)
6336 (let* ((out (assoc-ref %outputs "out"))
6337 (share-rss-bridge (string-append out "/share/rss-bridge")))
6338 (mkdir-p share-rss-bridge)
6339 (copy-recursively (assoc-ref %build-inputs "source") share-rss-bridge)
6341 (home-page "https://github.com/RSS-Bridge/rss-bridge")
6342 (synopsis "Generate Atom feeds for social networking websites")
6343 (description "rss-bridge generates Atom feeds for social networking
6344 websites lacking feeds. Supported websites include Facebook, Twitter,
6345 Instagram and YouTube.")
6346 (license (list license:public-domain
6347 license:expat)))) ; vendor/simplehtmldom/simple_html_dom.php
6349 (define-public linkchecker
6351 (name "linkchecker")
6357 (url "https://github.com/linkchecker/linkchecker")
6358 (commit (string-append "v" version))))
6360 (search-patches "linkchecker-tests-require-network.patch"))
6361 (file-name (git-file-name name version))
6364 "03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187"))))
6365 (build-system python-build-system)
6367 `(("python2-dnspython" ,python2-dnspython)
6368 ("python2-pyxdg" ,python2-pyxdg)
6369 ("python2-requests" ,python2-requests)))
6371 `(("gettext" ,gettext-minimal)
6372 ("python2-pytest" ,python2-pytest)
6373 ("python2-miniboa" ,python2-miniboa)
6374 ("python2-parameterized" ,python2-parameterized)))
6376 `(#:python ,python-2
6378 (modify-phases %standard-phases
6379 ;; Move the 'check phase to after 'install, so that the installed
6380 ;; library can be used
6382 (add-after 'install 'check
6383 (lambda* (#:key outputs #:allow-other-keys)
6384 (let ((out (assoc-ref outputs "out")))
6385 ;; Set PYTHONPATH so that the installed linkchecker is used
6386 (setenv "PYTHONPATH"
6387 (string-append out "/lib/python2.7/site-packages"
6389 (getenv "PYTHONPATH")))
6390 ;; Remove this directory to avoid it being used when running
6392 (delete-file-recursively "linkcheck")
6394 (invoke "py.test" "tests"))
6396 (home-page "https://linkcheck.github.io/linkchecker")
6397 (synopsis "Check websites for broken links")
6398 (description "LinkChecker is a website validator. It checks for broken
6399 links in websites. It is recursive and multithreaded providing output in
6400 colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It
6401 supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
6403 (license (list license:gpl2+
6404 license:bsd-2 ; linkcheck/better_exchook2.py
6405 license:bsd-3 ; linkcheck/colorama.py
6406 license:psfl ; linkcheck/gzip2.py
6407 license:expat)))) ; linkcheck/mem.py
6409 (define-public cadaver
6416 (uri (string-append "http://www.webdav.org/cadaver/"
6417 name "-" version ".tar.gz"))
6420 "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"))))
6421 (build-system gnu-build-system)
6422 ;; TODO: Unbundle libneon and make build succeed with new neon.
6424 `(#:configure-flags (list "--with-ssl=openssl")
6425 #:tests? #f)) ;No tests included
6427 `(("gettext" ,gettext-minimal)
6428 ("pkg-config" ,pkg-config)
6429 ("intltool" ,intltool)))
6432 ("openssl" ,openssl-1.0)))
6433 (home-page "http://www.webdav.org/cadaver/")
6434 (synopsis "Command-line WebDAV client")
6436 "Cadaver is a command-line WebDAV client for Unix. It supports
6437 file upload, download, on-screen display, namespace operations (move/copy),
6438 collection creation and deletion, and locking operations.")
6439 (license license:gpl2)))
6441 (define-public python-py-ubjson
6443 (name "python-py-ubjson")
6448 (uri (pypi-uri "py-ubjson" version))
6451 "03l9m9w5ip4hw0y69wlys5gzsfb7zcq3a77blj88grgiqhn5vm5n"))))
6452 (build-system python-build-system)
6453 (home-page "https://github.com/Iotic-Labs/py-ubjson")
6454 (synopsis "Universal Binary JSON encoder/decoder")
6456 "Py-ubjson is a Python module providing an Universal Binary JSON
6457 encoder/decoder based on the draft-12 specification for UBJSON.")
6458 (license license:asl2.0)))
6460 (define-public java-tomcat
6462 (name "java-tomcat")
6466 (uri (string-append "mirror://apache/tomcat/tomcat-8/v"
6467 version "/src/apache-tomcat-" version "-src.tar.gz"))
6470 "15lwq3clf21hzk7mma70sffpxjqn8ww5mjq6zhmwcp4m17m22z26"))
6471 (modules '((guix build utils)))
6472 ;; Delete bundled jars.
6475 (for-each delete-file (find-files "." "\\.jar$"))
6476 (for-each delete-file (find-files "." "\\.bat$"))
6478 (build-system ant-build-system)
6480 `(("java-commons-daemon" ,java-commons-daemon)
6481 ("java-ecj" ,java-ecj)))
6483 `(#:build-target "deploy"
6484 #:tests? #f; requires downloading some files.
6486 (modify-phases %standard-phases
6487 (add-after 'unpack 'prevent-download
6489 ;; This directory must exist
6491 ;; We patch build.xml so it doesn't download any dependency, because
6492 ;; we already have all of them.
6493 (substitute* "build.xml"
6494 (("download-compile,") "")
6495 (("depends=\"validate\"") "depends=\"build-prepare\"")
6496 ((",download-validate") ""))
6498 (add-after 'unpack 'strip-timestamps
6500 (substitute* "build.xml"
6501 (("<filter token=\"YEAR\" value=.*")
6502 "<filter token=\"YEAR\" value=\"1970\"/>")
6503 (("<filter token=\"VERSION_BUILT\" value=.*")
6504 "<filter token=\"VERSION_BUILT\" value=\"Jan 1 1970 00:00:00 UTC\"/>"))
6506 (add-after 'unpack 'modify-deploy
6508 ;; The Tomcat build downloads and copies these files to the
6509 ;; bin and lib directory.
6510 ;; We instead symlink to the input (see below).
6511 (substitute* "build.xml"
6512 (("<copy tofile=\"\\$\\{tomcat.build\\}/bin/commons-daemon.jar.*") "")
6513 (("<copy file=\"\\$\\{jdt.jar\\}\" todir=\"\\$\\{tomcat.build\\}/lib\"/>")
6516 (add-after 'install 'symlink-commons-daemon
6517 (lambda* (#:key inputs outputs #:allow-other-keys)
6518 (let* ((commons-daemon (assoc-ref inputs "java-commons-daemon"))
6519 (files (find-files commons-daemon "commons-daemon-.*\\.jar"))
6520 (daemon-jar (car files))
6521 (out-bin (string-append (assoc-ref outputs "out") "/bin"))
6522 (target (string-append out-bin "/commons-daemon.jar")))
6523 (symlink daemon-jar target)
6525 (add-after 'install 'symlink-java-ecj
6526 (lambda* (#:key inputs outputs #:allow-other-keys)
6527 (let* ((java-ecj (assoc-ref inputs "java-ecj"))
6528 (files (find-files java-ecj "ecj.*\\.jar"))
6529 (java-ecj-jar (car files))
6530 (out-lib (string-append (assoc-ref outputs "out") "/lib"))
6531 (target (string-append out-lib "/java-ecj.jar")))
6532 (symlink java-ecj-jar target)
6534 (add-after 'unpack 'generate-properties
6536 ;; This could have been passed to make-flags, but getcwd returns
6537 ;; a different directory then.
6538 (with-output-to-file "build.properties"
6541 (string-append "base.path=" (getcwd) "/downloads\n"))))
6544 (lambda* (#:key outputs #:allow-other-keys)
6545 (let ((out (assoc-ref outputs "out")))
6546 (copy-recursively "output/build" out))
6548 (properties '((cpe-name . "tomcat")))
6549 (home-page "https://tomcat.apache.org")
6550 (synopsis "Java Servlet, JavaServer Pages, Java Expression Language and Java
6552 (description "Apache Tomcat is a free implementation of the Java
6553 Servlet, JavaServer Pages, Java Expression Language and Java WebSocket
6555 (license license:asl2.0)))
6557 (define-public java-eclipse-jetty-test-helper
6559 (name "java-eclipse-jetty-test-helper")
6564 (url "https://github.com/eclipse/jetty.toolchain/")
6565 (commit (string-append "jetty-test-helper-" version))))
6566 (file-name (git-file-name name version))
6569 "1g7cdh03nfwbdxzvwm84ysgvw08xx7431lsjryj2gmf3lrqpizgb"))))
6570 (build-system ant-build-system)
6572 `(#:jar-name "eclipse-jetty-test-helper.jar"
6573 #:source-dir "src/main/java"
6574 #:test-dir "src/test"
6577 (modify-phases %standard-phases
6578 (add-before 'configure 'chdir
6580 (chdir "jetty-test-helper")
6582 (add-before 'build 'fix-paths
6585 ;; This file assumes that the build directory is named "target"
6586 ;; but it is not the case with our ant-build-system. Once we have
6587 ;; maven though, we will have to rebuild this package because this
6588 ;; assumption is correct with maven-build-system.
6590 "src/main/java/org/eclipse/jetty/toolchain/test/MavenTestingUtils.java"
6591 (("\"target\"") "\"build\"")
6592 (("\"tests\"") "\"test-classes\""))
6593 ;; Tests assume we are building with maven, so that the build
6594 ;; directory is named "target", and not "build".
6595 (with-directory-excursion "src/test/java/org/eclipse/jetty/toolchain/test"
6596 (substitute* '("FSTest.java" "OSTest.java" "TestingDirTest.java"
6597 "MavenTestingUtilsTest.java")
6598 (("target/tests") "build/test-classes")
6599 (("\"target") "\"build")))
6602 `(("junit" ,java-junit)
6603 ("hamcrest" ,java-hamcrest-all)))
6604 (home-page "https://www.eclipse.org/jetty/")
6605 (synopsis "Helper classes for jetty tests")
6606 (description "This package contains helper classes for testing the Jetty
6608 ;; This program is licensed under both epl and asl.
6609 (license (list license:epl1.0 license:asl2.0))))
6611 (define-public java-eclipse-jetty-perf-helper
6613 (inherit java-eclipse-jetty-test-helper)
6614 (name "java-eclipse-jetty-perf-helper")
6616 `(#:jar-name "eclipse-jetty-perf-helper.jar"
6617 #:source-dir "src/main/java"
6618 #:tests? #f; no tests
6621 (modify-phases %standard-phases
6622 (add-before 'configure 'chdir
6624 (chdir "jetty-perf-helper")
6627 `(("hdrhistogram" ,java-hdrhistogram)))))
6629 (define-public java-eclipse-jetty-util
6631 (name "java-eclipse-jetty-util")
6635 (uri (string-append "https://github.com/eclipse/jetty.project/"
6636 "archive/jetty-" version ".v20170531.tar.gz"))
6639 "0x7kbdvkmgr6kbsmbwiiyv3bb0d6wk25frgvld9cf8540136z9p1"))))
6640 (build-system ant-build-system)
6642 `(#:jar-name "eclipse-jetty-util.jar"
6643 #:source-dir "src/main/java"
6645 (list "**/Abstract*.java"
6647 "**/InetAddressSetTest.java"
6648 ;; Assumes we are using maven
6649 "**/TypeUtilTest.java"
6650 ;; Error on the style of log
6651 "**/StdErrLogTest.java")
6654 (modify-phases %standard-phases
6655 (add-before 'configure 'chdir
6657 (chdir "jetty-util")
6660 `(("slf4j" ,java-slf4j-api)
6661 ("servlet" ,java-javaee-servletapi)))
6663 `(("junit" ,java-junit)
6664 ("hamcrest" ,java-hamcrest-all)
6665 ("perf-helper" ,java-eclipse-jetty-perf-helper)
6666 ("test-helper" ,java-eclipse-jetty-test-helper)))
6667 (home-page "https://www.eclipse.org/jetty/")
6668 (synopsis "Utility classes for Jetty")
6669 (description "The Jetty Web Server provides an HTTP server and Servlet
6670 container capable of serving static and dynamic content either from a standalone
6671 or embedded instantiation. This package provides utility classes.")
6672 (license (list license:epl1.0 license:asl2.0))))
6674 ;; This version is required by maven-wagon
6675 (define-public java-eclipse-jetty-util-9.2
6677 (inherit java-eclipse-jetty-util)
6681 (uri (string-append "https://github.com/eclipse/jetty.project/"
6682 "archive/jetty-" version ".v20170606.tar.gz"))
6685 "1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
6687 `(#:jar-name "eclipse-jetty-util.jar"
6688 #:source-dir "src/main/java"
6691 (list "**/Abstract*.java"
6693 "**/InetAddressSetTest.java"
6694 ;; Assumes we are using maven
6695 "**/TypeUtilTest.java"
6696 ;; We don't have an implementation for slf4j
6698 ;; Error on the style of log
6699 "**/StdErrLogTest.java")
6701 (modify-phases %standard-phases
6702 (add-before 'configure 'chdir
6704 (chdir "jetty-util")
6706 (add-before 'build 'fix-test-sources
6708 ;; We need to fix issues caused by changes in newer versions of
6709 ;; jetty-test-helper
6710 (let ((src "src/test/java/org/eclipse/jetty/util/resource"))
6711 (substitute* (string-append src "/AbstractFSResourceTest.java")
6712 (("testdir.getDir\\(\\)") "testdir.getPath().toFile()")
6713 (("testdir.getFile\\(\"foo\"\\)")
6714 "testdir.getPathFile(\"foo\").toFile()")
6715 (("testdir.getFile\\(name\\)")
6716 "testdir.getPathFile(name).toFile()")))
6719 (define-public java-eclipse-jetty-io
6721 (inherit java-eclipse-jetty-util)
6722 (name "java-eclipse-jetty-io")
6724 `(#:jar-name "eclipse-jetty-io.jar"
6725 #:source-dir "src/main/java"
6727 #:test-exclude (list "**/Abstract*.java"
6729 "**/EndPointTest.java")
6731 (modify-phases %standard-phases
6732 (add-before 'configure 'chdir
6737 `(("slf4j" ,java-slf4j-api)
6738 ("servlet" ,java-javaee-servletapi)
6739 ("util" ,java-eclipse-jetty-util)))
6740 (synopsis "Jetty :: IO Utility")
6741 (description "The Jetty Web Server provides an HTTP server and Servlet
6742 container capable of serving static and dynamic content either from a standalone
6743 or embedded instantiation. This package provides IO-related utility classes.")))
6745 (define-public java-eclipse-jetty-io-9.2
6747 (inherit java-eclipse-jetty-io)
6748 (version (package-version java-eclipse-jetty-util-9.2))
6749 (source (package-source java-eclipse-jetty-util-9.2))
6751 `(("util" ,java-eclipse-jetty-util-9.2)
6752 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6754 `(("mockito" ,java-mockito-1)
6755 ("cglib" ,java-cglib)
6756 ("objenesis" ,java-objenesis)
6758 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6760 (define-public java-eclipse-jetty-http
6762 (inherit java-eclipse-jetty-util)
6763 (name "java-eclipse-jetty-http")
6765 `(#:jar-name "eclipse-jetty-http.jar"
6766 #:source-dir "src/main/java"
6769 (modify-phases %standard-phases
6770 (add-before 'configure 'chdir
6772 (chdir "jetty-http")
6774 (add-before 'build 'copy-resources
6776 (mkdir-p "build/classes")
6777 (copy-recursively "src/main/resources/" "build/classes/")
6780 `(("slf4j" ,java-slf4j-api)
6781 ("servlet" ,java-javaee-servletapi)
6782 ("io" ,java-eclipse-jetty-io)
6783 ("util" ,java-eclipse-jetty-util)))
6784 (synopsis "Jetty :: Http Utility")
6785 (description "The Jetty Web Server provides an HTTP server and Servlet
6786 container capable of serving static and dynamic content either from a standalone
6787 or embedded instantiation. This package provides HTTP-related utility classes.")))
6789 (define-public java-eclipse-jetty-http-9.2
6791 (inherit java-eclipse-jetty-http)
6792 (version (package-version java-eclipse-jetty-util-9.2))
6793 (source (package-source java-eclipse-jetty-util-9.2))
6795 `(("util" ,java-eclipse-jetty-util-9.2)
6796 ("io" ,java-eclipse-jetty-io-9.2)
6797 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6799 (define-public java-eclipse-jetty-jmx
6801 (inherit java-eclipse-jetty-util)
6802 (name "java-eclipse-jetty-jmx")
6804 `(#:jar-name "eclipse-jetty-jmx.jar"
6805 #:source-dir "src/main/java"
6807 #:tests? #f; FIXME: requires com.openpojo.validation
6809 (modify-phases %standard-phases
6810 (add-before 'configure 'chdir
6815 `(("slf4j" ,java-slf4j-api)
6816 ("servlet" ,java-javaee-servletapi)
6817 ("util" ,java-eclipse-jetty-util)))
6818 (synopsis "Jetty :: JMX Management")
6819 (description "The Jetty Web Server provides an HTTP server and Servlet
6820 container capable of serving static and dynamic content either from a standalone
6821 or embedded instantiation. This package provides the JMX management.")))
6823 (define-public java-eclipse-jetty-jmx-9.2
6825 (inherit java-eclipse-jetty-jmx)
6826 (version (package-version java-eclipse-jetty-util-9.2))
6827 (source (package-source java-eclipse-jetty-util-9.2))
6829 `(("util" ,java-eclipse-jetty-util-9.2)
6830 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6832 (define java-eclipse-jetty-http-test-classes
6834 (inherit java-eclipse-jetty-util)
6835 (name "java-eclipse-jetty-http-test-classes")
6837 `(#:jar-name "eclipse-jetty-http.jar"
6838 #:source-dir "src/test"
6842 (modify-phases %standard-phases
6843 (add-before 'configure 'chdir
6845 (chdir "jetty-http")
6848 `(("slf4j" ,java-slf4j-api)
6849 ("java-javaee-servletapi" ,java-javaee-servletapi)
6850 ("http" ,java-eclipse-jetty-http)
6851 ("io" ,java-eclipse-jetty-io)
6852 ("util" ,java-eclipse-jetty-util)))))
6854 (define java-eclipse-jetty-http-test-classes-9.2
6856 (inherit java-eclipse-jetty-http-test-classes)
6857 (version (package-version java-eclipse-jetty-util-9.2))
6858 (source (package-source java-eclipse-jetty-util-9.2))
6860 `(("http" ,java-eclipse-jetty-http-9.2)
6861 ,@(package-inputs java-eclipse-jetty-http-9.2)))))
6863 (define-public java-eclipse-jetty-server
6865 (inherit java-eclipse-jetty-util)
6866 (name "java-eclipse-jetty-server")
6868 `(#:jar-name "eclipse-jetty-server.jar"
6869 #:source-dir "src/main/java"
6871 #:tests? #f; requires a mockito version we don't have
6873 (modify-phases %standard-phases
6874 (add-before 'configure 'chdir
6876 (chdir "jetty-server")
6878 (add-before 'build 'fix-source
6880 ;; Explicit casts to prevent build failures
6881 (substitute* "src/main/java/org/eclipse/jetty/server/Request.java"
6882 (("append\\(LazyList")
6883 "append((CharSequence)LazyList"))
6885 "src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java"
6887 "Class<\\? extends EventListener> clazz = _classLoader==null"
6888 "\\?Loader.loadClass\\(ContextHandler.class,className\\):"
6889 "_classLoader.loadClass\\(className\\);"))
6890 (string-append "Class<? extends EventListener> clazz = "
6891 "(Class<? extends EventListener>) "
6892 "(_classLoader==null?Loader.loadClass("
6893 "ContextHandler.class,className):"
6894 "_classLoader.loadClass(className));")))
6897 `(("slf4j" ,java-slf4j-api)
6898 ("servlet" ,java-javaee-servletapi)
6899 ("http" ,java-eclipse-jetty-http)
6900 ("io" ,java-eclipse-jetty-io)
6901 ("jmx" ,java-eclipse-jetty-jmx)
6902 ("util" ,java-eclipse-jetty-util)))
6904 `(("test-classes" ,java-eclipse-jetty-http-test-classes)
6905 ,@(package-native-inputs java-eclipse-jetty-util)))
6906 (synopsis "Core jetty server artifact")
6907 (description "The Jetty Web Server provides an HTTP server and Servlet
6908 container capable of serving static and dynamic content either from a standalone
6909 or embedded instantiation. This package provides the core jetty server
6912 (define-public java-eclipse-jetty-server-9.2
6914 (inherit java-eclipse-jetty-server)
6915 (version (package-version java-eclipse-jetty-util-9.2))
6916 (source (package-source java-eclipse-jetty-util-9.2))
6918 `(("util" ,java-eclipse-jetty-util-9.2)
6919 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6920 ("io" ,java-eclipse-jetty-io-9.2)
6921 ("http" ,java-eclipse-jetty-http-9.2)
6922 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6924 `(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
6925 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6927 (define-public java-eclipse-jetty-security
6929 (inherit java-eclipse-jetty-util)
6930 (name "java-eclipse-jetty-security")
6932 `(#:jar-name "eclipse-jetty-security.jar"
6933 #:source-dir "src/main/java"
6935 #:test-exclude (list "**/ConstraintTest.*") ; This test fails
6937 (modify-phases %standard-phases
6938 (add-before 'configure 'chdir
6940 (chdir "jetty-security")
6943 `(("slf4j" ,java-slf4j-api)
6944 ("servlet" ,java-javaee-servletapi)
6945 ("http" ,java-eclipse-jetty-http)
6946 ("server" ,java-eclipse-jetty-server)
6947 ("util" ,java-eclipse-jetty-util)))
6949 `(("io" ,java-eclipse-jetty-io)
6950 ,@(package-native-inputs java-eclipse-jetty-util)))
6951 (synopsis "Jetty security infrastructure")
6952 (description "The Jetty Web Server provides an HTTP server and Servlet
6953 container capable of serving static and dynamic content either from a standalone
6954 or embedded instantiation. This package provides the core jetty security
6957 (define-public java-eclipse-jetty-security-9.2
6959 (inherit java-eclipse-jetty-security)
6960 (version (package-version java-eclipse-jetty-util-9.2))
6961 (source (package-source java-eclipse-jetty-util-9.2))
6963 `(("util" ,java-eclipse-jetty-util-9.2)
6964 ("http" ,java-eclipse-jetty-http-9.2)
6965 ("server" ,java-eclipse-jetty-server-9.2)
6966 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6968 `(("io" ,java-eclipse-jetty-io-9.2)
6969 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6971 (define-public java-eclipse-jetty-servlet
6973 (inherit java-eclipse-jetty-util)
6974 (name "java-eclipse-jetty-servlet")
6976 `(#:jar-name "eclipse-jetty-servlet.jar"
6977 #:source-dir "src/main/java"
6980 (modify-phases %standard-phases
6981 (add-before 'configure 'chdir
6983 (chdir "jetty-servlet")
6986 `(("slf4j" ,java-slf4j-api)
6987 ("java-javaee-servletapi" ,java-javaee-servletapi)
6988 ("http" ,java-eclipse-jetty-http)
6989 ("http-test" ,java-eclipse-jetty-http-test-classes)
6990 ("io" ,java-eclipse-jetty-io)
6991 ("jmx" ,java-eclipse-jetty-jmx)
6992 ("security" ,java-eclipse-jetty-security)
6993 ("server" ,java-eclipse-jetty-server)
6994 ("util" ,java-eclipse-jetty-util)))
6995 (synopsis "Jetty Servlet Container")
6996 (description "The Jetty Web Server provides an HTTP server and Servlet
6997 container capable of serving static and dynamic content either from a standalone
6998 or embedded instantiation. This package provides the core jetty servlet
7001 (define-public java-eclipse-jetty-servlet-9.2
7003 (inherit java-eclipse-jetty-servlet)
7004 (version (package-version java-eclipse-jetty-util-9.2))
7005 (source (package-source java-eclipse-jetty-util-9.2))
7007 `(#:jar-name "eclipse-jetty-servlet.jar"
7008 #:source-dir "src/main/java"
7010 #:tests? #f; doesn't work
7012 (modify-phases %standard-phases
7013 (add-before 'configure 'chdir
7015 (chdir "jetty-servlet")
7018 `(("util" ,java-eclipse-jetty-util-9.2)
7019 ("jmx" ,java-eclipse-jetty-jmx-9.2)
7020 ("io" ,java-eclipse-jetty-io-9.2)
7021 ("http" ,java-eclipse-jetty-http-9.2)
7022 ("security" ,java-eclipse-jetty-security-9.2)
7023 ("http-test" ,java-eclipse-jetty-http-test-classes-9.2)
7024 ("server" ,java-eclipse-jetty-server-9.2)
7025 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
7027 (define-public java-eclipse-jetty-xml
7029 (inherit java-eclipse-jetty-util)
7030 (name "java-eclipse-jetty-xml")
7032 `(#:jar-name "eclipse-jetty-xml.jar"
7033 #:source-dir "src/main/java"
7035 #:tests? #f; most tests require network
7037 (modify-phases %standard-phases
7038 (add-before 'configure 'chdir
7043 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)))
7045 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
7046 ,@(package-native-inputs java-eclipse-jetty-util)))))
7048 (define-public java-eclipse-jetty-xml-9.2
7050 (inherit java-eclipse-jetty-xml)
7051 (version (package-version java-eclipse-jetty-util-9.2))
7052 (source (package-source java-eclipse-jetty-util-9.2))
7054 `(#:jar-name "eclipse-jetty-xml.jar"
7055 #:source-dir "src/main/java"
7057 #:tests? #f; most tests require network
7059 (modify-phases %standard-phases
7060 (add-before 'configure 'chdir
7065 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
7066 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7068 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
7069 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7071 (define-public java-eclipse-jetty-webapp
7073 (inherit java-eclipse-jetty-util)
7074 (name "java-eclipse-jetty-webapp")
7076 `(#:jar-name "eclipse-jetty-webapp.jar"
7077 #:source-dir "src/main/java"
7080 #:test-exclude (list "**/WebAppContextTest.java")
7082 (modify-phases %standard-phases
7083 (add-before 'configure 'chdir
7085 (chdir "jetty-webapp")
7088 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)
7089 ("java-eclipse-jetty-http" ,java-eclipse-jetty-http)
7090 ("java-eclipse-jetty-server" ,java-eclipse-jetty-server)
7091 ("java-eclipse-jetty-servlet" ,java-eclipse-jetty-servlet)
7092 ("java-eclipse-jetty-security" ,java-eclipse-jetty-security)
7093 ("java-eclipse-jetty-xml" ,java-eclipse-jetty-xml)
7094 ("java-javaee-servletapi" ,java-javaee-servletapi)))
7096 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
7097 ,@(package-native-inputs java-eclipse-jetty-util)))))
7099 (define-public java-eclipse-jetty-webapp-9.2
7101 (inherit java-eclipse-jetty-webapp)
7102 (version (package-version java-eclipse-jetty-util-9.2))
7103 (source (package-source java-eclipse-jetty-util-9.2))
7105 `(#:jar-name "eclipse-jetty-webapp.jar"
7106 #:source-dir "src/main/java"
7108 #:test-exclude (list "**/WebAppContextTest.java")
7110 (modify-phases %standard-phases
7111 (add-before 'configure 'chdir
7113 (chdir "jetty-webapp")
7116 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
7117 ("java-eclipse-jetty-http-9.2" ,java-eclipse-jetty-http-9.2)
7118 ("java-eclipse-jetty-server-9.2" ,java-eclipse-jetty-server-9.2)
7119 ("java-eclipse-jetty-servlet-9.2" ,java-eclipse-jetty-servlet-9.2)
7120 ("java-eclipse-jetty-security-9.2" ,java-eclipse-jetty-security-9.2)
7121 ("java-eclipse-jetty-xml-9.2" ,java-eclipse-jetty-xml-9.2)
7122 ("java-javaee-servletapi" ,java-javaee-servletapi)
7123 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7125 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
7126 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7128 (define-public java-jsoup
7135 (url "https://github.com/jhy/jsoup")
7136 (commit (string-append "jsoup-" version))))
7137 (file-name (git-file-name name version))
7140 "1hdpdx0x140r5x3yc251v7dj1h4j5a7nh9k885aw9q5vvz49lkf4"))))
7141 (build-system ant-build-system)
7143 `(#:jar-name "jsoup.jar"
7144 #:source-dir "src/main/java"
7146 (modify-phases %standard-phases
7147 (add-before 'build 'copy-resources
7149 (let ((classes-dir (string-append (getcwd) "/build/classes")))
7150 (with-directory-excursion "src/main/java"
7151 (for-each (lambda (file)
7152 (let ((dist (string-append classes-dir "/" file)))
7153 (mkdir-p (dirname dist))
7154 (copy-file file dist)))
7155 (find-files "." ".*.properties"))))
7158 `(("java-junit" ,java-junit)
7159 ("java-hamcrest-core" ,java-hamcrest-core)
7160 ("java-gson" ,java-gson)))
7161 (home-page "https://jsoup.org")
7162 (synopsis "HTML parser")
7163 (description "Jsoup is a Java library for working with real-world HTML. It
7164 provides a very convenient API for extracting and manipulating data, using the
7165 best of DOM, CSS, and jQuery-like methods.")
7166 (license license:expat)))
7168 (define-public java-signpost-core
7170 (name "java-signpost-core")
7175 (url "https://github.com/mttkay/signpost")
7177 (file-name (git-file-name name version))
7180 "1l04yj2znch3hpyw90c4g4jan453w7d88l84bgl0c72i2kbb8z7h"))))
7181 (build-system ant-build-system)
7183 `(#:jar-name "signpost-core.jar"
7184 #:source-dir "signpost-core/src/main/java"
7185 #:test-dir "signpost-core/src/test"
7186 ;; Tests all fail with InstantiationException from mockito
7189 `(("java-commons-codec" ,java-commons-codec)))
7190 (home-page "https://github.com/mttkay/signpost")
7191 (synopsis "Lightweight client-side OAuth library for Java")
7192 (description "Signpost is the easy and intuitive solution for signing
7193 HTTP messages on the Java platform in conformance with the OAuth Core 1.0a
7194 standard. Signpost follows a modular and flexible design, allowing you to
7195 combine it with different HTTP messaging layers.")
7196 (license license:asl2.0)))
7198 (define-public tidyp
7205 (uri (string-append "https://github.com/downloads/petdance/tidyp/tidyp-"
7209 "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10"))))
7210 (build-system gnu-build-system)
7211 ;; ./test-thing.sh tries to run ./testall.sh, which is not included.
7212 (arguments `(#:tests? #f))
7213 (home-page "http://www.tidyp.com/")
7214 (synopsis "Validate HTML")
7215 (description "Tidyp is a program that can validate your HTML, as well as
7216 modify it to be more clean and standard. tidyp does not validate HTML 5.
7218 libtidyp is the library on which the program is based. It can be used by any
7219 other program that can interface to it. The Perl module @code{HTML::Tidy} is
7220 based on this library, allowing Perl programmers to easily validate HTML.")
7221 ;; See htmldoc/license.html
7222 (license license:bsd-3)))
7224 (define-public perl-html-tidy
7226 (name "perl-html-tidy")
7231 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tidy-"
7235 "1iyp2fd6j75cn1xvcwl2lxr8qpjxssy2360cyqn6g3kzd1fzdyxw"))))
7236 (build-system perl-build-system)
7239 (modify-phases %standard-phases
7240 (add-after 'unpack 'fix-tidyp-paths
7241 (lambda* (#:key inputs #:allow-other-keys)
7242 (substitute* "Makefile.PL"
7243 (("^my \\$inc = \"" line)
7245 "-I" (assoc-ref inputs "tidyp") "/include/tidyp "))
7248 "-L" (assoc-ref inputs "tidyp") "/lib")))
7251 `(("perl-libwww" ,perl-libwww)
7254 `(("perl-test-exception" ,perl-test-exception)))
7255 (home-page "https://metacpan.org/release/HTML-Tidy")
7256 (synopsis "(X)HTML validation in a Perl object")
7257 (description "@code{HTML::Tidy} is an HTML checker in a handy dandy
7258 object. It's meant as a replacement for @code{HTML::Lint}, which is written
7259 in Perl but is not nearly as capable as @code{HTML::Tidy}.")
7260 (license license:artistic2.0)))
7262 (define-public geomyidae
7270 (url "git://r-36.net/geomyidae")
7271 (commit (string-append "v" version))))
7272 (file-name (git-file-name name version))
7274 (base32 "02afgrk36wkdkflyqr2xgh49v9zq6ma454jshk7igvhpxfb5l3ks"))))
7275 (build-system gnu-build-system)
7277 `(#:make-flags (list "CC=gcc"
7278 (string-append "PREFIX="
7279 (assoc-ref %outputs "out")))
7280 #:tests? #f ; no tests
7281 #:phases (modify-phases %standard-phases
7282 (delete 'configure))))
7283 (home-page "http://r-36.net/scm/geomyidae/file/README.html")
7284 (synopsis "Small Gopher server")
7286 "Geomyidae is a server for distributed hypertext protocol Gopher. Its
7290 @item Gopher menus (see @file{index.gph} for an example);
7291 @item directory listings (if no @file{index.gph} was found);
7292 @item CGI support (@file{.cgi} files are executed);
7293 @item search support in CGI files;
7294 @item logging with multiple log levels.
7296 (license license:expat)))
7298 (define-public cat-avatar-generator
7300 (name "cat-avatar-generator")
7305 (url "https://framagit.org/Deevad/cat-avatar-generator.git")
7306 (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
7307 (file-name (string-append name "-" version))
7310 "0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
7311 (build-system trivial-build-system)
7313 `(#:modules ((guix build utils))
7316 (use-modules (guix build utils)
7320 (let ((source (assoc-ref %build-inputs "source"))
7321 (php-dir (string-append %output "/share/web/" ,name "/")))
7322 ;; The cache directory must not be in the store, but in a writable
7323 ;; location. The webserver will give us this location.
7324 (copy-recursively source php-dir)
7325 (substitute* (string-append php-dir "/cat-avatar-generator.php")
7326 (("\\$cachepath = .*")
7327 "if(isset($_SERVER['CACHE_DIR']))
7328 $cachepath = $_SERVER['CACHE_DIR'];
7330 die('You need to set the CACHE_DIR variable first.');"))
7332 (home-page "https://framagit.org/Deevad/cat-avatar-generator")
7333 (synopsis "Random avatar generator")
7334 (description "Cat avatar generator is a generator of cat pictures optimised
7335 to generate random avatars, or defined avatar from a \"seed\". This is a
7336 derivation by David Revoy from the original MonsterID by Andreas Gohr.")
7337 ;; expat for the code, CC-BY 4.0 for the artwork
7338 (license (list license:expat
7339 license:cc-by4.0))))
7341 (define-public nghttp2
7345 (replacement nghttp2-1.41)
7349 (uri (string-append "https://github.com/nghttp2/nghttp2/"
7350 "releases/download/v" version "/"
7351 "nghttp2-" version ".tar.xz"))
7354 "0wwhwv7cvi1vxpdjwvg0kpa4jzhszclpnwrwfcw728zz53a47z09"))))
7355 (build-system gnu-build-system)
7356 (outputs (list "out"
7357 "lib")) ; only libnghttp2
7359 `(("pkg-config" ,pkg-config)
7361 ;; Required by tests.
7363 ("tzdata" ,tzdata-for-tests)))
7365 ;; Required to build the tools (i.e. without ‘--enable-lib-only’).
7366 `(("c-ares" ,c-ares)
7367 ("jansson" ,jansson) ; for HPACK tools
7368 ,@(if (hurd-target?) '()
7369 `(("jemalloc" ,jemalloc))) ; fight nghttpd{,x} heap fragmentation
7371 ("libxml2" ,libxml2) ; for ‘nghttp -a’
7372 ("openssl" ,openssl)
7373 ,@(if (hurd-target?)
7374 `(("openssl-static" ,openssl "static"))
7378 (list (string-append "--libdir=" (assoc-ref %outputs "lib") "/lib")
7379 "--enable-app" ; build all the tools
7380 "--enable-hpack-tools" ; ...all the tools
7381 "--disable-examples"
7382 "--disable-static") ; don't bother building .a files
7384 (modify-phases %standard-phases
7385 (add-after 'unpack 'break-circular-reference
7386 ;; libnghttp2.pc by default retains a reference to the ‘out’ output,
7387 ;; which is not allowed. Break this cycle. While we could install
7388 ;; only the library to ‘out’ and move everything else to a separate
7389 ;; output, this would inconvenience the majority of (human) users.
7390 (lambda* (#:key outputs #:allow-other-keys)
7391 (substitute* "lib/libnghttp2.pc.in"
7393 (assoc-ref outputs "lib")))
7395 (add-before 'check 'set-timezone-directory
7396 (lambda* (#:key inputs native-inputs #:allow-other-keys)
7397 (setenv "TZDIR" (string-append
7398 (assoc-ref (or native-inputs inputs) "tzdata")
7401 (home-page "https://nghttp2.org/")
7402 (synopsis "HTTP/2 protocol client, proxy, server, and library")
7404 "nghttp2 implements the Hypertext Transfer Protocol, version
7407 A reusable C library provides the HTTP/2 framing layer, with several tools built
7411 @item @command{nghttp}, a command-line HTTP/2 client. It exposes many advanced
7412 and low-level aspects of the protocol and is useful for debugging.
7413 @item @command{nghttpd}, a fast, multi-threaded HTTP/2 static web server that
7414 serves files from a local directory.
7415 @item @command{nghttpx}, a fast, multi-threaded HTTP/2 reverse proxy that can be
7416 deployed in front of existing web servers that don't support HTTP/2.
7417 Both @command{nghttpd} and @command{nghttpx} can fall back to HTTP/1.1 for
7418 backwards compatibility with clients that don't speak HTTP/2.
7419 @item @command{h2load} for benchmarking (only!) your own HTTP/2 servers.
7420 @item HTTP/2 uses a header compression method called @dfn{HPACK}.
7421 nghttp2 provides a HPACK encoder and decoder as part of its public API.
7422 @item @command{deflatehd} converts JSON data or HTTP/1-style header fields to
7423 compressed JSON header blocks.
7424 @item @command{inflatehd} converts such compressed headers back to JSON pairs.
7426 (license license:expat)))
7428 (define-public nghttp2-1.41 ;fixes CVE-2020-11080
7435 (uri (string-append "https://github.com/nghttp2/nghttp2/"
7436 "releases/download/v" version "/"
7437 "nghttp2-" version ".tar.xz"))
7440 "1hk77vngjmvvzb5y1gi1aqwf6qywrc7yak08zvzb7x81qs6mphmb"))))))
7442 (define-public hpcguix-web
7443 (let ((commit "9de63562b06b4aef3a3afe5ecb18d3c91e57ee74")
7446 (name "hpcguix-web")
7447 (version (git-version "0.0.1" revision commit))
7451 (url "https://github.com/UMCUGenetics/hpcguix-web")
7453 (file-name (git-file-name name version))
7456 "0wjgj2s7v2cyz6dx24c111rxs99i84sfvxl4ch8brnh02j2606jz"))))
7457 (build-system gnu-build-system)
7459 `(#:modules ((guix build gnu-build-system)
7465 (modify-phases %standard-phases
7466 (add-before 'configure 'set-variables
7468 ;; This prevents a few warnings
7469 (setenv "GUILE_AUTO_COMPILE" "0")
7470 (setenv "XDG_CACHE_HOME" (getcwd))
7472 (add-after 'install 'wrap-program
7473 (lambda* (#:key inputs outputs #:allow-other-keys)
7474 (let* ((out (assoc-ref outputs "out"))
7475 (guix (assoc-ref inputs "guix"))
7476 (guile (assoc-ref inputs "guile"))
7477 (gcrypt (assoc-ref inputs "guile-gcrypt"))
7478 (git (assoc-ref inputs "guile-git"))
7479 (bs (assoc-ref inputs "guile-bytestructures"))
7480 (json (assoc-ref inputs "guile-json"))
7481 (guile-cm (assoc-ref inputs
7482 "guile-commonmark"))
7483 (deps (list guile gcrypt git bs guile-cm guix json))
7486 (open-pipe* OPEN_READ
7487 (string-append guile "/bin/guile")
7488 "-c" "(display (effective-version))")))
7490 (map (cut string-append <>
7491 "/share/guile/site/"
7495 (gopath (string-join
7496 (map (cut string-append <>
7497 "/lib/guile/" effective
7501 (wrap-program (string-append out "/bin/run")
7502 `("GUILE_LOAD_PATH" ":" prefix (,path))
7503 `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath)))
7507 `(("autoconf" ,autoconf)
7508 ("automake" ,automake)
7509 ("uglify-js" ,uglify-js)
7510 ("pkg-config" ,pkg-config)))
7512 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
7515 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
7516 ("guile-commonmark" ,guile-commonmark)
7517 ("guile-json" ,guile-json-4)))
7518 (home-page "https://github.com/UMCUGenetics/hpcguix-web")
7519 (synopsis "Web interface for cluster deployments of Guix")
7520 (description "Hpcguix-web provides a web interface to the list of packages
7521 provided by Guix. The list of packages is searchable and provides
7522 instructions on how to use Guix in a shared HPC environment.")
7523 (license license:agpl3+))))
7525 (define-public httrack
7531 (uri (string-append "https://mirror.httrack.com/historical/"
7532 "httrack-" version ".tar.gz"))
7535 "09a0gm67nml86qby1k1gh7rdxamnrnzwr6l9r5iiq94favjs0xrl"))))
7536 (build-system gnu-build-system)
7538 `(("libressl" ,libressl)
7540 (home-page "https://www.httrack.com/")
7541 (synopsis "Easy-to-use offline browser utility")
7542 (description "HTTrack allows you to download a World Wide Web site from
7543 the Internet to a local directory, building recursively all directories,
7544 getting HTML, images, and other files from the server to your computer.
7546 HTTrack arranges the original site's relative link-structure. Simply open
7547 a page of the @emph{mirrored} website in your browser, and you can browse the
7548 site from link to link, as if you were viewing it online. HTTrack can also
7549 update an existing mirrored site, and resume interrupted downloads.
7551 HTTrack is fully configurable, and has an integrated help system.")
7552 (license license:gpl3+)))
7561 (uri (pypi-uri "buku" version))
7562 (file-name (git-file-name name version))
7565 "1g1xhdskfn72xaraqzz2v8dl2iza7bzfpn17z2wdrzkq3ih7yvgg"))))
7566 (build-system python-build-system)
7568 `(#:tests? #f)) ;FIXME: many tests need network access
7570 `(("python-beautifulsoup4" ,python-beautifulsoup4)
7571 ("python-certifi" ,python-certifi)
7572 ("python-cryptography" ,python-cryptography)
7573 ("python-html5lib" ,python-html5lib)
7574 ("python-urllib3" ,python-urllib3)))
7575 (home-page "https://github.com/jarun/buku")
7576 (synopsis "Bookmark manager")
7578 "buku is a powerful bookmark manager written in Python3 and SQLite3.
7579 @command{buku} can auto-import bookmarks from your browser and present them
7580 in an interactive command-line interface that lets you compose and update
7581 bookmarks directly. It can also present them in a web interface with
7582 @command{bukuserver}.")
7583 (license license:gpl3+)))
7585 (define-public anonip
7591 (uri (pypi-uri "anonip" version))
7594 "0ckn9nnfhpdnz8b92q8pkysdqj6pdh71ckfqvfj0z01cq0hzbhd2"))))
7595 (build-system python-build-system)
7596 (home-page "https://github.com/DigitaleGesellschaft/Anonip")
7597 (synopsis "Anonymize IP addresses in log files")
7599 "Anonip masks the last bits of IPv4 and IPv6 addresses in log files.
7600 That way most of the relevant information is preserved, while the IP address
7601 does not match a particular individuum anymore.
7603 Depending on your Web server, the log entries may be piped to Anonip directly
7604 or via a FIFO (named pipe). Thus the unmasked IP addresses will never be
7605 written to any file.
7607 It's also possible to rewrite existing log files.
7609 Anonip can also be uses as a Python module in your own Python application.")
7610 (license license:bsd-3)))
7612 (define-public poussetaches
7614 (name "poussetaches")
7620 (url "https://github.com/tsileo/poussetaches")
7622 (file-name (git-file-name name version))
7625 "0kckcwvqklavd855np9aq5js6mg84isrlwchr504yigwma0sm7hm"))))
7626 (build-system go-build-system)
7628 `(("go-github-com-robfig-cron" ,go-github-com-robfig-cron)
7629 ("go-golang-org-x-time" ,go-golang-org-x-time)))
7631 `(#:import-path "github.com/tsileo/poussetaches"))
7632 (home-page "https://github.com/tsileo/poussetaches")
7633 (synopsis "Lightweight asynchronous task execution service")
7634 (description "Poussetaches (which literally means \"push tasks\" in
7635 French) is a lightweight asynchronous task execution service that aims to
7636 replace Celery and RabbitMQ for small Python applications.
7638 The app posts base64-encoded payload to poussetaches and specifies the
7639 endpoint that will be used to trigger the task. Poussetaches makes HTTP
7640 requests with the registered payload until the right status code is
7642 (license license:isc)))
7644 (define-public htmlcxx
7652 (string-append "mirror://sourceforge/htmlcxx/v"
7653 version "/htmlcxx-" version ".tar.gz"))
7655 (base32 "1j3mzjlczjrk4ahc43s6kzpvzypzjmqz4sillnca5yadrwwgjf2x"))))
7656 (build-system gnu-build-system)
7657 (home-page "http://htmlcxx.sourceforge.net/")
7658 (synopsis "Simple non-validating CSS1 and HTML parser for C++")
7659 (description "htmlcxx is a simple non-validating CSS1 and HTML parser for
7660 C++. Although there are several other HTML parsers available, htmlcxx has some
7661 characteristics that make it unique:
7663 @item STL like navigation of DOM tree, using excelent's tree.hh library from
7665 @item It is possible to reproduce exactly, character by character, the original
7666 document from the parse tree
7667 @item Bundled CSS parser
7668 @item Optional parsing of attributes
7669 @item C++ code that looks like C++ (not so true anymore)
7670 @item Offsets of tags/elements in the original document are stored in the nodes
7673 (license (list license:lgpl2.0
7677 (define-public librocket
7686 (url "https://github.com/libRocket/libRocket")
7687 (commit (string-append "release-" version))))
7688 (file-name (git-file-name name version))
7690 (base32 "1n6gq007vqijyfasfnfg6c8d2rc9qarl4bhzbgkz062m4h5izlfs"))))
7691 (build-system cmake-build-system)
7693 `(#:tests? #f ; No tests.
7695 (modify-phases %standard-phases
7696 (add-after 'unpack 'chdir
7698 (chdir "Build"))))))
7700 `(("freetype" ,freetype)))
7701 (home-page "https://github.com/libRocket/libRocket") ; http://librocket.com/ is down.
7702 (synopsis "HTML/CSS user interface library")
7703 (description "libRocket is a C++ user interface package based on the HTML
7704 and CSS standards. libRocket uses the open standards XHTML1.0 and
7705 CSS2.0 (while borrowing features from HTML5 and CSS3), and extends them with
7706 features suited towards real-time applications. It is designed as a complete
7707 solution for any project's interface needs:
7710 @item Dynamic layout system.
7711 @item Efficient application-wide styling, with a custom-built templating engine.
7712 @item Fully featured control set: buttons, sliders, drop-downs, etc.
7713 @item Runtime visual debugging suite.
7714 @item Easily integrated and extensible with Python or Lua scripting.
7716 (license license:expat)))
7718 (define-public gmnisrv
7719 (let ((commit "d484ba0ab0020866535a44be5948c9482b8f2b8d")
7723 (version (git-version "0" revision commit))
7724 (home-page "https://git.sr.ht/~sircmpwn/gmnisrv")
7732 "11phipixsxx1jgm42agp76p5s68l0zj65kgb41vzaymgwcq79ivn"))
7733 (file-name (git-file-name name version))))
7734 (build-system gnu-build-system)
7737 (modify-phases %standard-phases
7738 (add-before 'configure 'set-variables
7744 `(("openssl" ,openssl)))
7746 `(("pkg-config" ,pkg-config)
7749 `(("mailcap" ,mailcap)))
7750 (synopsis "Simple Gemini protocol server")
7751 (description "gmnisrv is a simple Gemini protocol server written in C.")
7752 (license (list license:gpl3+
7753 license:bsd-3))))) ;; for ini.c and ini.h