2013-09-29 18:55:47 +00:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2015-02-15 10:41:58 +00:00
|
|
|
|
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
|
2013-09-29 18:55:47 +00:00
|
|
|
|
;;; Copyright © 2013 Aljosha Papsch <misc@rpapsch.de>
|
2020-02-05 13:35:39 +00:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
|
2016-01-31 20:22:17 +00:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
|
2021-04-28 07:36:23 +00:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
|
2018-02-12 14:12:36 +00:00
|
|
|
|
;;; Copyright © 2018 Raoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>
|
2015-01-31 23:03:19 +00:00
|
|
|
|
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
|
2020-02-04 05:06:09 +00:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Eric Bavier <bavier@posteo.net>
|
2015-08-17 20:06:01 +00:00
|
|
|
|
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
|
2016-03-28 12:25:24 +00:00
|
|
|
|
;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
|
2016-03-26 21:49:42 +00:00
|
|
|
|
;;; Copyright © 2016 Jelle Licht <jlicht@fsfe.org>
|
2021-03-21 20:18:51 +00:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
|
2016-04-14 14:52:51 +00:00
|
|
|
|
;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
|
2016-04-25 03:03:17 +00:00
|
|
|
|
;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
|
2016-06-08 22:22:14 +00:00
|
|
|
|
;;; Copyright © 2016 Clément Lassieur <clement@lassieur.org>
|
mailmap: Update entries for Nikita.
* .mailmap: change email and name for Nikita.
* Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish,
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/cinnamon.scm,
gnu/packages/compression.scm, gnu/packages/crypto.scm,
gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm,
gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
gnu/packages/enlightenment.scm, gnu/packages/erlang.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm,
gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm,
gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.scm,
gnu/packages/haskell.scm, gnu/packages/image-viewers.scm,
gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm,
gnu/packages/libcanberra.scm, gnu/packages/linux.scm,
gnu/packages/lisp-xyz.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm,
gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm,
gnu/packages/ncurses.scm, gnu/packages/networking.scm,
gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm, gnu/packages/python-xyz.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm,
gnu/packages/rust.scm, gnu/packages/scheme.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm,
gnu/packages/tor.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-11 11:05:45 +00:00
|
|
|
|
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
|
2019-01-31 10:38:17 +00:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018, 2019 Arun Isaac <arunisaac@systemreboot.net>
|
2021-01-01 21:34:09 +00:00
|
|
|
|
;;; Copyright © 2016–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
2016-12-22 03:52:14 +00:00
|
|
|
|
;;; Copyright © 2016 Bake Timmons <b3timmons@speedymail.org>
|
2017-01-25 07:50:30 +00:00
|
|
|
|
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
|
2020-02-26 15:15:47 +00:00
|
|
|
|
;;; Copyright © 2017, 2018, 2020 Marius Bakke <mbakke@fastmail.com>
|
2017-08-28 02:27:56 +00:00
|
|
|
|
;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
|
2017-10-23 07:05:42 +00:00
|
|
|
|
;;; Copyright © 2017 Petter <petter@mykolab.ch>
|
2021-04-05 14:53:12 +00:00
|
|
|
|
;;; Copyright © 2017, 2021 Pierre Langlois <pierre.langlois@gmx.com>
|
2017-11-06 09:32:05 +00:00
|
|
|
|
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
|
2020-01-20 20:30:25 +00:00
|
|
|
|
;;; Copyright © 2017, 2019, 2020 Christopher Baines <mail@cbaines.net>
|
2019-05-03 10:11:58 +00:00
|
|
|
|
;;; Copyright © 2018, 2019 Julien Lepiller <julien@lepiller.eu>
|
2018-05-30 09:41:46 +00:00
|
|
|
|
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
|
2018-06-28 08:29:53 +00:00
|
|
|
|
;;; Copyright © 2018 Gábor Boskovits <boskovits@gmail.com>
|
2018-08-23 11:33:20 +00:00
|
|
|
|
;;; Copyright © 2018 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
|
2018-11-11 18:23:27 +00:00
|
|
|
|
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
|
2021-01-29 22:59:25 +00:00
|
|
|
|
;;; Copyright © 2019, 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
2019-05-03 16:42:32 +00:00
|
|
|
|
;;; Copyright © 2019 Brendan Tildesley <mail@brendan.scot>
|
2019-06-11 02:05:28 +00:00
|
|
|
|
;;; Copyright © 2019 Alex Griffin <a@ajgrf.com>
|
2019-07-02 14:19:18 +00:00
|
|
|
|
;;; Copyright © 2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2020-02-09 22:12:16 +00:00
|
|
|
|
;;; Copyright © 2019 Jakob L. Kreuze <zerodaysfordays@sdf.org>
|
2019-07-01 13:31:48 +00:00
|
|
|
|
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
|
2019-07-31 11:18:08 +00:00
|
|
|
|
;;; Copyright © 2019 Pierre-Moana Levesque <pierre.moana.levesque@gmail.com>
|
2020-03-20 06:28:07 +00:00
|
|
|
|
;;; Copyright © 2019, 2020 Florian Pelz <pelzflorian@pelzflorian.de>
|
2020-02-01 13:00:37 +00:00
|
|
|
|
;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si>
|
2020-02-12 12:51:37 +00:00
|
|
|
|
;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org>
|
2020-02-14 16:45:21 +00:00
|
|
|
|
;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
|
2020-03-07 08:36:51 +00:00
|
|
|
|
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
2020-03-22 12:34:01 +00:00
|
|
|
|
;;; Copyright © 2018, 2019, 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
|
2021-01-04 14:14:46 +00:00
|
|
|
|
;;; Copyright © 2020, 2021 Paul Garlick <pgarlick@tourbillion-technology.com>
|
2020-07-28 09:13:10 +00:00
|
|
|
|
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
|
2021-01-19 04:57:05 +00:00
|
|
|
|
;;; Copyright © 2020, 2021 Ryan Prior <rprior@protonmail.com>
|
2020-10-20 19:17:38 +00:00
|
|
|
|
;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@posteo.ro>
|
2021-02-15 19:54:42 +00:00
|
|
|
|
;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
|
2021-04-15 04:12:07 +00:00
|
|
|
|
;;; Copyright © 2021 la snesne <lasnesne@lagunposprasihopre.org>
|
2013-09-29 18:55:47 +00:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
(define-module (gnu packages web)
|
2014-12-10 22:39:48 +00:00
|
|
|
|
#:use-module (ice-9 match)
|
2019-04-27 09:36:34 +00:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2013-09-29 18:55:47 +00:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2019-09-15 18:16:06 +00:00
|
|
|
|
#:use-module (guix gexp)
|
2015-02-07 02:14:11 +00:00
|
|
|
|
#:use-module (guix cvs-download)
|
2017-08-03 14:47:06 +00:00
|
|
|
|
#:use-module (guix hg-download)
|
2020-10-12 06:46:27 +00:00
|
|
|
|
#:use-module (guix git-download)
|
2015-12-26 16:47:07 +00:00
|
|
|
|
#:use-module (guix utils)
|
2020-10-12 06:46:27 +00:00
|
|
|
|
#:use-module (guix build-system ant)
|
2020-12-02 22:45:02 +00:00
|
|
|
|
#:use-module (guix build-system cargo)
|
2020-10-12 06:46:27 +00:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2021-02-26 00:45:04 +00:00
|
|
|
|
#:use-module (guix build-system copy)
|
2016-04-14 14:52:51 +00:00
|
|
|
|
#:use-module (guix build-system glib-or-gtk)
|
2020-10-12 06:46:27 +00:00
|
|
|
|
#:use-module (guix build-system gnu)
|
|
|
|
|
#:use-module (guix build-system go)
|
2020-12-09 17:08:28 +00:00
|
|
|
|
#:use-module (guix build-system meson)
|
2014-08-28 09:38:12 +00:00
|
|
|
|
#:use-module (guix build-system perl)
|
2016-09-18 13:58:25 +00:00
|
|
|
|
#:use-module (guix build-system python)
|
2020-12-09 17:08:28 +00:00
|
|
|
|
#:use-module (guix build-system qt)
|
2017-08-31 11:38:27 +00:00
|
|
|
|
#:use-module (guix build-system scons)
|
2020-10-12 06:46:27 +00:00
|
|
|
|
#:use-module (guix build-system trivial)
|
2015-04-07 22:03:04 +00:00
|
|
|
|
#:use-module (gnu packages)
|
2018-06-26 02:09:58 +00:00
|
|
|
|
#:use-module (gnu packages admin)
|
2018-02-25 16:46:16 +00:00
|
|
|
|
#:use-module (gnu packages adns)
|
2013-09-29 18:55:47 +00:00
|
|
|
|
#:use-module (gnu packages apr)
|
2020-10-12 06:46:27 +00:00
|
|
|
|
#:use-module (gnu packages autotools)
|
|
|
|
|
#:use-module (gnu packages base)
|
|
|
|
|
#:use-module (gnu packages bison)
|
2020-12-09 17:08:28 +00:00
|
|
|
|
#:use-module (gnu packages bittorrent)
|
2019-07-17 18:11:16 +00:00
|
|
|
|
#:use-module (gnu packages boost)
|
2017-02-12 03:24:49 +00:00
|
|
|
|
#:use-module (gnu packages check)
|
gnu: Move 'which' to (gnu packages base).
* gnu/packages/which.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove it.
* gnu/packages/base.scm (which): New variable.
* gnu/packages/aspell.scm, gnu/packages/audio.scm,
gnu/packages/autogen.scm, gnu/packages/cdrom.scm,
gnu/packages/compression.scm, gnu/packages/datamash.scm,
gnu/packages/games.scm, gnu/packages/glib.scm,
gnu/packages/gnu-pw-mgr.scm, gnu/packages/gnutls.scm,
gnu/packages/gps.scm, gnu/packages/guile.scm,
gnu/packages/java.scm, gnu/packages/libevent.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/node.scm, gnu/packages/ntp.scm,
gnu/packages/orpheus.scm, gnu/packages/pciutils.scm,
gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/sawfish.scm,
gnu/packages/scheme.scm, gnu/packages/ssh.scm,
gnu/packages/statistics.scm, gnu/packages/texlive.scm,
gnu/packages/wdiff.scm: Adjust accordingly.
2015-03-04 16:21:21 +00:00
|
|
|
|
#:use-module (gnu packages compression)
|
2020-12-05 13:10:32 +00:00
|
|
|
|
#:use-module (gnu packages crates-gtk)
|
2020-12-02 22:45:02 +00:00
|
|
|
|
#:use-module (gnu packages crates-io)
|
gnu: Move Sphinx and friends to (gnu packages sphinx).
* gnu/packages/python-xyz.scm (python-sphinxcontrib-websupport,
python2-sphinxcontrib-websupport, python-sphinx, python2-sphinx,
python-sphinx-gallery, python2-sphinx-gallery, python-sphinx-rtd-theme,
python2-sphinx-rtd-theme, python-guzzle-sphinx-theme,
python2-guzzle-sphinx-theme, python-sphinxcontrib-newsfeed,
python-sphinxcontrib-programoutput, python2-sphinxcontrib-programoutput,
python-sphinx-repoze-interface, python2-sphinx-repoze-interface,
python-sphinx-cloud-sptheme, python2-sphinx-cloud-sptheme,
python-sphinx-alabaster-theme, python2-sphinx-alabaster-theme,
python-sphinx-me, python-sphinxcontrib-svg2pdfconverter): Move to ...
(gnu):
* gnu/packages/sphinx.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/admin.scm, gnu/packages/bioinformatics.scm,
gnu/packages/calendar.scm, gnu/packages/cluster.scm,
gnu/packages/databases.scm, gnu/packages/dav.scm, gnu/packages/disk.scm,
gnu/packages/django.scm, gnu/packages/elf.scm, gnu/packages/emacs-xyz.scm,
gnu/packages/emulators.scm, gnu/packages/finance.scm, gnu/packages/image.scm,
gnu/packages/libffi.scm, gnu/packages/mail.scm, gnu/packages/mpd.scm,
gnu/packages/openstack.scm, gnu/packages/pdf.scm, gnu/packages/python-web.scm,
gnu/packages/search.scm, gnu/packages/statistics.scm,
gnu/packages/storage.scm, gnu/packages/sync.scm, gnu/packages/terminals.scm,
gnu/packages/tls.scm, gnu/packages/web.scm: Adjust module imports.
2019-05-12 20:56:54 +00:00
|
|
|
|
#:use-module (gnu packages curl)
|
2015-03-07 11:18:32 +00:00
|
|
|
|
#:use-module (gnu packages cyrus-sasl)
|
2015-03-18 15:01:31 +00:00
|
|
|
|
#:use-module (gnu packages databases)
|
2020-10-12 06:46:27 +00:00
|
|
|
|
#:use-module (gnu packages docbook)
|
|
|
|
|
#:use-module (gnu packages documentation)
|
|
|
|
|
#:use-module (gnu packages emacs)
|
|
|
|
|
#:use-module (gnu packages emacs-xyz)
|
2016-07-07 05:55:41 +00:00
|
|
|
|
#:use-module (gnu packages flex)
|
2020-02-14 16:45:21 +00:00
|
|
|
|
#:use-module (gnu packages fontutils)
|
2018-06-05 23:13:56 +00:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
2018-12-10 00:26:05 +00:00
|
|
|
|
#:use-module (gnu packages gcc)
|
2015-04-03 16:03:30 +00:00
|
|
|
|
#:use-module (gnu packages gd)
|
2014-10-30 21:15:13 +00:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2016-04-14 14:52:51 +00:00
|
|
|
|
#:use-module (gnu packages glib)
|
|
|
|
|
#:use-module (gnu packages gnome)
|
2017-02-13 01:51:43 +00:00
|
|
|
|
#:use-module (gnu packages gnu-doc)
|
2020-12-09 17:08:28 +00:00
|
|
|
|
#:use-module (gnu packages gnunet)
|
2016-12-22 03:52:14 +00:00
|
|
|
|
#:use-module (gnu packages gnupg)
|
2019-08-19 11:58:22 +00:00
|
|
|
|
#:use-module (gnu packages golang)
|
2016-07-07 05:55:41 +00:00
|
|
|
|
#:use-module (gnu packages gperf)
|
2020-11-17 16:50:06 +00:00
|
|
|
|
#:use-module (gnu packages graphviz)
|
2017-04-30 19:07:30 +00:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2018-05-30 09:41:46 +00:00
|
|
|
|
#:use-module (gnu packages guile)
|
gnu: Move most packages from guile.scm to new module.
* gnu/packages/guile.scm (artanis, guildhall, guile-aspell, guile-bash,
guile-8sync, guile-daemon, guile-dsv, guile-fibers, guile-syntax-highlight,
guile-sjson, guile-colorized, guile-pfds, guile-aa-tree, guile-simple-zmq,
jupyter-guile-kernel, guile-sparql, guile-debbugs, guile-email,
guile-debbugs-next, guile-newt, guile-mastodon, guile-parted, guile-xosd,
guile-dbi, guile-dbd-sqlite3, guile-config, guile-hall, guile-ics, guile-wisp,
guile-sly, g-wrap, guile-miniadapton, guile-reader, guile2.2-reader,
guile-ncurses, guile-ncurses/gpm, guile-lib, guile2.0-lib, guile2.2-lib,
guile-minikanren, guile2.0-minikanren, guile2.2-minikanren, guile-irregex,
guile2.0-irregex, guile2.2-irregex, haunt, guile2.0-haunt, guile2.2-haunt,
guile-redis, guile2.0-redis, guile2.2-redis, guile-commonmark,
guile2.0-commonmark, guile2.2-commonmark, mcron, mcron2): Move these variables
from here...
* gnu/packages/guile-xyz.scm: ...to this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/installer.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/ci.scm,
gnu/packages/gtk.scm,
gnu/packages/guile.scm,
gnu/packages/mail.scm,
gnu/packages/package-management.scm,
gnu/packages/skribilo.scm,
gnu/packages/web.scm,
gnu/services/mcron.scm: Update module references.
2019-01-28 13:57:10 +00:00
|
|
|
|
#:use-module (gnu packages guile-xyz)
|
2020-03-07 08:36:51 +00:00
|
|
|
|
#:use-module (gnu packages hurd)
|
2020-12-09 17:08:28 +00:00
|
|
|
|
#:use-module (gnu packages icu4c)
|
2020-10-12 06:46:27 +00:00
|
|
|
|
#:use-module (gnu packages image)
|
2017-06-22 11:54:01 +00:00
|
|
|
|
#:use-module (gnu packages java)
|
2018-02-25 16:46:16 +00:00
|
|
|
|
#:use-module (gnu packages jemalloc)
|
2017-08-21 10:39:47 +00:00
|
|
|
|
#:use-module (gnu packages imagemagick)
|
2019-12-08 20:35:48 +00:00
|
|
|
|
#:use-module (gnu packages kde)
|
2020-10-12 06:46:27 +00:00
|
|
|
|
#:use-module (gnu packages kerberos)
|
2018-02-25 16:46:16 +00:00
|
|
|
|
#:use-module (gnu packages libevent)
|
2017-04-30 19:07:30 +00:00
|
|
|
|
#:use-module (gnu packages libidn)
|
2017-07-21 03:14:32 +00:00
|
|
|
|
#:use-module (gnu packages libunistring)
|
2020-02-28 12:53:14 +00:00
|
|
|
|
#:use-module (gnu packages libunwind)
|
2018-06-26 02:09:58 +00:00
|
|
|
|
#:use-module (gnu packages linux)
|
2020-01-03 10:59:25 +00:00
|
|
|
|
#:use-module (gnu packages lisp-xyz)
|
2020-05-19 12:51:06 +00:00
|
|
|
|
#:use-module (gnu packages lsof)
|
2015-03-07 11:18:32 +00:00
|
|
|
|
#:use-module (gnu packages lua)
|
2020-11-03 19:19:18 +00:00
|
|
|
|
#:use-module (gnu packages mail)
|
2020-10-20 19:17:38 +00:00
|
|
|
|
#:use-module (gnu packages man)
|
2017-08-21 10:39:47 +00:00
|
|
|
|
#:use-module (gnu packages markup)
|
2016-10-04 15:43:01 +00:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2020-05-12 14:50:27 +00:00
|
|
|
|
#:use-module (gnu packages networking)
|
gnu: Move nss & co. to nss.scm.
* gnu/packages/gnuzilla.scm (nspr, nss): Move to...
* gnu/packages/nss.scm: ... here. New file.
* gnu/packages/chromium.scm, gnu/packages/disk.scm,
gnu/packages/freedesktop.scm, gnu/packages/gnome.scm,
gnu/packages/gnunet.scm, gnu/packages/java.scm,
gnu/packages/libreoffice.scm, gnu/packages/linux.scm,
gnu/packages/mate.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/password-utils.scm,
gnu/packages/polkit.scm, gnu/packages/qt.scm,
gnu/packages/sssd.scm, gnu/packages/storage.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/xml.scm: Adjust
accordingly.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add nss.scm.
2019-04-04 13:14:57 +00:00
|
|
|
|
#:use-module (gnu packages nss)
|
2020-02-28 12:53:14 +00:00
|
|
|
|
#:use-module (gnu packages openldap)
|
2017-11-06 09:32:05 +00:00
|
|
|
|
#:use-module (gnu packages openstack)
|
2018-05-30 09:41:46 +00:00
|
|
|
|
#:use-module (gnu packages package-management)
|
2020-10-12 06:46:27 +00:00
|
|
|
|
#:use-module (gnu packages pcre)
|
2016-04-25 03:03:17 +00:00
|
|
|
|
#:use-module (gnu packages perl)
|
gnu: Move test packages from perl to perl-check.
* gnu/packages/perl.scm (perl-test2-bundle-extended,
perl-test2-plugin-nowarnings, perl-test-base, perl-test-class,
perl-test-class-most, perl-test-cleannamespaces, perl-test-command,
perl-test-cpan-meta, perl-test-cpan-meta-json, perl-test-deep,
perl-test-differences, perl-test-directory, perl-test-eol,
perl-test-exception, perl-test-fatal, perl-test-file-sharedir-dist,
perl-test-files, perl-test-harness, perl-test-leaktrace,
perl-test-longstring, perl-test-manifest, perl-test-memory-cycle,
perl-test-mockobject, perl-test-mocktime, perl-test-most, perl-test-needs,
perl-test-notabs, perl-test-nowarnings, perl-test-number-delta,
perl-test-output, perl-test-pod, perl-test-pod-coverage, perl-test-requires,
perl-test-script, perl-test-sharedfork, perl-test-simple, perl-test-taint,
perl-test-tester, perl-test-trap, perl-test-utf8, perl-test-warn,
perl-test-warnings, perl-test-without-module, perl-test-writevariants,
perl-test-yaml, perl-test-trailingspace): Move variables to ...
* gnu/packages/perl-check.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/glib.scm,
gnu/packages/gnupg.scm,
gnu/packages/image-viewers.scm,
gnu/packages/language.scm,
gnu/packages/networking.scm,
gnu/packages/package-management.scm,
gnu/packages/perl.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/version-control.scm,
gnu/packages/web.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm: Use perl-check module.
2017-11-13 22:03:01 +00:00
|
|
|
|
#:use-module (gnu packages perl-check)
|
2015-05-07 08:48:52 +00:00
|
|
|
|
#:use-module (gnu packages python)
|
2020-07-27 07:34:26 +00:00
|
|
|
|
#:use-module (gnu packages python-crypto)
|
gnu: Move web packages from python to python-web.
This is in part to address <https://bugs.gnu.org/27284>.
* gnu/packages/python.scm (python-httplib2, python2-httplib2)
(python-sockjs-tornado, python2-sockjs-tornado)
(python-flask-babel, python2-flask-babel)
(python-html5lib, python2-html5lib)
(python-html5lib-0.9, python2-html5lib-0.9)
(python-html5-parser, python2-html5-parser)
(python-webencodings, python2-webencodings)
(python-openid, python2-openid, python-cssutils, python2-cssutils)
(python-cssselect, python2-cssutils)
(python-openid-cla, python2-openid-cla)
(python-openid-teams, python2-openid-teams)
(python-tornado, python2-tornado)
(python-tornado-http-auth, python-terminado, python2-terminado)
(python-webob, python2-webob, python-zope-event, python2-zope-event)
(python-zope-interface, python2-zope-interface)
(python-zope-exceptions, python2-zope-exceptions)
(python-zope-testing, python2-zope-testing)
(python-zope-testrunner, python2-zope-testrunner)
(python-zope-i18nmessageid, python2-zope-i18nmessageid)
(python-zope-schema, python2-zope-schema)
(python-zope-configuration, python2-zope-configuration)
(python-zope-proxy, python2-zope-proxy)
(python-zope-location, python2-zope-location)
(python-zope-security, python2-zope-security)
(python-zope-component, python2-zope-component)
(python-ndg-httpsclient, python2-ndg-httpsclient)
(python-websocket-client, python2-websocket-client)
(python-requests-toolbelt, python2-requests-toolbelt)
(python-rauth, python2-rauth, python-urllib3, python2-urllib3)
(awscli, python-wsgiproxy2, python2-wsgiproxy2)
(python-pastedeploy, python2-pastedeploy)
(python-webtest, python2-webtest, python-flask, python2-flask)
(python-flast-wtf, python2-flask-wtf)
(python-flask-multistatic, python2-flask-multistatic)
(python-cookies, python2-cookies)
(python-responses, python2-responses)
(python-geventhttpclient, python2-geventhttpclient)
(python-requests-oauthlib, python2-requests-oauthlib)
(python-url, python2-url, python-cachecontrol, python2-cachecontrol)
(python-betamax, python2-betamax)
(python-betamax-matchers, python2-betamax-matchers)
(python-s3transfer, python2-s3transfer)
(python-flask-restful, python-flask-basicauth)
(python-flask-sqlalchemy, python-flask-restplus)
(python-flask-restful-swagger, python-htmlmin, python2-htmlmin)
(python-flask-htmlmin, python2-flask-htmlmin)
(python-flask-login, python2-flask-login)
(python-oauth2client, python-flask-oidc)
(python-webassets, python-cssmin, python2-cssmin)
(python-elasticsearch, python2-elasticsearch)
(python-flask-script, python2-flask-script)
(python-flask-migrate, python2-flask-migrate)
(python-genshi, python2-genshi)
(python-flask-principal, python2-flask-principal)
(python-flask-httpauth, python2-flask-httpauth)
(python-uritemplate, python2-uritemplate): Move to...
* gnu/packages/python-web.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm, gnu/packages/backup.scm,
gnu/packages/dav.scm, gnu/packages/django.scm,
gnu/packages/docker.scm, gnu/packages/ebook.scm,
gnu/packages/logging.scm, gnu/packages/mail.scm,
gnu/packages/music.scm, gnu/packages/openstack.scm,
gnu/packages/package-management.scm, gnu/packages/rdf.scm,
gnu/packages/tls.scm, gnu/packages/tor.scm,
gnu/packages/tryton.scm, gnu/packages/version-control.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm: Adjust accordingly.
2017-11-13 22:24:11 +00:00
|
|
|
|
#:use-module (gnu packages python-web)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 13:21:30 +00:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2015-03-07 11:18:32 +00:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2017-02-18 18:00:16 +00:00
|
|
|
|
#:use-module (gnu packages qt)
|
2019-09-05 18:13:22 +00:00
|
|
|
|
#:use-module (gnu packages re2c)
|
2020-10-12 06:46:27 +00:00
|
|
|
|
#:use-module (gnu packages readline)
|
2020-12-09 17:08:28 +00:00
|
|
|
|
#:use-module (gnu packages search)
|
gnu: Move Sphinx and friends to (gnu packages sphinx).
* gnu/packages/python-xyz.scm (python-sphinxcontrib-websupport,
python2-sphinxcontrib-websupport, python-sphinx, python2-sphinx,
python-sphinx-gallery, python2-sphinx-gallery, python-sphinx-rtd-theme,
python2-sphinx-rtd-theme, python-guzzle-sphinx-theme,
python2-guzzle-sphinx-theme, python-sphinxcontrib-newsfeed,
python-sphinxcontrib-programoutput, python2-sphinxcontrib-programoutput,
python-sphinx-repoze-interface, python2-sphinx-repoze-interface,
python-sphinx-cloud-sptheme, python2-sphinx-cloud-sptheme,
python-sphinx-alabaster-theme, python2-sphinx-alabaster-theme,
python-sphinx-me, python-sphinxcontrib-svg2pdfconverter): Move to ...
(gnu):
* gnu/packages/sphinx.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/admin.scm, gnu/packages/bioinformatics.scm,
gnu/packages/calendar.scm, gnu/packages/cluster.scm,
gnu/packages/databases.scm, gnu/packages/dav.scm, gnu/packages/disk.scm,
gnu/packages/django.scm, gnu/packages/elf.scm, gnu/packages/emacs-xyz.scm,
gnu/packages/emulators.scm, gnu/packages/finance.scm, gnu/packages/image.scm,
gnu/packages/libffi.scm, gnu/packages/mail.scm, gnu/packages/mpd.scm,
gnu/packages/openstack.scm, gnu/packages/pdf.scm, gnu/packages/python-web.scm,
gnu/packages/search.scm, gnu/packages/statistics.scm,
gnu/packages/storage.scm, gnu/packages/sync.scm, gnu/packages/terminals.scm,
gnu/packages/tls.scm, gnu/packages/web.scm: Adjust module imports.
2019-05-12 20:56:54 +00:00
|
|
|
|
#:use-module (gnu packages sphinx)
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 16:27:24 +00:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
2016-03-26 21:49:42 +00:00
|
|
|
|
#:use-module (gnu packages textutils)
|
2015-09-21 09:20:32 +00:00
|
|
|
|
#:use-module (gnu packages tls)
|
gnu: Move Sphinx and friends to (gnu packages sphinx).
* gnu/packages/python-xyz.scm (python-sphinxcontrib-websupport,
python2-sphinxcontrib-websupport, python-sphinx, python2-sphinx,
python-sphinx-gallery, python2-sphinx-gallery, python-sphinx-rtd-theme,
python2-sphinx-rtd-theme, python-guzzle-sphinx-theme,
python2-guzzle-sphinx-theme, python-sphinxcontrib-newsfeed,
python-sphinxcontrib-programoutput, python2-sphinxcontrib-programoutput,
python-sphinx-repoze-interface, python2-sphinx-repoze-interface,
python-sphinx-cloud-sptheme, python2-sphinx-cloud-sptheme,
python-sphinx-alabaster-theme, python2-sphinx-alabaster-theme,
python-sphinx-me, python-sphinxcontrib-svg2pdfconverter): Move to ...
(gnu):
* gnu/packages/sphinx.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/admin.scm, gnu/packages/bioinformatics.scm,
gnu/packages/calendar.scm, gnu/packages/cluster.scm,
gnu/packages/databases.scm, gnu/packages/dav.scm, gnu/packages/disk.scm,
gnu/packages/django.scm, gnu/packages/elf.scm, gnu/packages/emacs-xyz.scm,
gnu/packages/emulators.scm, gnu/packages/finance.scm, gnu/packages/image.scm,
gnu/packages/libffi.scm, gnu/packages/mail.scm, gnu/packages/mpd.scm,
gnu/packages/openstack.scm, gnu/packages/pdf.scm, gnu/packages/python-web.scm,
gnu/packages/search.scm, gnu/packages/statistics.scm,
gnu/packages/storage.scm, gnu/packages/sync.scm, gnu/packages/terminals.scm,
gnu/packages/tls.scm, gnu/packages/web.scm: Adjust module imports.
2019-05-12 20:56:54 +00:00
|
|
|
|
#:use-module (gnu packages valgrind)
|
|
|
|
|
#:use-module (gnu packages version-control)
|
2019-07-31 00:27:47 +00:00
|
|
|
|
#:use-module (gnu packages vim)
|
2019-11-07 19:58:15 +00:00
|
|
|
|
#:use-module (gnu packages xml)
|
|
|
|
|
#:use-module ((srfi srfi-1) #:select (delete-duplicates)))
|
2013-09-29 18:55:47 +00:00
|
|
|
|
|
2021-02-26 00:45:04 +00:00
|
|
|
|
(define-public qhttp
|
|
|
|
|
(package
|
|
|
|
|
(name "qhttp")
|
|
|
|
|
(version "3.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
|
|
|
|
(url "https://github.com/azadkuh/qhttp")
|
|
|
|
|
(commit (string-append "version-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0cx23g4y4k4v9p5ph6h7gfhp8sfy1gcdv1g6bl44hppar1y0zfdq"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no target
|
|
|
|
|
#:imported-modules
|
|
|
|
|
((guix build copy-build-system)
|
|
|
|
|
,@%gnu-build-system-modules)
|
|
|
|
|
#:modules
|
|
|
|
|
(((guix build copy-build-system) #:prefix copy:)
|
|
|
|
|
(guix build gnu-build-system)
|
|
|
|
|
(guix build utils))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-source
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "commondir.pri"
|
|
|
|
|
(("\\$\\$PRJDIR/xbin")
|
|
|
|
|
(string-append (assoc-ref outputs "out") "/lib"))
|
|
|
|
|
(("-L")
|
|
|
|
|
"-lhttp_parser -L")
|
|
|
|
|
(("\\$\\$PRJDIR/3rdparty")
|
|
|
|
|
""))
|
|
|
|
|
(substitute* "src/src.pro"
|
|
|
|
|
(("SOURCES \\+= \\$\\$PRJDIR/3rdparty/http-parser/http_parser.c")
|
|
|
|
|
"")
|
|
|
|
|
(("HEADERS \\+= \\$\\$PRJDIR/3rdparty/http-parser/http_parser.h")
|
|
|
|
|
""))
|
|
|
|
|
(substitute* '("src/private/qhttpbase.hpp" "src/qhttpabstracts.cpp")
|
|
|
|
|
(("http-parser/http_parser.h")
|
|
|
|
|
"http_parser.h"))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda _ (invoke "qmake")))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda args
|
|
|
|
|
(apply (assoc-ref copy:%standard-phases 'install)
|
|
|
|
|
#:install-plan
|
|
|
|
|
'(("src" "include"
|
|
|
|
|
#:include-regexp ("\\.hpp$")))
|
|
|
|
|
args)))
|
|
|
|
|
(add-after 'install 'remove-examples
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(with-directory-excursion
|
|
|
|
|
(string-append (assoc-ref outputs "out") "/lib")
|
|
|
|
|
(for-each delete-file
|
|
|
|
|
(list
|
|
|
|
|
"basic-server"
|
|
|
|
|
"helloworld"
|
|
|
|
|
"postcollector")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("http-parser" ,http-parser)
|
|
|
|
|
("qtbase" ,qtbase)))
|
|
|
|
|
(home-page "https://github.com/azadkuh/qhttp/")
|
|
|
|
|
(synopsis "Qt-based HTTP Library")
|
|
|
|
|
(description
|
|
|
|
|
"Qhttp is a light-weight and asynchronous HTTP library
|
|
|
|
|
(both server & client) in Qt5 and C++14.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2013-09-29 18:55:47 +00:00
|
|
|
|
(define-public httpd
|
|
|
|
|
(package
|
|
|
|
|
(name "httpd")
|
2021-05-29 14:38:49 +00:00
|
|
|
|
(version "2.4.48")
|
2013-09-29 18:55:47 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://apache/httpd/httpd-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-05-29 14:38:49 +00:00
|
|
|
|
"0v4npxnvih5mlxx6dywwhhfs8xvgcckc0hxzwk3hi0g8nbkjdj0v"))))
|
2013-09-29 18:55:47 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2016-06-24 21:54:00 +00:00
|
|
|
|
(native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
|
2013-09-29 18:55:47 +00:00
|
|
|
|
(inputs `(("apr" ,apr)
|
|
|
|
|
("apr-util" ,apr-util)
|
|
|
|
|
("openssl" ,openssl)
|
2015-01-29 21:34:04 +00:00
|
|
|
|
("perl" ,perl))) ; needed to run bin/apxs
|
2013-09-29 18:55:47 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "test"
|
|
|
|
|
#:configure-flags (list "--enable-rewrite"
|
|
|
|
|
"--enable-userdir"
|
|
|
|
|
"--enable-vhost-alias"
|
|
|
|
|
"--enable-ssl"
|
|
|
|
|
"--enable-mime-magic"
|
|
|
|
|
(string-append "--sysconfdir="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/etc/httpd"))))
|
|
|
|
|
(synopsis "Featureful HTTP server")
|
|
|
|
|
(description
|
|
|
|
|
"The Apache HTTP Server Project is a collaborative software development
|
|
|
|
|
effort aimed at creating a robust, commercial-grade, featureful, and
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 04:46:59 +00:00
|
|
|
|
freely-available source code implementation of an HTTP (Web) server. The
|
|
|
|
|
project is jointly managed by a group of volunteers located around the world,
|
|
|
|
|
using the Internet and the Web to communicate, plan, and develop the server
|
|
|
|
|
and its related documentation.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:asl2.0)
|
2013-09-29 18:55:47 +00:00
|
|
|
|
(home-page "https://httpd.apache.org/")))
|
2013-12-07 20:56:01 +00:00
|
|
|
|
|
2017-12-12 06:48:27 +00:00
|
|
|
|
(define-public mod-wsgi
|
|
|
|
|
(package
|
|
|
|
|
(name "mod-wsgi")
|
2020-09-06 13:53:22 +00:00
|
|
|
|
(version "4.7.1")
|
2017-12-12 06:48:27 +00:00
|
|
|
|
(source (origin
|
2019-02-10 17:08:59 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/GrahamDumpleton/mod_wsgi")
|
2019-02-10 17:08:59 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-12-12 06:48:27 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-09-06 13:53:22 +00:00
|
|
|
|
"1savh6h3qds20mwn1nqasmqzcp57pdhfc9v4b4k78d6q28y0r17s"))))
|
2017-12-12 06:48:27 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-02-10 17:08:59 +00:00
|
|
|
|
'(#:tests? #f ; TODO: can't figure out if there are tests
|
2017-12-12 06:48:27 +00:00
|
|
|
|
#:make-flags (list
|
|
|
|
|
(string-append "DESTDIR="
|
|
|
|
|
(assoc-ref %outputs "out"))
|
|
|
|
|
"LIBEXECDIR=/modules")))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("httpd" ,httpd)
|
|
|
|
|
("python" ,python-wrapper)))
|
|
|
|
|
(synopsis "Apache HTTPD module for Python WSGI applications")
|
|
|
|
|
(description
|
|
|
|
|
"The mod_wsgi module for the Apache HTTPD Server adds support for running
|
|
|
|
|
applications that support the Python @acronym{WSGI, Web Server Gateway
|
|
|
|
|
Interface} specification.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:asl2.0)
|
2017-12-12 06:48:27 +00:00
|
|
|
|
(home-page "https://modwsgi.readthedocs.io/")))
|
|
|
|
|
|
2020-12-02 22:45:02 +00:00
|
|
|
|
(define-public monolith
|
|
|
|
|
(package
|
|
|
|
|
(name "monolith")
|
2021-06-02 20:43:09 +00:00
|
|
|
|
(version "2.5.0")
|
2020-12-02 22:45:02 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Y2Z/monolith.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-06-02 20:43:09 +00:00
|
|
|
|
(base32 "0s6jyhz51d39ccz0ghr7hy1fww84b0pzsyb8s63qgxbndp2c42l0"))))
|
2020-12-02 22:45:02 +00:00
|
|
|
|
(build-system cargo-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:cargo-inputs
|
2021-03-10 22:18:28 +00:00
|
|
|
|
(("rust-atty" ,rust-atty-0.2)
|
|
|
|
|
("rust-base64" ,rust-base64-0.13)
|
2020-12-02 22:45:02 +00:00
|
|
|
|
("rust-chrono" ,rust-chrono-0.4)
|
|
|
|
|
("rust-clap" ,rust-clap-2)
|
2021-03-10 22:18:28 +00:00
|
|
|
|
("rust-cssparser" ,rust-cssparser-0.28)
|
2020-12-02 22:45:02 +00:00
|
|
|
|
("rust-html5ever" ,rust-html5ever-0.24)
|
2020-12-29 00:12:52 +00:00
|
|
|
|
("rust-regex" ,rust-regex-1)
|
2021-03-10 22:18:28 +00:00
|
|
|
|
("rust-reqwest" ,rust-reqwest-0.11)
|
2020-12-02 22:45:02 +00:00
|
|
|
|
("rust-sha2" ,rust-sha2-0.9)
|
|
|
|
|
("rust-url" ,rust-url-2))
|
|
|
|
|
#:cargo-development-inputs
|
|
|
|
|
(("rust-assert-cmd" ,rust-assert-cmd-1)
|
|
|
|
|
("rust-tempfile" ,rust-tempfile-3))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("openssl" ,openssl)))
|
|
|
|
|
(home-page "https://github.com/Y2Z/monolith")
|
|
|
|
|
(synopsis "Command line tool for saving web pages as a single HTML file")
|
|
|
|
|
(description
|
2020-12-03 08:08:05 +00:00
|
|
|
|
"Monolith bundles any web page into a single HTML file.
|
2020-12-02 22:45:02 +00:00
|
|
|
|
|
2020-12-03 08:08:05 +00:00
|
|
|
|
Unlike conventional ``Save page as…'', Monolith not only saves the target
|
|
|
|
|
document, it embeds CSS, image, and JavaScript assets all at once, producing
|
|
|
|
|
a single HTML5 document.
|
2020-12-02 22:45:02 +00:00
|
|
|
|
|
|
|
|
|
If compared to saving websites with @samp{wget -mpk}, Monolith embeds
|
|
|
|
|
all assets as data URLs and therefore displays the saved page exactly
|
|
|
|
|
the same, being completely separated from the Internet.")
|
|
|
|
|
(license license:unlicense)))
|
|
|
|
|
|
2014-12-10 22:39:48 +00:00
|
|
|
|
(define-public nginx
|
|
|
|
|
(package
|
|
|
|
|
(name "nginx")
|
2019-03-10 23:08:04 +00:00
|
|
|
|
;; Track the ‘mainline’ branch. Upstream considers it more reliable than
|
|
|
|
|
;; ’stable’ and recommends that “in general you deploy the NGINX mainline
|
|
|
|
|
;; branch at all times” (https://www.nginx.com/blog/nginx-1-6-1-7-released/)
|
|
|
|
|
;; Consider updating the nginx-documentation package together with this one.
|
2021-05-25 16:42:55 +00:00
|
|
|
|
(version "1.21.0")
|
2014-12-10 22:39:48 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-10-06 19:01:00 +00:00
|
|
|
|
(uri (string-append "https://nginx.org/download/nginx-"
|
2014-12-10 22:39:48 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-05-25 16:42:55 +00:00
|
|
|
|
"0w87zhm5nfx88x9hj6drrvm5f3m02kzbjp39x1lsglrbmi5jl6gy"))))
|
2014-12-10 22:39:48 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2021-05-06 10:18:13 +00:00
|
|
|
|
(inputs `(("libxml2" ,libxml2)
|
|
|
|
|
("libxslt" ,libxslt)
|
|
|
|
|
("openssl" ,openssl)
|
2018-01-30 03:20:00 +00:00
|
|
|
|
("pcre" ,pcre)
|
2014-12-10 22:39:48 +00:00
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no test target
|
|
|
|
|
#:phases
|
2015-04-05 16:31:54 +00:00
|
|
|
|
(modify-phases %standard-phases
|
2015-04-10 09:35:50 +00:00
|
|
|
|
(add-before 'configure 'patch-/bin/sh
|
2015-04-05 16:31:54 +00:00
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "auto/feature"
|
2017-01-23 16:48:47 +00:00
|
|
|
|
(("/bin/sh") (which "sh")))
|
2016-10-06 19:01:00 +00:00
|
|
|
|
#t))
|
2015-04-10 09:35:50 +00:00
|
|
|
|
(replace 'configure
|
2017-08-29 15:31:00 +00:00
|
|
|
|
;; The configure script is hand-written, not from GNU autotools.
|
2021-05-06 10:18:13 +00:00
|
|
|
|
(lambda* (#:key configure-flags inputs outputs #:allow-other-keys)
|
2015-04-05 16:31:54 +00:00
|
|
|
|
(let ((flags
|
2020-10-11 10:13:08 +00:00
|
|
|
|
(append (list (string-append "--prefix=" (assoc-ref outputs "out"))
|
|
|
|
|
"--with-http_ssl_module"
|
|
|
|
|
"--with-http_v2_module"
|
2021-05-06 10:18:13 +00:00
|
|
|
|
"--with-http_xslt_module"
|
2020-10-11 10:13:08 +00:00
|
|
|
|
"--with-pcre-jit"
|
|
|
|
|
"--with-debug"
|
2021-03-31 09:00:31 +00:00
|
|
|
|
"--with-stream"
|
2020-10-11 10:13:08 +00:00
|
|
|
|
;; Even when not cross-building, we pass the
|
|
|
|
|
;; --crossbuild option to avoid customizing for the
|
|
|
|
|
;; kernel version on the build machine.
|
|
|
|
|
,(let ((system "Linux") ; uname -s
|
|
|
|
|
(release "3.2.0") ; uname -r
|
|
|
|
|
;; uname -m
|
|
|
|
|
(machine (match (or (%current-target-system)
|
|
|
|
|
(%current-system))
|
|
|
|
|
("x86_64-linux" "x86_64")
|
|
|
|
|
("i686-linux" "i686")
|
|
|
|
|
("mips64el-linux" "mips64")
|
|
|
|
|
;; Prevent errors when querying
|
|
|
|
|
;; this package on unsupported
|
|
|
|
|
;; platforms, e.g. when running
|
|
|
|
|
;; "guix package --search="
|
|
|
|
|
(_ "UNSUPPORTED"))))
|
|
|
|
|
(string-append "--crossbuild="
|
|
|
|
|
system ":" release ":" machine)))
|
|
|
|
|
configure-flags)))
|
2021-05-06 11:24:53 +00:00
|
|
|
|
(setenv "CC" ,(cc-for-target))
|
2021-05-06 10:18:13 +00:00
|
|
|
|
;; Fix ./configure test for ‘#include <libxml/parser.h>’.
|
|
|
|
|
(setenv "CFLAGS" ; CPPFLAGS is not respected
|
|
|
|
|
(string-append "-I" (assoc-ref inputs "libxml2")
|
|
|
|
|
"/include/libxml2"))
|
2015-04-05 16:31:54 +00:00
|
|
|
|
(format #t "configure flags: ~s~%" flags)
|
2018-01-30 03:09:14 +00:00
|
|
|
|
(apply invoke "./configure" flags)
|
|
|
|
|
#t)))
|
2017-08-29 15:31:00 +00:00
|
|
|
|
(add-after 'install 'install-man-page
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(man (string-append out "/share/man")))
|
|
|
|
|
(install-file "objs/nginx.8" (string-append man "/man8"))
|
|
|
|
|
#t)))
|
2015-04-10 09:35:50 +00:00
|
|
|
|
(add-after 'install 'fix-root-dirs
|
2015-04-05 16:34:45 +00:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; 'make install' puts things in strange places, so we need to
|
|
|
|
|
;; clean it up ourselves.
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(share (string-append out "/share/nginx")))
|
|
|
|
|
;; This directory is empty, so get rid of it.
|
|
|
|
|
(rmdir (string-append out "/logs"))
|
|
|
|
|
;; Example configuration and HTML files belong in
|
|
|
|
|
;; /share.
|
|
|
|
|
(mkdir-p share)
|
|
|
|
|
(rename-file (string-append out "/conf")
|
|
|
|
|
(string-append share "/conf"))
|
|
|
|
|
(rename-file (string-append out "/html")
|
2018-01-30 03:09:14 +00:00
|
|
|
|
(string-append share "/html"))
|
|
|
|
|
#t))))))
|
2016-10-06 19:01:00 +00:00
|
|
|
|
(home-page "https://nginx.org")
|
2014-12-10 22:39:48 +00:00
|
|
|
|
(synopsis "HTTP and reverse proxy server")
|
|
|
|
|
(description
|
|
|
|
|
"Nginx (\"engine X\") is a high-performance web and reverse proxy server
|
2018-01-30 03:15:34 +00:00
|
|
|
|
created by Igor Sysoev. It can be used both as a stand-alone web server
|
2014-12-10 22:39:48 +00:00
|
|
|
|
and as a proxy to reduce the load on back-end HTTP or mail servers.")
|
|
|
|
|
;; Almost all of nginx is distributed under the bsd-2 license.
|
|
|
|
|
;; The exceptions are:
|
|
|
|
|
;; * The 'nginx-http-push' module is covered by the expat license.
|
|
|
|
|
;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
|
|
|
|
|
;; except for two source files which are bsd-4 licensed.
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license (list license:bsd-2 license:expat license:bsd-3 license:bsd-4))))
|
2014-12-10 22:39:48 +00:00
|
|
|
|
|
2017-08-03 14:47:06 +00:00
|
|
|
|
(define-public nginx-documentation
|
2020-05-27 16:51:41 +00:00
|
|
|
|
;; This documentation should be relevant for the current nginx package.
|
2021-05-25 16:42:55 +00:00
|
|
|
|
(let ((version "1.21.0")
|
|
|
|
|
(revision 2726)
|
|
|
|
|
(changeset "a7a36efd10af"))
|
2017-08-03 14:47:06 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "nginx-documentation")
|
2020-05-27 16:51:41 +00:00
|
|
|
|
(version (simple-format #f "~A-~A-~A" version revision changeset))
|
2017-08-03 14:47:06 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin (method hg-fetch)
|
|
|
|
|
(uri (hg-reference
|
|
|
|
|
(url "http://hg.nginx.org/nginx.org")
|
|
|
|
|
(changeset changeset)))
|
|
|
|
|
(file-name (string-append name "-" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-05-25 16:42:55 +00:00
|
|
|
|
"1fl7rkbfdd26c78h85x4w3kas16rpj4pxzjhc071qvx7znwgm2pn"))))
|
2017-08-03 14:47:06 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-12-26 18:18:39 +00:00
|
|
|
|
'(#:tests? #f ; no test suite
|
2017-08-03 14:47:06 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2017-12-26 18:18:39 +00:00
|
|
|
|
(delete 'configure) ; no configure script
|
2017-08-03 14:47:06 +00:00
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((output (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "umasked.sh"
|
|
|
|
|
((" /bin/sh") (string-append " " (which "sh"))))
|
|
|
|
|
;; The documentation includes a banner, which makes sense on
|
|
|
|
|
;; the NGinx website, but doesn't make much sense when
|
|
|
|
|
;; viewing locally. Therefore, modify the CSS to remove the
|
|
|
|
|
;; banner.
|
|
|
|
|
(substitute* "xslt/style.xslt"
|
|
|
|
|
(("#banner \\{ background: black;")
|
2019-03-10 23:23:53 +00:00
|
|
|
|
"#banner { display: none;"))
|
2018-01-30 03:09:14 +00:00
|
|
|
|
(invoke "make")
|
|
|
|
|
#t)))
|
2017-08-03 14:47:06 +00:00
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((output (assoc-ref outputs "out")))
|
|
|
|
|
(mkdir-p output)
|
|
|
|
|
(copy-recursively "libxslt" output)
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("libxml2" ,libxml2)
|
|
|
|
|
("libxslt" ,libxslt)
|
|
|
|
|
("nginx-xslscript" ,nginx-xslscript)))
|
|
|
|
|
(home-page "https://nginx.org")
|
2017-12-27 02:02:35 +00:00
|
|
|
|
(synopsis "Documentation for the nginx web server")
|
2017-08-03 14:47:06 +00:00
|
|
|
|
(description
|
|
|
|
|
"This package provides HTML documentation for the nginx web server.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:bsd-2))))
|
2017-08-03 14:47:06 +00:00
|
|
|
|
|
2019-11-07 19:58:15 +00:00
|
|
|
|
(define-public nginx-accept-language-module
|
|
|
|
|
;; Upstream has never made a release; use current commit instead.
|
|
|
|
|
(let ((commit "2f69842f83dac77f7d98b41a2b31b13b87aeaba7")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "nginx-accept-language-module")
|
|
|
|
|
(version (git-version "0.0.0" ;upstream has no version number
|
|
|
|
|
revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/giom/nginx_accept_language_module")
|
2019-11-07 19:58:15 +00:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1hjysrl15kh5233w7apq298cc2bp4q1z5mvaqcka9pdl90m0vhbw"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("openssl" ,openssl)
|
|
|
|
|
("pcre" ,pcre)
|
|
|
|
|
("nginx-sources" ,(package-source nginx))
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no test target
|
|
|
|
|
#:make-flags (list "modules")
|
|
|
|
|
#:modules ((guix build utils)
|
|
|
|
|
(guix build gnu-build-system)
|
|
|
|
|
(ice-9 popen)
|
|
|
|
|
(ice-9 regex)
|
|
|
|
|
(ice-9 textual-ports))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'unpack-nginx-sources
|
|
|
|
|
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
|
|
|
|
(begin
|
|
|
|
|
;; The nginx source code is part of the module’s source.
|
|
|
|
|
(format #t "decompressing nginx source code~%")
|
2020-03-20 06:28:07 +00:00
|
|
|
|
(let ((tar (assoc-ref inputs "tar"))
|
|
|
|
|
(nginx-srcs (assoc-ref inputs "nginx-sources")))
|
|
|
|
|
(invoke (string-append tar "/bin/tar")
|
|
|
|
|
"xvf" nginx-srcs "--strip-components=1"))
|
2019-11-07 19:58:15 +00:00
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'unpack 'convert-to-dynamic-module
|
|
|
|
|
(lambda _
|
|
|
|
|
(begin
|
|
|
|
|
(with-atomic-file-replacement "config"
|
|
|
|
|
(lambda (in out)
|
|
|
|
|
;; cf. https://www.nginx.com/resources/wiki/extending/new_config/
|
|
|
|
|
(format out "ngx_module_type=HTTP~%")
|
|
|
|
|
(format out "ngx_module_name=\
|
|
|
|
|
ngx_http_accept_language_module~%")
|
|
|
|
|
(let* ((str (get-string-all in))
|
|
|
|
|
(rx (make-regexp
|
|
|
|
|
"NGX_ADDON_SRCS=\"\\$NGX_ADDON_SRCS (.*)\""))
|
|
|
|
|
(m (regexp-exec rx str))
|
|
|
|
|
(srcs (match:substring m 1)))
|
|
|
|
|
(format out (string-append "ngx_module_srcs=\""
|
|
|
|
|
srcs "\"~%")))
|
|
|
|
|
(format out ". auto/module~%")
|
|
|
|
|
(format out "ngx_addon_name=$ngx_module_name~%"))))))
|
|
|
|
|
(add-before 'configure 'patch-/bin/sh
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "auto/feature"
|
|
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'configure
|
|
|
|
|
;; This phase is largely copied from the nginx package.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((flags
|
|
|
|
|
(list ;; A copy of nginx’ flags follows, otherwise we
|
|
|
|
|
;; get a binary compatibility error. FIXME: Code
|
|
|
|
|
;; duplication is bad.
|
|
|
|
|
(string-append "--prefix=" (assoc-ref outputs "out"))
|
|
|
|
|
"--with-http_ssl_module"
|
|
|
|
|
"--with-http_v2_module"
|
|
|
|
|
"--with-pcre-jit"
|
|
|
|
|
"--with-debug"
|
|
|
|
|
;; Even when not cross-building, we pass the
|
|
|
|
|
;; --crossbuild option to avoid customizing for the
|
|
|
|
|
;; kernel version on the build machine.
|
|
|
|
|
,(let ((system "Linux") ; uname -s
|
|
|
|
|
(release "3.2.0") ; uname -r
|
|
|
|
|
;; uname -m
|
|
|
|
|
(machine (match (or (%current-target-system)
|
|
|
|
|
(%current-system))
|
|
|
|
|
("x86_64-linux" "x86_64")
|
|
|
|
|
("i686-linux" "i686")
|
|
|
|
|
("mips64el-linux" "mips64")
|
|
|
|
|
;; Prevent errors when querying
|
|
|
|
|
;; this package on unsupported
|
|
|
|
|
;; platforms, e.g. when running
|
|
|
|
|
;; "guix package --search="
|
|
|
|
|
(_ "UNSUPPORTED"))))
|
|
|
|
|
(string-append "--crossbuild="
|
|
|
|
|
system ":" release ":" machine))
|
|
|
|
|
;; The following are the args decribed on
|
|
|
|
|
;; <https://www.nginx.com/blog/compiling-dynamic-modules-nginx-plus>.
|
|
|
|
|
;; Enabling --with-compat here and in the nginx package
|
|
|
|
|
;; would ensure binary compatibility even when using
|
|
|
|
|
;; different configure options from the main nginx
|
|
|
|
|
;; package. This is not needed for Guix.
|
|
|
|
|
;; "--with-compat"
|
|
|
|
|
"--add-dynamic-module=.")))
|
|
|
|
|
(setenv "CC" "gcc")
|
|
|
|
|
(format #t "environment variable `CC' set to `gcc'~%")
|
|
|
|
|
(format #t "configure flags: ~s~%" flags)
|
|
|
|
|
(apply invoke "./configure" flags)
|
|
|
|
|
#t)))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(modules-dir (string-append out "/etc/nginx/modules"))
|
|
|
|
|
(doc-dir (string-append
|
|
|
|
|
out "/share/doc/nginx-accept-language-module")))
|
|
|
|
|
(mkdir-p modules-dir)
|
|
|
|
|
(copy-file "objs/ngx_http_accept_language_module.so"
|
|
|
|
|
(string-append
|
|
|
|
|
modules-dir "/ngx_http_accept_language_module.so"))
|
|
|
|
|
(mkdir-p doc-dir)
|
|
|
|
|
(copy-file "README.textile"
|
|
|
|
|
(string-append doc-dir "/README.textile"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page
|
|
|
|
|
"https://www.nginx.com/resources/wiki/modules/accept_language/")
|
|
|
|
|
(synopsis "Nginx module for parsing the Accept-Language HTTP header")
|
|
|
|
|
(description
|
|
|
|
|
"This nginx module parses the Accept-Language field in HTTP headers and
|
|
|
|
|
chooses the most suitable locale for the user from the list of locales
|
|
|
|
|
supported at your website.")
|
|
|
|
|
(license (delete-duplicates
|
|
|
|
|
(cons license:bsd-2 ;license of nginx-accept-language-module
|
|
|
|
|
;; The module’s code is linked statically with nginx,
|
|
|
|
|
;; therefore nginx’ other licenses may also apply to its
|
|
|
|
|
;; binary:
|
|
|
|
|
(package-license nginx)))))))
|
|
|
|
|
|
2020-09-30 22:06:25 +00:00
|
|
|
|
(define nginx-xslscript
|
|
|
|
|
(let ((revision 11)
|
|
|
|
|
(changeset "01dc9ba12e1b"))
|
|
|
|
|
(package
|
|
|
|
|
(name "nginx-xslscript")
|
|
|
|
|
(version
|
|
|
|
|
(simple-format #f "2014-03-31-~A-~A" revision changeset))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method hg-fetch)
|
|
|
|
|
(uri (hg-reference
|
|
|
|
|
(url "http://hg.nginx.org/xslscript")
|
|
|
|
|
(changeset changeset)))
|
|
|
|
|
(file-name (string-append name "-" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0am8zvdx3jmiwkg5q07qjaw5r26r4i2v5i4yr8a1k0jgib6ii08g"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; No test suite
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(delete 'build)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out-bin (string-append
|
|
|
|
|
(assoc-ref outputs "out")
|
|
|
|
|
"/bin")))
|
|
|
|
|
(mkdir-p out-bin)
|
|
|
|
|
(copy-file "xslscript.pl"
|
|
|
|
|
(string-append
|
|
|
|
|
out-bin
|
|
|
|
|
"/xslscript.pl"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "http://hg.nginx.org/xslscript")
|
|
|
|
|
(synopsis "XSLScript with NGinx specific modifications")
|
|
|
|
|
(description
|
|
|
|
|
"XSLScript is a terse notation for writing complex XSLT stylesheets.
|
|
|
|
|
This is modified version, specifically intended for use with the NGinx
|
|
|
|
|
documentation.")
|
|
|
|
|
(license license:bsd-2))))
|
|
|
|
|
|
2020-10-11 17:41:41 +00:00
|
|
|
|
(define nginx-socket-cloexec
|
|
|
|
|
(package
|
|
|
|
|
(inherit nginx)
|
|
|
|
|
(name "nginx-socket-cloexec") ;required for lua-resty-shell
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(inherit (package-source nginx))
|
|
|
|
|
(patches (append (search-patches "nginx-socket-cloexec.patch")
|
|
|
|
|
(origin-patches (package-source nginx))))))))
|
|
|
|
|
|
2020-10-11 17:41:58 +00:00
|
|
|
|
(define-public nginx-lua-module
|
|
|
|
|
(package
|
|
|
|
|
(inherit nginx)
|
|
|
|
|
(name "nginx-lua-module")
|
2020-11-13 22:25:54 +00:00
|
|
|
|
(version "0.10.16")
|
2020-10-11 17:41:58 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/openresty/lua-nginx-module")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name "lua-nginx-module" version))
|
|
|
|
|
(sha256
|
2020-11-13 22:25:54 +00:00
|
|
|
|
(base32 "0nwcbqm1visg1dkxav7qa16w0d0n8cgqn4881xiqn88xfkxj0dyg"))))
|
2020-10-11 17:41:58 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("nginx-sources" ,(package-source nginx-socket-cloexec))
|
|
|
|
|
("luajit" ,luajit)
|
|
|
|
|
,@(package-inputs nginx)))
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments
|
|
|
|
|
`(#:configure-flags '("--add-dynamic-module=.")
|
|
|
|
|
#:make-flags '("modules")
|
|
|
|
|
#:modules ((guix build utils)
|
|
|
|
|
(guix build gnu-build-system)
|
|
|
|
|
(ice-9 popen)
|
|
|
|
|
(ice-9 regex)
|
|
|
|
|
(ice-9 textual-ports))
|
|
|
|
|
,@(package-arguments nginx))
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(add-after 'unpack 'unpack-nginx-sources
|
|
|
|
|
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
|
|
|
|
(begin
|
|
|
|
|
;; The nginx source code is part of the module’s source.
|
|
|
|
|
(format #t "decompressing nginx source code~%")
|
|
|
|
|
(let ((tar (assoc-ref inputs "tar"))
|
|
|
|
|
(nginx-srcs (assoc-ref inputs "nginx-sources")))
|
|
|
|
|
(invoke (string-append tar "/bin/tar")
|
|
|
|
|
"xvf" nginx-srcs "--strip-components=1"))
|
|
|
|
|
#t)))
|
|
|
|
|
(add-before 'configure 'set-luajit-env
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((luajit (assoc-ref inputs "luajit")))
|
|
|
|
|
(setenv "LUAJIT_LIB"
|
|
|
|
|
(string-append luajit "/lib"))
|
|
|
|
|
(setenv "LUAJIT_INC"
|
|
|
|
|
(string-append luajit "/include/luajit-2.1"))
|
|
|
|
|
#t)))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2020-10-15 06:13:07 +00:00
|
|
|
|
(let ((modules-dir (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/etc/nginx/modules")))
|
|
|
|
|
(install-file "objs/ngx_http_lua_module.so" modules-dir)
|
2020-10-11 17:41:58 +00:00
|
|
|
|
#t)))
|
|
|
|
|
(delete 'fix-root-dirs)
|
|
|
|
|
(delete 'install-man-page)))))
|
|
|
|
|
(synopsis "NGINX module for Lua programming language support")
|
|
|
|
|
(description "This NGINX module provides a scripting support with Lua
|
|
|
|
|
programming language.")))
|
|
|
|
|
|
2020-02-28 12:53:14 +00:00
|
|
|
|
(define-public lighttpd
|
|
|
|
|
(package
|
|
|
|
|
(name "lighttpd")
|
2021-02-07 21:06:09 +00:00
|
|
|
|
(version "1.4.59")
|
2020-02-28 12:53:14 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.lighttpd.net/lighttpd/"
|
|
|
|
|
"releases-" (version-major+minor version) ".x/"
|
|
|
|
|
"lighttpd-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-02-07 21:06:09 +00:00
|
|
|
|
"1mc421yrbnq3k6yrc708svp0fgcamrn5a0p2nvnhivysffr3v5gv"))))
|
2020-02-28 12:53:14 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "--with-krb5"
|
|
|
|
|
"--with-ldap"
|
|
|
|
|
"--with-libev"
|
|
|
|
|
"--with-libunwind"
|
|
|
|
|
"--with-openssl"
|
|
|
|
|
"--with-pam"
|
|
|
|
|
"--with-sasl")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'embed-/bin/sh-reference
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/mod_ssi.c"
|
|
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'fix-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "SHELL" (which "sh"))
|
|
|
|
|
;; gethostbyaddr fails
|
|
|
|
|
(substitute* "tests/LightyTest.pm"
|
|
|
|
|
(("\\{HOSTNAME\\} = \\$name;")
|
|
|
|
|
"{HOSTNAME} = \"127.0.0.1\";"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("cyrus-sasl" ,cyrus-sasl)
|
|
|
|
|
("libev" ,libev)
|
|
|
|
|
("libunwind" ,libunwind)
|
|
|
|
|
("linux-pam" ,linux-pam)
|
|
|
|
|
("mit-krb5" ,mit-krb5)
|
|
|
|
|
("openldap" ,openldap)
|
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("pcre" ,pcre)
|
|
|
|
|
("pcre:bin" ,pcre "bin")
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl) ; for tests
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(home-page "https://www.lighttpd.net/")
|
|
|
|
|
(synopsis "Lightweight HTTP and reverse proxy server")
|
|
|
|
|
(description
|
|
|
|
|
"Lighttpd is a secure, fast, compliant, and very flexible web-server that
|
|
|
|
|
has been optimized for high-performance environments. It has a very low
|
|
|
|
|
memory footprint compared to other webservers. Its features include FastCGI,
|
|
|
|
|
CGI, authentication, output compression, URL rewriting and many more.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2016-11-30 16:04:34 +00:00
|
|
|
|
(define-public fcgi
|
|
|
|
|
(package
|
|
|
|
|
(name "fcgi")
|
2019-11-30 22:42:06 +00:00
|
|
|
|
(version "2.4.2")
|
2016-11-30 16:04:34 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-11-30 22:42:06 +00:00
|
|
|
|
(method git-fetch)
|
2017-11-11 20:09:10 +00:00
|
|
|
|
;; Upstream has disappeared.
|
2019-11-30 22:42:06 +00:00
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/FastCGI-Archives/fcgi2")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2016-11-30 16:04:34 +00:00
|
|
|
|
(sha256
|
2019-11-30 22:42:06 +00:00
|
|
|
|
(base32 "1jhz6jfwv5kawa8kajvg18nfwc1b30f38zc0lggszd1vcmrwqkz1"))))
|
2016-11-30 16:04:34 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2016-12-11 14:17:17 +00:00
|
|
|
|
;; Parallel building is not supported.
|
|
|
|
|
(arguments `(#:parallel-build? #f))
|
2019-11-30 22:42:06 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)))
|
2017-11-11 20:09:10 +00:00
|
|
|
|
;; This is an archived fork of the original home page, www.fastcgi.com.
|
|
|
|
|
(home-page "https://fastcgi-archives.github.io/")
|
2016-11-30 16:04:34 +00:00
|
|
|
|
(synopsis "Language-independent, high-performant extension to CGI")
|
2017-11-11 20:09:49 +00:00
|
|
|
|
(description "FastCGI is a language-independent, scalable extension to CGI
|
2016-11-30 16:04:34 +00:00
|
|
|
|
that provides high performance without the limitations of server specific
|
|
|
|
|
APIs.")
|
|
|
|
|
;; This package is released under the Open Market License, a variant of
|
|
|
|
|
;; the Expat license, incompatible with the GPL.
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license (license:non-copyleft "file://LICENSE.TERMS"))))
|
2016-11-30 16:04:34 +00:00
|
|
|
|
|
2016-11-30 16:07:38 +00:00
|
|
|
|
(define-public fcgiwrap
|
|
|
|
|
(package
|
|
|
|
|
(name "fcgiwrap")
|
|
|
|
|
(version "1.1.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-02-10 17:14:54 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/gnosek/fcgiwrap")
|
2019-02-10 17:14:54 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2016-11-30 16:07:38 +00:00
|
|
|
|
(sha256
|
2019-02-10 17:14:54 +00:00
|
|
|
|
(base32 "1ryw66h9aazi83amk8l7ha8k5g0c7qvk5g6jv376a1ws9xk2qw6f"))))
|
2016-11-30 16:07:38 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-02-10 17:14:54 +00:00
|
|
|
|
`(#:tests? #f ; no tests included
|
2019-10-09 17:20:31 +00:00
|
|
|
|
#:make-flags (list "CC=gcc")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-CFLAGS
|
|
|
|
|
;; Remove broken options unconditionally added to CFLAGS.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "configure.ac"
|
|
|
|
|
((" -Werror") ""))
|
|
|
|
|
#t)))))
|
2016-11-30 16:07:38 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("fcgi" ,fcgi)))
|
|
|
|
|
(home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
|
|
|
|
|
(synopsis "Simple server for running CGI applications over FastCGI")
|
|
|
|
|
(description "Fcgiwrap is a simple server for running CGI applications
|
|
|
|
|
over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
|
|
|
|
|
servers that may need it).")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
2016-11-30 16:07:38 +00:00
|
|
|
|
|
2015-04-05 02:42:37 +00:00
|
|
|
|
(define-public starman
|
|
|
|
|
(package
|
|
|
|
|
(name "starman")
|
2019-10-13 12:56:45 +00:00
|
|
|
|
(version "0.4015")
|
2015-04-05 02:42:37 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
|
|
|
|
|
"Starman-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2019-10-13 12:56:45 +00:00
|
|
|
|
(base32 "1y1kn4929k299fbf6sw9lxcsdlq9fvq777p6yrzk591rr9xhkx8h"))))
|
2015-04-05 02:42:37 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-libwww" ,perl-libwww)
|
|
|
|
|
("perl-module-build-tiny" ,perl-module-build-tiny)
|
|
|
|
|
("perl-test-requires" ,perl-test-requires)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-data-dump" ,perl-data-dump)
|
|
|
|
|
("perl-http-date" ,perl-http-date)
|
|
|
|
|
("perl-http-message" ,perl-http-message)
|
|
|
|
|
("perl-http-parser-xs" ,perl-http-parser-xs)
|
|
|
|
|
("perl-net-server" ,perl-net-server)
|
|
|
|
|
("perl-plack" ,perl-plack)
|
|
|
|
|
("perl-test-tcp" ,perl-test-tcp)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Starman")
|
2015-04-05 02:42:37 +00:00
|
|
|
|
(synopsis "PSGI/Plack web server")
|
|
|
|
|
(description "Starman is a PSGI perl web server that has unique features
|
|
|
|
|
such as high performance, preforking, signal support, superdaemon awareness,
|
|
|
|
|
and UNIX socket support.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-05 02:42:37 +00:00
|
|
|
|
|
2017-06-22 11:54:01 +00:00
|
|
|
|
(define-public icedtea-web
|
|
|
|
|
(package
|
|
|
|
|
(name "icedtea-web")
|
|
|
|
|
(version "1.6.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://icedtea.wildebeest.org/download/source/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "--disable-plugin" ;NPAPI plugins are obsolete nowadays.
|
|
|
|
|
(string-append "BIN_BASH=" (assoc-ref %build-inputs "bash")
|
|
|
|
|
"/bin/bash")
|
|
|
|
|
(string-append "--with-jdk-home=" (assoc-ref %build-inputs "jdk")))))
|
|
|
|
|
(outputs '("out" "doc"))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("zip" ,zip)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gtk+" ,gtk+)
|
|
|
|
|
("jdk" ,icedtea "jdk")))
|
|
|
|
|
(home-page "http://icedtea.classpath.org/wiki/IcedTea-Web")
|
|
|
|
|
(synopsis "Java Web Start")
|
|
|
|
|
(description
|
|
|
|
|
"IcedTea-Web is an implementation of the @dfn{Java Network Launching
|
|
|
|
|
Protocol}, also known as Java Web Start. This package provides tools and
|
|
|
|
|
libraries for working with JNLP applets.")
|
|
|
|
|
;; The program is mainly GPL2+, with some individual files under LGPL2.1+
|
|
|
|
|
;; or dual licenses.
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:gpl2+)))
|
2017-06-22 11:54:01 +00:00
|
|
|
|
|
2015-01-30 09:47:23 +00:00
|
|
|
|
(define-public jansson
|
|
|
|
|
(package
|
|
|
|
|
(name "jansson")
|
2018-12-10 01:36:44 +00:00
|
|
|
|
(version "2.12")
|
2015-01-30 09:47:23 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "http://www.digip.org/jansson/releases/jansson-"
|
2018-12-10 01:36:44 +00:00
|
|
|
|
version ".tar.bz2"))
|
2015-01-30 09:47:23 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-12-10 01:36:44 +00:00
|
|
|
|
"1lp1mv8pjp5yziws66cy0dhpcam4bbjqhffk13v4vgdybp674pb4"))))
|
2015-01-30 09:47:23 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2018-12-12 10:43:17 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("--disable-static")))
|
2015-01-30 09:47:23 +00:00
|
|
|
|
(home-page "http://www.digip.org/jansson/")
|
|
|
|
|
(synopsis "JSON C library")
|
|
|
|
|
(description
|
|
|
|
|
"Jansson is a C library for encoding, decoding and manipulating JSON
|
|
|
|
|
data.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
2015-01-30 09:47:23 +00:00
|
|
|
|
|
2014-06-24 12:53:51 +00:00
|
|
|
|
(define-public json-c
|
|
|
|
|
(package
|
|
|
|
|
(name "json-c")
|
2020-05-14 20:54:27 +00:00
|
|
|
|
(version "0.14")
|
2014-06-24 12:53:51 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
gnu: Adjust formatting as recommended by 'guix lint'.
* gnu/packages/aidc.scm (barcode, qrencode),
gnu/packages/bash.scm (bash, bash-completion),
gnu/packages/busybox.scm (busybox),
gnu/packages/cdrom.scm (cdparanoia),
gnu/packages/cmake.scm (cmake),
gnu/packages/conkeror.scm (conkeror),
gnu/packages/cook.scm (cook),
gnu/packages/curl.scm (curl),
gnu/packages/docbook.scm (docbook-xsl),
gnu/packages/enlightenment.scm (enlightenment),
gnu/packages/games.scm (abbaye),
gnu/packages/geeqie.scm (exiv2),
gnu/packages/gimp.scm (gegl),
gnu/packages/gl.scm (glu, freeglut, ftgl),
gnu/packages/glib.scm (glib),
gnu/packages/gnome.scm (orbit2, gconf, geocode-glib),
gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base),
gnu/packages/linux.scm (util-linux),
gnu/packages/lisp.scm (gcl, ecl),
gnu/packages/maths.scm (gnuplot, hdf5),
gnu/packages/ssh.scm (dropbear),
gnu/packages/web.scm (json-c): Remove tabulations and trailing
white spaces or reformat to fit within 80 columns.
* gnu/packages/audio.scm (aubio),
gnu/packages/emacs.scm (emacs-s),
gnu/packages/engineering.scm (geda-gaf),
gnu/packages/games.scm (dosbox),
gnu/packages/gnome.scm (gusb),
gnu/packages/gtk.scm (gtk+),
gnu/packages/guile.scm (guile-wisp),
gnu/packages/hurd.scm (hurd-headers),
gnu/packages/wm.scm (i3-wm): Adjust synopsis or description.
2015-11-13 14:50:36 +00:00
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://s3.amazonaws.com/json-c_releases/releases/json-c-"
|
|
|
|
|
version ".tar.gz"))
|
2014-06-24 12:53:51 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-12-08 15:11:11 +00:00
|
|
|
|
"0w381krr99q5a2rypx4g437fa7gzgl82i64sgnrs6g5jr44dwxxk"))
|
|
|
|
|
(patches (search-patches "json-c-CVE-2020-12762.patch"))))
|
2020-05-14 20:54:27 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(home-page "https://github.com/json-c/json-c/wiki")
|
|
|
|
|
(synopsis "JSON implementation in C")
|
|
|
|
|
(description
|
|
|
|
|
"JSON-C implements a reference counting object model that allows you to
|
|
|
|
|
easily construct JSON objects in C, output them as JSON-formatted strings and
|
|
|
|
|
parse JSON-formatted strings back into the C representation of JSON objects.
|
|
|
|
|
It aims to conform to RFC 7159.")
|
|
|
|
|
(license license:x11)))
|
|
|
|
|
|
|
|
|
|
;; TODO: Remove these old versions when all dependents have been updated.
|
|
|
|
|
(define-public json-c-0.13
|
|
|
|
|
(package
|
|
|
|
|
(inherit json-c)
|
|
|
|
|
(version "0.13.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://s3.amazonaws.com/json-c_releases/releases/json-c-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0ws8dz9nk8q2c0gbf66kg2r6mrkl7kamd3gpdv9zsyrz9n6n0zmq"))
|
2020-08-06 06:43:40 +00:00
|
|
|
|
(patches (search-patches "json-c-0.13-CVE-2020-12762.patch"))
|
2014-06-24 12:53:51 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Somehow 'config.h.in' is older than
|
|
|
|
|
;; 'aclocal.m4', which would trigger a rule to
|
|
|
|
|
;; run 'autoheader'.
|
|
|
|
|
(set-file-time "config.h.in"
|
|
|
|
|
(stat "aclocal.m4"))
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 11:47:34 +00:00
|
|
|
|
#t))))
|
2020-05-14 20:54:27 +00:00
|
|
|
|
(build-system gnu-build-system)))
|
2014-06-24 12:53:51 +00:00
|
|
|
|
|
2018-01-03 22:23:38 +00:00
|
|
|
|
(define-public json-c-0.12
|
|
|
|
|
(package
|
2020-05-14 20:54:27 +00:00
|
|
|
|
(inherit json-c-0.13)
|
2018-01-03 22:23:38 +00:00
|
|
|
|
(version "0.12.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://s3.amazonaws.com/json-c_releases/releases/json-c-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
|
2020-08-06 06:43:40 +00:00
|
|
|
|
(patches (search-patches "json-c-0.12-CVE-2020-12762.patch"))
|
2018-01-03 22:23:38 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Somehow 'config.h.in' is older than
|
|
|
|
|
;; 'aclocal.m4', which would trigger a rule to
|
|
|
|
|
;; run 'autoheader'.
|
|
|
|
|
(set-file-time "config.h.in"
|
|
|
|
|
(stat "aclocal.m4"))
|
|
|
|
|
|
|
|
|
|
;; Don't try to build with -Werror.
|
|
|
|
|
(substitute* (find-files "." "Makefile\\.in")
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 11:47:34 +00:00
|
|
|
|
(("-Werror") ""))
|
|
|
|
|
#t))))))
|
2018-01-03 22:23:38 +00:00
|
|
|
|
|
2018-11-11 18:23:27 +00:00
|
|
|
|
(define-public json-parser
|
|
|
|
|
(package
|
|
|
|
|
(name "json-parser")
|
|
|
|
|
(version "1.1.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
;; do not use auto-generated tarballs
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/udp/json-parser")
|
2018-11-11 18:23:27 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1ls7z4fx0sq633s5bc0j1gh36sv087gmrgr7rza22wjq2d4606yf"))))
|
|
|
|
|
;; FIXME: we should build the python bindings in a separate package
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
;; the tests are written for the python bindings which are not built here
|
|
|
|
|
(arguments '(#:tests? #f))
|
|
|
|
|
(home-page "https://github.com/udp/json-parser")
|
|
|
|
|
(synopsis "JSON parser written in ANSI C")
|
|
|
|
|
(description "This package provides a very low footprint JSON parser
|
|
|
|
|
written in portable ANSI C.
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item BSD licensed with no dependencies (i.e. just drop the C file into your
|
|
|
|
|
project)
|
|
|
|
|
@item Never recurses or allocates more memory than it needs
|
|
|
|
|
@item Very simple API with operator sugar for C++
|
|
|
|
|
@end itemize")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:bsd-2)))
|
2018-11-11 18:23:27 +00:00
|
|
|
|
|
2017-02-18 18:00:16 +00:00
|
|
|
|
(define-public qjson
|
|
|
|
|
(package
|
|
|
|
|
(name "qjson")
|
|
|
|
|
(version "0.9.0")
|
|
|
|
|
(source (origin
|
2019-02-10 17:31:11 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/flavio/qjson")
|
2019-02-10 17:31:11 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-02-18 18:00:16 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-10 17:31:11 +00:00
|
|
|
|
"1f4wnxzx0qdmxzc7hqk28m0sva7z9p9xmxm6aifvjlp0ha6pmfxs"))))
|
2017-02-18 18:00:16 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2019-02-10 17:31:11 +00:00
|
|
|
|
;; The tests require a running X server.
|
2017-02-18 18:00:16 +00:00
|
|
|
|
`(#:configure-flags '("-DQJSON_BUILD_TESTS=ON"
|
|
|
|
|
"-DCMAKE_CXX_FLAGS=-std=gnu++11 -fPIC")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'disable-broken-test
|
|
|
|
|
(lambda _
|
|
|
|
|
;; FIXME: One test fails. See
|
|
|
|
|
;; https://github.com/flavio/qjson/issues/105
|
|
|
|
|
(substitute* "tests/scanner/testscanner.cpp"
|
|
|
|
|
(("QTest::newRow\\(\"too large exponential\"\\)" line)
|
|
|
|
|
(string-append "//" line)))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'check 'render-offscreen
|
|
|
|
|
(lambda _ (setenv "QT_QPA_PLATFORM" "offscreen") #t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)))
|
|
|
|
|
(home-page "http://qjson.sourceforge.net")
|
|
|
|
|
(synopsis "Library that maps JSON data to QVariant objects")
|
|
|
|
|
(description "QJson is a Qt-based library that maps JSON data to
|
|
|
|
|
@code{QVariant} objects. JSON arrays will be mapped to @code{QVariantList}
|
|
|
|
|
instances, while JSON's objects will be mapped to @code{QVariantMap}.")
|
|
|
|
|
;; Only version 2.1 of the license
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:lgpl2.1)))
|
2017-02-18 18:00:16 +00:00
|
|
|
|
|
2019-12-08 20:35:48 +00:00
|
|
|
|
(define-public qoauth
|
|
|
|
|
(package
|
|
|
|
|
(name "qoauth")
|
|
|
|
|
(version "2.0.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/ayoy/qoauth")
|
2019-12-08 20:35:48 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1b2jdqs526ac635yb2whm049spcsk7almnnr6r5b4yqhq922anw3"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("qca" ,qca)
|
|
|
|
|
("qtbase" ,qtbase)))
|
|
|
|
|
(arguments
|
2020-12-07 23:30:08 +00:00
|
|
|
|
'(#:tests? #f ;FIXME: some tests are failing
|
|
|
|
|
#:phases
|
2019-12-08 20:35:48 +00:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-code
|
|
|
|
|
(lambda _
|
|
|
|
|
(make-file-writable "src/qoauth.pc")
|
|
|
|
|
(substitute* "src/src.pro"
|
|
|
|
|
(("/lib64") "/lib"))
|
|
|
|
|
#t))
|
2020-12-07 23:28:06 +00:00
|
|
|
|
(add-after 'unpack 'adjust-mkspecs-directory
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "src/src.pro"
|
|
|
|
|
;; Do not attempt to install the .prf file into qtbase
|
2020-12-07 23:56:24 +00:00
|
|
|
|
;; "lib/qt5/mkspecs/features", ref <https://bugs.gnu.org/45031>.
|
2020-12-07 23:28:06 +00:00
|
|
|
|
(("\\$\\$\\[QMAKE_MKSPECS\\]")
|
|
|
|
|
(string-append (assoc-ref outputs "out") "/lib/qt5/mkspecs")))
|
|
|
|
|
#t))
|
2020-12-07 23:30:08 +00:00
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((qca (assoc-ref inputs "qca")))
|
2019-12-08 20:35:48 +00:00
|
|
|
|
(invoke
|
|
|
|
|
"qmake"
|
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
|
(string-append "QMAKE_INCDIR+=" qca "/include/Qca-qt5/QtCrypto")
|
|
|
|
|
(string-append "LIBS+=-L" qca "/lib")
|
|
|
|
|
(string-append "LIBS+=-lqca-qt5"))))))))
|
|
|
|
|
(home-page "https://github.com/ayoy/qoauth")
|
|
|
|
|
(synopsis "Qt-based C++ library for OAuth authorization scheme")
|
|
|
|
|
(description "QOAuth is an attempt to support interaction with
|
|
|
|
|
OAuth-powered network services in a Qt way, i.e. simply, clearly and
|
|
|
|
|
efficiently. It gives the application developer no more than 4 methods.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2016-04-25 03:03:17 +00:00
|
|
|
|
(define-public krona-tools
|
|
|
|
|
(package
|
|
|
|
|
(name "krona-tools")
|
2021-04-28 07:36:23 +00:00
|
|
|
|
(version "2.8")
|
2016-04-25 03:03:17 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/marbl/Krona/releases/download/v"
|
|
|
|
|
version "/KronaTools-" version ".tar"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-04-28 07:36:23 +00:00
|
|
|
|
"1h698wddb3hii68mnkby7s1x81vbhd4z1sf4ivm1lsi2nqlc1vsn"))))
|
2016-04-25 03:03:17 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(arguments
|
2016-06-04 23:54:33 +00:00
|
|
|
|
`(#:phases
|
2016-04-25 03:03:17 +00:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; There is no configure or build steps.
|
|
|
|
|
(delete 'configure)
|
2016-07-27 13:39:46 +00:00
|
|
|
|
(delete 'build)
|
2016-04-25 03:03:17 +00:00
|
|
|
|
;; Install script "install.pl" expects the build directory to remain
|
|
|
|
|
;; after installation, creating symlinks etc., so re-implement it
|
|
|
|
|
;; here.
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((bin (string-append (assoc-ref outputs "out") "/bin"))
|
|
|
|
|
(perl (string-append (assoc-ref outputs "out")
|
2021-04-28 08:15:43 +00:00
|
|
|
|
"/lib/perl5/site_perl/krona-tools/lib"))
|
|
|
|
|
(share (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/share/krona-tools")))
|
2016-04-25 03:03:17 +00:00
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (script)
|
2021-04-28 08:15:43 +00:00
|
|
|
|
(let ((executable (string-append "scripts/" script ".pl")))
|
2016-04-25 03:03:17 +00:00
|
|
|
|
;; Prefix executables with 'kt' as install script does.
|
|
|
|
|
(copy-file executable (string-append bin "/kt" script))))
|
|
|
|
|
'("ClassifyBLAST"
|
|
|
|
|
"GetContigMagnitudes"
|
2016-07-27 13:39:46 +00:00
|
|
|
|
"GetLCA"
|
|
|
|
|
"GetTaxIDFromAcc"
|
|
|
|
|
"GetTaxInfo"
|
2016-04-25 03:03:17 +00:00
|
|
|
|
"ImportBLAST"
|
|
|
|
|
"ImportDiskUsage"
|
|
|
|
|
"ImportEC"
|
|
|
|
|
"ImportFCP"
|
|
|
|
|
"ImportGalaxy"
|
|
|
|
|
"ImportKrona"
|
|
|
|
|
"ImportMETAREP-BLAST"
|
|
|
|
|
"ImportMETAREP-EC"
|
|
|
|
|
"ImportMGRAST"
|
|
|
|
|
"ImportPhymmBL"
|
|
|
|
|
"ImportRDP"
|
|
|
|
|
"ImportRDPComparison"
|
|
|
|
|
"ImportTaxonomy"
|
|
|
|
|
"ImportText"
|
|
|
|
|
"ImportXML"))
|
2016-07-27 13:39:46 +00:00
|
|
|
|
(for-each
|
|
|
|
|
(lambda (directory)
|
|
|
|
|
(copy-recursively directory
|
|
|
|
|
(string-append perl "/../" directory)))
|
|
|
|
|
(list "data" "img" "taxonomy" "src"))
|
2021-04-28 08:15:43 +00:00
|
|
|
|
(install-file "lib/KronaTools.pm" perl)
|
|
|
|
|
|
|
|
|
|
;; Install downloaders
|
|
|
|
|
(substitute* "updateAccessions.sh"
|
|
|
|
|
(("ktPath=.*") (string-append "ktPath=" share "\n")))
|
|
|
|
|
(substitute* "updateTaxonomy.sh"
|
|
|
|
|
(("ktPath=.*") (string-append "ktPath=" share "\n"))
|
|
|
|
|
(("command -v curl")
|
|
|
|
|
(string-append "command -v " (which "curl")))
|
|
|
|
|
(("curl -s")
|
|
|
|
|
(string-append (which "curl") " -s"))
|
|
|
|
|
(("curl\\$timestring")
|
|
|
|
|
(string-append (which "curl") "$timestring"))
|
|
|
|
|
(("perl -M")
|
|
|
|
|
(string-append (which "perl") " -M"))
|
|
|
|
|
(("make ")
|
|
|
|
|
(string-append (which "make") " ")))
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file file (string-append share "/scripts")))
|
|
|
|
|
'("scripts/extractTaxonomy.pl"
|
|
|
|
|
"scripts/accession2taxid.make"
|
|
|
|
|
"scripts/taxonomy.make"))
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file file share))
|
|
|
|
|
'("updateAccessions.sh"
|
|
|
|
|
"updateTaxonomy.sh")))))
|
2016-04-25 03:03:17 +00:00
|
|
|
|
(add-after 'install 'wrap-program
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(path (getenv "PERL5LIB")))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (executable)
|
|
|
|
|
(wrap-program executable
|
|
|
|
|
`("PERL5LIB" ":" prefix
|
2016-06-04 23:54:33 +00:00
|
|
|
|
(,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
|
|
|
|
|
(find-files (string-append out "/bin/") ".*")))))
|
|
|
|
|
(delete 'check)
|
|
|
|
|
(add-after 'wrap-program 'check
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(with-directory-excursion "data"
|
2018-04-01 05:38:24 +00:00
|
|
|
|
(invoke (string-append (assoc-ref outputs "out") "/bin/ktImportText")
|
|
|
|
|
"ec.tsv")))))))
|
2016-04-25 03:03:17 +00:00
|
|
|
|
(inputs
|
2021-04-28 08:15:43 +00:00
|
|
|
|
`(("curl" ,curl)
|
|
|
|
|
("make" ,gnu-make)
|
|
|
|
|
("perl" ,perl)))
|
2016-04-25 03:03:17 +00:00
|
|
|
|
(home-page "https://github.com/marbl/Krona/wiki")
|
|
|
|
|
(synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
|
|
|
|
|
(description
|
|
|
|
|
"Krona is a flexible tool for exploring the relative proportions of
|
|
|
|
|
hierarchical data, such as metagenomic classifications, using a radial,
|
|
|
|
|
space-filling display. It is implemented using HTML5 and JavaScript, allowing
|
|
|
|
|
charts to be explored locally or served over the Internet, requiring only a
|
|
|
|
|
current version of any major web browser.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:bsd-3)))
|
2016-04-25 03:03:17 +00:00
|
|
|
|
|
2015-05-25 20:14:39 +00:00
|
|
|
|
(define-public rapidjson
|
|
|
|
|
(package
|
|
|
|
|
(name "rapidjson")
|
2017-08-01 17:09:26 +00:00
|
|
|
|
(version "1.1.0")
|
2015-05-25 20:14:39 +00:00
|
|
|
|
(source (origin
|
2019-03-15 11:38:43 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/Tencent/rapidjson")
|
2019-03-15 11:38:43 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1jixgb8w97l9gdh3inihz7avz7i770gy2j2irvvlyrq3wi41f5ab"))
|
2019-07-09 22:29:32 +00:00
|
|
|
|
(patches (search-patches "rapidjson-gcc-compat.patch"))
|
2019-03-15 11:38:43 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Remove code using the problematic JSON license (see
|
|
|
|
|
;; <https://www.gnu.org/licenses/license-list.html#JSON>).
|
|
|
|
|
(delete-file-recursively "bin/jsonchecker")
|
|
|
|
|
#t))))
|
2015-05-25 20:14:39 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2017-03-30 20:20:07 +00:00
|
|
|
|
(arguments
|
2019-03-15 11:38:43 +00:00
|
|
|
|
(if (string-prefix? "aarch64" (or (%current-target-system)
|
|
|
|
|
(%current-system)))
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-aarch-march-detection
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* (find-files "." "^CMakeLists\\.txt$")
|
|
|
|
|
(("native") "armv8-a"))
|
|
|
|
|
#t))))
|
2019-03-15 11:42:41 +00:00
|
|
|
|
;; Disable CPU optimization for reproducibility.
|
|
|
|
|
'(#:configure-flags '("-DRAPIDJSON_ENABLE_INSTRUMENTATION_OPT=OFF"))))
|
2019-03-14 13:28:02 +00:00
|
|
|
|
(home-page "https://github.com/Tencent/rapidjson")
|
2015-05-25 20:14:39 +00:00
|
|
|
|
(synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
|
|
|
|
|
(description
|
|
|
|
|
"RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
|
|
|
|
|
style API.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
2015-05-25 20:14:39 +00:00
|
|
|
|
|
2015-08-17 20:06:01 +00:00
|
|
|
|
(define-public libyajl
|
|
|
|
|
(package
|
|
|
|
|
(name "libyajl")
|
|
|
|
|
(version "2.1.0")
|
|
|
|
|
(source (origin
|
2019-02-10 18:37:42 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/lloyd/yajl")
|
2019-02-10 18:37:42 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2015-08-17 20:06:01 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-10 18:37:42 +00:00
|
|
|
|
"00yj06drb6izcxfxfqlhimlrb089kka0w0x8k27pyzyiq7qzcvml"))))
|
2015-08-17 20:06:01 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2018-07-10 19:16:14 +00:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'patch-source-shebangs 'patch-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "test/parsing/run_tests.sh"
|
|
|
|
|
(("`which echo`") (which "echo")))
|
|
|
|
|
#t)))))
|
2015-08-17 20:06:01 +00:00
|
|
|
|
(home-page "https://lloyd.github.io/yajl/")
|
|
|
|
|
(synopsis "C library for parsing JSON")
|
|
|
|
|
(description
|
|
|
|
|
"Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
|
|
|
|
|
parser written in ANSI C and a small validating JSON generator.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:isc)))
|
2015-08-17 20:06:01 +00:00
|
|
|
|
|
2014-02-27 18:49:12 +00:00
|
|
|
|
(define-public libwebsockets
|
|
|
|
|
(package
|
|
|
|
|
(name "libwebsockets")
|
2021-04-05 14:53:12 +00:00
|
|
|
|
(version "4.1.6")
|
2014-02-27 18:49:12 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
;; The project does not publish tarballs, so we have to take
|
|
|
|
|
;; things from Git.
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/warmcat/libwebsockets")
|
2021-04-05 14:53:12 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
2014-02-27 18:49:12 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-04-05 14:53:12 +00:00
|
|
|
|
"0x56v4hsx92vm1zibfmnqb5g3v23kzciffn3fjlsc3sly2pknhsg"))
|
2014-02-27 18:49:12 +00:00
|
|
|
|
(file-name (string-append name "-" version))))
|
|
|
|
|
|
2014-08-28 09:38:12 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2014-02-27 18:49:12 +00:00
|
|
|
|
(arguments
|
2014-08-28 09:38:12 +00:00
|
|
|
|
;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
|
|
|
|
|
;; doesn't use 'add_test', and it's unclear how to run the test suite.
|
|
|
|
|
'(#:tests? #f))
|
2014-02-27 18:49:12 +00:00
|
|
|
|
|
2014-08-28 09:38:12 +00:00
|
|
|
|
(native-inputs `(("perl" ,perl))) ; to build the HTML doc
|
2014-02-27 18:49:12 +00:00
|
|
|
|
(inputs `(("zlib" ,zlib)
|
|
|
|
|
("openssl" ,openssl)))
|
|
|
|
|
(synopsis "WebSockets library written in C")
|
|
|
|
|
(description
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 04:46:59 +00:00
|
|
|
|
"Libwebsockets is a library that allows C programs to establish client
|
2014-02-27 18:49:12 +00:00
|
|
|
|
and server WebSockets connections---a protocol layered above HTTP that allows
|
|
|
|
|
for efficient socket-like bidirectional reliable communication channels.")
|
2020-01-18 21:57:19 +00:00
|
|
|
|
(home-page "https://libwebsockets.org")
|
2014-02-27 18:49:12 +00:00
|
|
|
|
|
|
|
|
|
;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:lgpl2.1)))
|
2014-02-27 18:49:12 +00:00
|
|
|
|
|
2019-09-05 18:13:22 +00:00
|
|
|
|
(define-public wabt
|
|
|
|
|
(package
|
|
|
|
|
(name "wabt")
|
2019-09-27 10:24:20 +00:00
|
|
|
|
(version "1.0.12")
|
2019-09-05 18:13:22 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/WebAssembly/wabt")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2019-09-27 10:24:20 +00:00
|
|
|
|
(base32 "1zlv3740wkqj4mn6sr84h0x6wk2lcp4pwwmqsh5yyqp1j1glbsa0"))))
|
2019-09-05 18:13:22 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("-DBUILD_TESTS=OFF")
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(inputs `(("python" ,python-2)
|
|
|
|
|
("re2c" ,re2c)))
|
|
|
|
|
(home-page "https://github.com/WebAssembly/wabt")
|
|
|
|
|
(synopsis "WebAssembly Binary Toolkit")
|
|
|
|
|
(description "WABT (pronounced: wabbit) is a suite of tools for
|
|
|
|
|
WebAssembly, including:
|
|
|
|
|
|
2020-02-16 21:32:37 +00:00
|
|
|
|
@enumerate
|
|
|
|
|
@item @command{wat2wasm} translates from WebAssembly text format to the
|
|
|
|
|
WebAssembly binary format
|
|
|
|
|
@item @command{wasm2wat} is the inverse; it translates from the binary format
|
|
|
|
|
back to the text format (also known as a .wat)
|
|
|
|
|
@item @command{wasm-objdump} prints information about a wasm binary, similarly
|
|
|
|
|
to @command{objdump}.
|
|
|
|
|
@item @command{wasm-interp} decodes ands run a WebAssembly binary file using a
|
|
|
|
|
stack-based interpreter
|
|
|
|
|
@item @command{wat-desugar} parses .wat text form as supported by the spec
|
|
|
|
|
interpreter (s-expressions, flat syntax, or mixed) and prints the canonical
|
|
|
|
|
flat format
|
|
|
|
|
@item @command{wasm2c} converts a WebAssembly binary file to a C source and
|
|
|
|
|
header file.
|
|
|
|
|
@end enumerate
|
2019-09-05 18:13:22 +00:00
|
|
|
|
|
|
|
|
|
These tools are intended for use in (or for development of) toolchains or
|
|
|
|
|
other systems that want to manipulate WebAssembly files.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2019-07-17 18:11:16 +00:00
|
|
|
|
(define-public websocketpp
|
|
|
|
|
(package
|
|
|
|
|
(name "websocketpp")
|
2020-06-05 16:45:11 +00:00
|
|
|
|
(version "0.8.2")
|
2019-07-17 18:11:16 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/zaphoyd/websocketpp")
|
2019-07-17 18:11:16 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-06-05 16:45:11 +00:00
|
|
|
|
(base32 "1ww4fhl8qf12hkv6jaild8zzsygdspxm1gqpk2f63gv1xfi31wpm"))
|
|
|
|
|
(patches (search-patches "websocketpp-fix-for-cmake-3.15.patch"))))
|
2019-07-17 18:11:16 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs `(("boost" ,boost)
|
|
|
|
|
("openssl" ,openssl)))
|
|
|
|
|
(arguments '(#:configure-flags '("-DBUILD_TESTS=ON")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'remove-tests
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((install-dir (assoc-ref outputs "out"))
|
|
|
|
|
(bin-dir (string-append install-dir "/bin")))
|
|
|
|
|
(delete-file-recursively bin-dir)
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "https://www.zaphoyd.com/websocketpp/")
|
|
|
|
|
(synopsis "C++ library implementing the WebSocket protocol")
|
|
|
|
|
(description "WebSocket++ is a C++ library that can be used to implement
|
|
|
|
|
WebSocket functionality. The goals of the project are to provide a WebSocket
|
|
|
|
|
implementation that is simple, portable, flexible, lightweight, low level, and
|
|
|
|
|
high performance.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2020-02-01 13:00:37 +00:00
|
|
|
|
(define-public wslay
|
|
|
|
|
(package
|
|
|
|
|
(name "wslay")
|
2020-06-29 23:49:57 +00:00
|
|
|
|
(version "1.1.1")
|
2020-02-01 13:00:37 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/tatsuhiro-t/wslay")
|
2020-02-01 13:00:37 +00:00
|
|
|
|
(commit (string-append "release-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-06-29 23:49:57 +00:00
|
|
|
|
(base32 "1w32iljg4inqf0712w5fxxhggvmjh6ipl2lnz0h36dv1xrj0d964"))))
|
2020-02-01 13:00:37 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2020-02-22 22:33:38 +00:00
|
|
|
|
(arguments
|
|
|
|
|
;; Parallel builds don't reliably succeed.
|
|
|
|
|
`(#:parallel-build? #f))
|
2020-02-01 13:00:37 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
2020-02-22 22:33:38 +00:00
|
|
|
|
("cunit" ,cunit) ; for tests
|
2020-02-01 13:00:37 +00:00
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python-sphinx" ,python-sphinx)))
|
|
|
|
|
(home-page "https://tatsuhiro-t.github.io/wslay/")
|
|
|
|
|
(synopsis "C WebSocket library")
|
|
|
|
|
(description "@code{Wslay} is an event-based C library for the WebSocket
|
|
|
|
|
protocol version 13, described in RFC 6455. Besides a high-level API it
|
|
|
|
|
provides callbacks for sending and receiving frames directly. @code{Wslay}
|
|
|
|
|
only supports the data transfer part of WebSocket protocol and does not
|
|
|
|
|
perform the opening handshake in HTTP.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2014-10-30 21:15:13 +00:00
|
|
|
|
(define-public libpsl
|
|
|
|
|
(package
|
|
|
|
|
(name "libpsl")
|
2020-07-24 20:40:25 +00:00
|
|
|
|
(version "0.21.1")
|
2014-10-30 21:15:13 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/rockdaboot/libpsl/"
|
2020-07-24 20:40:25 +00:00
|
|
|
|
"releases/download/" version
|
2016-04-03 20:35:29 +00:00
|
|
|
|
"/libpsl-" version ".tar.gz"))
|
2014-10-30 21:15:13 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-07-24 20:40:25 +00:00
|
|
|
|
"0k0d46bbh1jj2ll369f134vciplrzbqkg7fv9m62bl6lzghy2v5c"))))
|
2014-10-30 21:15:13 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2017-07-21 03:14:32 +00:00
|
|
|
|
(native-inputs
|
2019-07-07 16:55:57 +00:00
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
|
|
|
|
|
;; For tests.
|
|
|
|
|
("python" ,python-wrapper)))
|
2016-04-03 20:35:29 +00:00
|
|
|
|
(inputs
|
2017-07-21 03:14:32 +00:00
|
|
|
|
`(("libidn2" ,libidn2)
|
2019-07-07 16:55:57 +00:00
|
|
|
|
("libunistring" ,libunistring)))
|
2014-10-30 21:15:13 +00:00
|
|
|
|
(home-page "https://github.com/rockdaboot/libpsl")
|
|
|
|
|
(synopsis "C library for the Publix Suffix List")
|
|
|
|
|
(description
|
|
|
|
|
"A \"public suffix\" is a domain name under which Internet users can
|
|
|
|
|
directly register own names.
|
|
|
|
|
|
|
|
|
|
Browsers and other web clients can use it to avoid privacy-leaking
|
|
|
|
|
\"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
|
|
|
|
|
highlighting parts of the domain in a user interface, and sorting domain lists
|
|
|
|
|
by site.
|
|
|
|
|
|
2020-04-12 20:01:07 +00:00
|
|
|
|
Libpsl has built-in PSL data for fast access, allowing to load PSL data from
|
2014-10-30 21:15:13 +00:00
|
|
|
|
files, checks if a given domain is a public suffix, provides immediate cookie
|
|
|
|
|
domain verification, finds the longest public part of a given domain, finds
|
|
|
|
|
the shortest private part of a given domain, works with international
|
|
|
|
|
domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 12:16:07 +00:00
|
|
|
|
UTS#46.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:x11)))
|
2014-10-30 21:15:13 +00:00
|
|
|
|
|
2015-02-07 02:14:11 +00:00
|
|
|
|
(define-public tidy
|
|
|
|
|
(package
|
|
|
|
|
(name "tidy")
|
|
|
|
|
(version "20091223")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method cvs-fetch)
|
|
|
|
|
(uri (cvs-reference
|
|
|
|
|
(root-directory
|
|
|
|
|
":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
|
|
|
|
|
(module "tidy")
|
|
|
|
|
(revision "2009-12-23")))
|
2018-03-13 19:36:22 +00:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
2015-02-07 02:14:11 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-07-21 03:32:30 +00:00
|
|
|
|
"14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
|
2016-04-08 12:18:13 +00:00
|
|
|
|
(patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
|
2015-02-07 02:14:11 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2016-11-12 17:33:45 +00:00
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
2018-03-11 20:46:30 +00:00
|
|
|
|
(replace 'bootstrap
|
2016-11-12 17:33:45 +00:00
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; configure.in and Makefile.am aren't in the root of the
|
|
|
|
|
;; source tree.
|
|
|
|
|
(copy-recursively "build/gnuauto" ".")
|
|
|
|
|
(setenv "AUTOMAKE" "automake --foreign")
|
2018-04-01 05:41:34 +00:00
|
|
|
|
(invoke "autoreconf" "-vfi"))))))
|
2015-02-07 02:14:11 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("automake" ,automake)
|
|
|
|
|
("autoconf" ,autoconf)
|
|
|
|
|
("libtool" ,libtool)))
|
|
|
|
|
(synopsis "HTML validator and tidier")
|
|
|
|
|
(description "HTML Tidy is a command-line tool and C library that can be
|
|
|
|
|
used to validate and fix HTML data.")
|
|
|
|
|
(home-page "http://tidy.sourceforge.net/")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license (license:x11-style "file:///include/tidy.h"))))
|
2015-02-07 02:14:11 +00:00
|
|
|
|
|
2020-10-11 16:16:29 +00:00
|
|
|
|
(define-public esbuild
|
|
|
|
|
(package
|
|
|
|
|
(name "esbuild")
|
2021-04-25 04:44:35 +00:00
|
|
|
|
(version "0.11.14")
|
2020-10-11 16:16:29 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/evanw/esbuild")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-04-25 04:44:35 +00:00
|
|
|
|
(base32 "0qxylzc7lzpsp5hm3dl5jvy9aca8azn8dmbjz9z5n5rkdmm8vd9p"))
|
2020-10-11 16:16:29 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Remove prebuilt binaries
|
|
|
|
|
(delete-file-recursively "npm")
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:import-path "github.com/evanw/esbuild/cmd/esbuild"
|
|
|
|
|
#:unpack-path "github.com/evanw/esbuild"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? unpack-path #:allow-other-keys)
|
2020-10-30 04:32:10 +00:00
|
|
|
|
(when tests?
|
2020-10-11 16:16:29 +00:00
|
|
|
|
(with-directory-excursion (string-append "src/" unpack-path)
|
|
|
|
|
(invoke "make" "test-go")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
2020-10-30 04:32:10 +00:00
|
|
|
|
`(("golang.org/x/sys" ,go-golang-org-x-sys)))
|
2020-10-11 16:16:29 +00:00
|
|
|
|
(native-inputs
|
2020-10-30 04:32:10 +00:00
|
|
|
|
`(("github.com/kylelemons/godebug" ,go-github-com-kylelemons-godebug)))
|
2020-11-25 01:56:04 +00:00
|
|
|
|
(home-page "https://esbuild.github.io/")
|
2020-10-11 16:16:29 +00:00
|
|
|
|
(synopsis "Bundler and minifier tool for JavaScript and TypeScript")
|
|
|
|
|
(description
|
|
|
|
|
"The esbuild tool provides a unified bundler, transpiler and
|
|
|
|
|
minifier. It packages up JavaScript and TypeScript code, along with JSON
|
|
|
|
|
and other data, for distribution on the web.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(define-public tinyproxy
|
2013-12-07 20:56:01 +00:00
|
|
|
|
(package
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(name "tinyproxy")
|
2021-05-07 00:10:22 +00:00
|
|
|
|
(version "1.11.0")
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-05-30 07:16:42 +00:00
|
|
|
|
(uri (string-append "https://github.com/tinyproxy/tinyproxy/"
|
|
|
|
|
"releases/download/" version "/tinyproxy-"
|
|
|
|
|
version ".tar.xz"))
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-05-07 00:10:22 +00:00
|
|
|
|
"0cizm8pbh5p557birdirkayj71xdxapaa9q29v1d4lf5qk7q3v61"))))
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2021-05-07 00:10:57 +00:00
|
|
|
|
`(#:test-target "test" ; ‘make check’ silently does nothing
|
|
|
|
|
#:configure-flags
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(list
|
|
|
|
|
;; For the log file, etc.
|
|
|
|
|
"--localstatedir=/var")
|
|
|
|
|
#:phases
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 15:28:42 +00:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'pre-build
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys #:rest args)
|
|
|
|
|
;; Uncommenting the next two lines may assist in debugging
|
|
|
|
|
;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
|
|
|
|
|
;; (setenv "XML_DEBUG_CATALOG" "1")
|
|
|
|
|
#t)))))
|
2021-05-07 00:10:57 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl))) ; for tests
|
2016-05-30 07:16:42 +00:00
|
|
|
|
(home-page "https://tinyproxy.github.io/")
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(synopsis "Light-weight HTTP/HTTPS proxy daemon")
|
|
|
|
|
(description "Tinyproxy is a light-weight HTTP/HTTPS proxy
|
|
|
|
|
daemon. Designed from the ground up to be fast and yet small, it is an ideal
|
|
|
|
|
solution for use cases such as embedded deployments where a full featured HTTP
|
|
|
|
|
proxy is required, but the system resources for a larger proxy are
|
|
|
|
|
unavailable.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:gpl2+)))
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
|
|
|
|
|
(define-public polipo
|
|
|
|
|
(package
|
|
|
|
|
(name "polipo")
|
|
|
|
|
(version "1.1.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
|
|
|
|
|
(native-inputs `(("texinfo" ,texinfo)))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2016-09-15 17:39:11 +00:00
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list (string-append "PREFIX=" out)
|
|
|
|
|
(string-append "LOCAL_ROOT="
|
|
|
|
|
out "/share/polipo/www")
|
|
|
|
|
"CC=gcc"))
|
|
|
|
|
;; No 'check' target.
|
|
|
|
|
#:tests? #f))
|
2020-01-18 22:37:05 +00:00
|
|
|
|
(home-page "https://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(synopsis "Small caching web proxy")
|
|
|
|
|
(description
|
|
|
|
|
"Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
|
|
|
|
|
server). It was primarily designed to be used by one person or a small group
|
|
|
|
|
of people.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
|
2017-11-06 09:32:05 +00:00
|
|
|
|
(define-public websockify
|
|
|
|
|
(package
|
|
|
|
|
(name "websockify")
|
|
|
|
|
(version "0.8.0")
|
|
|
|
|
(source (origin
|
2019-02-10 20:36:23 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/novnc/websockify")
|
2019-02-10 20:36:23 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-11-06 09:32:05 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-10 20:36:23 +00:00
|
|
|
|
"0pcic8qs0gdwrfjgfaf893jyddaw97wcjm2mmvwn0xyhmy8mbmw1"))))
|
2017-11-06 09:32:05 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No module
|
|
|
|
|
; named 'stubout'". The tests can be run by replacing the check phase with
|
|
|
|
|
; the command "python setup.py nosetests --verbosity=3".
|
|
|
|
|
(native-inputs `(; Required for tests:
|
2018-03-16 15:50:14 +00:00
|
|
|
|
("python-mox3" ,python-mox3)
|
|
|
|
|
("python-nose" ,python-nose)))
|
|
|
|
|
(propagated-inputs `(("python-numpy" ,python-numpy)))
|
2017-11-06 09:32:05 +00:00
|
|
|
|
(home-page "https://github.com/novnc/websockify")
|
|
|
|
|
(synopsis "WebSockets support for any application/server")
|
|
|
|
|
(description "Websockify translates WebSockets traffic to normal socket
|
|
|
|
|
traffic. Websockify accepts the WebSockets handshake, parses it, and then
|
|
|
|
|
begins forwarding traffic between the client and the target in both
|
|
|
|
|
directions.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:lgpl3)))
|
2017-11-06 09:32:05 +00:00
|
|
|
|
|
2016-12-22 03:52:14 +00:00
|
|
|
|
(define-public wwwoffle
|
|
|
|
|
(package
|
|
|
|
|
(name "wwwoffle")
|
|
|
|
|
(version "2.9j")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.gedanken.org.uk/software/"
|
|
|
|
|
"wwwoffle/download/wwwoffle-"
|
|
|
|
|
version ".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("--with-gnutls")
|
|
|
|
|
#:tests? #f)) ; no test target
|
|
|
|
|
(native-inputs `(("flex" ,flex)))
|
|
|
|
|
(inputs `(("gnutls" ,gnutls)
|
2018-03-16 15:50:14 +00:00
|
|
|
|
("libcrypt" ,libgcrypt)))
|
2016-12-22 03:52:14 +00:00
|
|
|
|
(home-page "https://www.gedanken.org.uk/software/wwwoffle/")
|
|
|
|
|
(synopsis "Caching web proxy optimized for intermittent internet links")
|
|
|
|
|
(description "WWWOFFLE is a proxy web server that is especially good for
|
|
|
|
|
intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
|
|
|
|
|
protocols, and supports browsing and requesting pages while offline, indexing,
|
|
|
|
|
modifying pages and incoming and outgoing headers, monitoring pages for
|
|
|
|
|
changes, and much more.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:gpl2+)))
|
2016-12-22 03:52:14 +00:00
|
|
|
|
|
2017-05-26 03:17:04 +00:00
|
|
|
|
(define-public liboauth
|
|
|
|
|
(package
|
|
|
|
|
(name "liboauth")
|
|
|
|
|
(version "1.0.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/liboauth/liboauth-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments '(#:configure-flags '("--enable-nss")))
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("curl" ,curl)
|
|
|
|
|
("nss" ,nss)))
|
|
|
|
|
(home-page "https://sourceforge.net/projects/liboauth")
|
2017-06-05 15:41:29 +00:00
|
|
|
|
(synopsis "C library implementing the OAuth API")
|
2017-05-26 03:17:04 +00:00
|
|
|
|
(description
|
2017-06-05 15:41:29 +00:00
|
|
|
|
"liboauth is a collection of C functions implementing the OAuth API.
|
|
|
|
|
liboauth provides functions to escape and encode strings according to OAuth
|
|
|
|
|
specifications and offers high-level functionality built on top to sign
|
2017-05-26 03:17:04 +00:00
|
|
|
|
requests or verify signatures using either NSS or OpenSSL for calculating the
|
|
|
|
|
hash/signatures.")
|
|
|
|
|
;; Source code may be distributed under either license.
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license (list license:expat license:gpl2+))))
|
2017-05-26 03:17:04 +00:00
|
|
|
|
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(define-public libyaml
|
|
|
|
|
(package
|
|
|
|
|
(name "libyaml")
|
2020-06-27 13:37:08 +00:00
|
|
|
|
(version "0.2.5")
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-07-16 17:05:39 +00:00
|
|
|
|
(uri (string-append "https://pyyaml.org/download/libyaml/yaml-"
|
|
|
|
|
version ".tar.gz"))
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-27 13:37:08 +00:00
|
|
|
|
"1x4fcw13r3lqy8ndydr3ili87wicplw2awbcv6r21qgyfndswhn6"))))
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2020-06-27 13:37:44 +00:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("--disable-static")))
|
2020-07-16 17:05:39 +00:00
|
|
|
|
(home-page "https://pyyaml.org/wiki/LibYAML")
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(synopsis "YAML 1.1 parser and emitter written in C")
|
|
|
|
|
(description
|
|
|
|
|
"LibYAML is a YAML 1.1 parser and emitter written in C.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
|
2020-12-01 12:29:17 +00:00
|
|
|
|
(define-public libyaml+static
|
|
|
|
|
(package
|
|
|
|
|
(inherit libyaml)
|
|
|
|
|
(name "libyaml+static")
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("--enable-static")))))
|
|
|
|
|
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(define-public libquvi-scripts
|
|
|
|
|
(package
|
|
|
|
|
(name "libquvi-scripts")
|
|
|
|
|
(version "0.4.21")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-07-21 06:35:30 +00:00
|
|
|
|
"mirror://sourceforge/quvi/" (version-major+minor version) "/"
|
|
|
|
|
name "/" name "-" version ".tar.xz"))
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "http://quvi.sourceforge.net/")
|
|
|
|
|
(synopsis "Media stream URL parser")
|
|
|
|
|
(description "This package contains support scripts called by libquvi to
|
|
|
|
|
parse media stream properties.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:lgpl2.1+)))
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
|
|
|
|
|
(define-public libquvi
|
|
|
|
|
(package
|
|
|
|
|
(name "libquvi")
|
|
|
|
|
(version "0.4.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-07-21 06:35:30 +00:00
|
|
|
|
"mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("curl" ,curl)
|
|
|
|
|
("cyrus-sasl" ,cyrus-sasl)
|
|
|
|
|
("libquvi-scripts" ,libquvi-scripts)
|
|
|
|
|
("lua" ,lua-5.1)
|
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
(let ((lua (assoc-ref %build-inputs "lua")))
|
|
|
|
|
(list
|
|
|
|
|
(string-append "liblua_CFLAGS=-I" lua "/include")
|
|
|
|
|
(string-append "liblua_LIBS=-L" lua "/libs -llua")))))
|
|
|
|
|
(home-page "http://quvi.sourceforge.net/")
|
|
|
|
|
(synopsis "Media stream URL parser")
|
|
|
|
|
(description "libquvi is a library with a C API for parsing media stream
|
|
|
|
|
URLs and extracting their actual media files.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:lgpl2.1+)))
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
|
|
|
|
|
(define-public quvi
|
|
|
|
|
(package
|
|
|
|
|
(name "quvi")
|
|
|
|
|
(version "0.4.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-07-21 06:35:30 +00:00
|
|
|
|
"mirror://sourceforge/" name "/" (version-major+minor version)
|
|
|
|
|
"/" name "/" name "-" version ".tar.xz"))
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("curl" ,curl)
|
|
|
|
|
("libquvi" ,libquvi)))
|
|
|
|
|
(home-page "http://quvi.sourceforge.net/")
|
|
|
|
|
(synopsis "Media stream URL parser")
|
|
|
|
|
(description "quvi is a command-line-tool suite to extract media files
|
|
|
|
|
from streaming URLs. It is a command-line wrapper for the libquvi library.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:lgpl2.1+)))
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
|
2015-05-07 08:48:52 +00:00
|
|
|
|
(define-public serf
|
|
|
|
|
(package
|
|
|
|
|
(name "serf")
|
2017-04-27 15:52:48 +00:00
|
|
|
|
(version "1.3.9")
|
2015-05-07 08:48:52 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-06-12 15:04:01 +00:00
|
|
|
|
(uri (string-append "mirror://apache/serf/serf-"
|
2015-05-07 08:48:52 +00:00
|
|
|
|
version ".tar.bz2"))
|
2020-12-19 20:59:03 +00:00
|
|
|
|
(patches (search-patches "serf-python3.patch"))
|
2015-05-07 08:48:52 +00:00
|
|
|
|
(sha256
|
2017-04-27 15:52:48 +00:00
|
|
|
|
(base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
|
2017-08-31 11:38:27 +00:00
|
|
|
|
(build-system scons-build-system)
|
2015-05-07 08:48:52 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("apr" ,apr)
|
|
|
|
|
("apr-util" ,apr-util)
|
|
|
|
|
("openssl" ,openssl)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(;; TODO: Fix build with gss.
|
|
|
|
|
;;("gss" ,gss)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
2020-12-19 20:59:03 +00:00
|
|
|
|
`(#:scons-flags (list (string-append "APR=" (assoc-ref %build-inputs "apr"))
|
2017-08-31 11:38:27 +00:00
|
|
|
|
(string-append "APU=" (assoc-ref %build-inputs "apr-util"))
|
|
|
|
|
(string-append "OPENSSL=" (assoc-ref %build-inputs "openssl"))
|
|
|
|
|
;; (string-append "GSSAPI=" (assoc-ref %build-inputs "gss"))
|
|
|
|
|
(string-append "ZLIB=" (assoc-ref %build-inputs "zlib"))
|
|
|
|
|
(string-append "PREFIX=" %output))
|
2017-05-06 22:24:08 +00:00
|
|
|
|
#:phases
|
2015-05-07 08:48:52 +00:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'scons-propagate-environment
|
|
|
|
|
(lambda _
|
|
|
|
|
;; By design, SCons does not, by default, propagate
|
|
|
|
|
;; environment variables to subprocesses. See:
|
|
|
|
|
;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
|
|
|
|
|
;; Here, we modify the SConstruct file to arrange for
|
|
|
|
|
;; environment variables to be propagated.
|
|
|
|
|
(substitute* "SConstruct"
|
|
|
|
|
(("^env = Environment\\(")
|
|
|
|
|
"env = Environment(ENV=os.environ, "))))
|
2017-04-27 15:48:28 +00:00
|
|
|
|
(add-before 'check 'disable-broken-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; These tests rely on SSL certificates that expired 2017-04-18.
|
|
|
|
|
;; While there are newer certs available upstream, we don't want
|
|
|
|
|
;; this package to suddenly "expire" some time in the future.
|
|
|
|
|
;; https://bugs.gnu.org/26671
|
|
|
|
|
(let ((broken-tests
|
|
|
|
|
'("test_ssl_trust_rootca"
|
|
|
|
|
"test_ssl_certificate_chain_with_anchor"
|
|
|
|
|
"test_ssl_certificate_chain_all_from_server"
|
|
|
|
|
"test_ssl_no_servercert_callback_allok"
|
|
|
|
|
"test_ssl_large_response"
|
|
|
|
|
"test_ssl_large_request"
|
|
|
|
|
"test_ssl_client_certificate"
|
|
|
|
|
"test_ssl_future_server_cert"
|
|
|
|
|
"test_setup_ssltunnel"
|
|
|
|
|
"test_ssltunnel_basic_auth"
|
|
|
|
|
"test_ssltunnel_basic_auth_server_has_keepalive_off"
|
|
|
|
|
"test_ssltunnel_basic_auth_proxy_has_keepalive_off"
|
|
|
|
|
"test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
|
|
|
|
|
"test_ssltunnel_digest_auth")))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (test)
|
|
|
|
|
(substitute* "test/test_context.c"
|
|
|
|
|
(((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
|
|
|
|
|
broken-tests)
|
2017-08-31 11:38:27 +00:00
|
|
|
|
#t))))))
|
2016-05-27 13:40:05 +00:00
|
|
|
|
(home-page "https://serf.apache.org/")
|
2015-05-07 08:48:52 +00:00
|
|
|
|
(synopsis "High-performance asynchronous HTTP client library")
|
|
|
|
|
(description
|
|
|
|
|
"serf is a C-based HTTP client library built upon the Apache Portable
|
|
|
|
|
Runtime (APR) library. It multiplexes connections, running the read/write
|
|
|
|
|
communication asynchronously. Memory copies and transformations are kept to a
|
|
|
|
|
minimum to provide high performance operation.")
|
|
|
|
|
;; Most of the code is covered by the Apache License, Version 2.0, but the
|
|
|
|
|
;; bundled CuTest framework uses a different non-copyleft license.
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license (list license:asl2.0 (license:non-copyleft "file://test/CuTest-README.txt")))))
|
2015-05-07 08:48:52 +00:00
|
|
|
|
|
2019-02-17 17:14:49 +00:00
|
|
|
|
(define-public libsass
|
|
|
|
|
(package
|
|
|
|
|
(name "libsass")
|
2020-01-19 16:55:58 +00:00
|
|
|
|
;; When updating, check whether sassc/libsass-3.5 is still needed.
|
2020-09-06 16:11:50 +00:00
|
|
|
|
(version "3.6.4")
|
2019-02-17 17:14:49 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/sass/libsass")
|
2019-02-17 17:14:49 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-09-06 16:11:50 +00:00
|
|
|
|
"0r8lfqvr3rjhjd8r036zd1wc9q17gyiskppcw9m13jks9an7xp4j"))))
|
2019-02-17 17:14:49 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'bootstrap 'set-LIBSASS_VERSION
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "LIBSASS_VERSION" ,version)
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)))
|
|
|
|
|
(home-page "https://sass-lang.com/libsass")
|
|
|
|
|
(synopsis "SASS Compiler, implemented as a C/C++ library")
|
|
|
|
|
(description
|
|
|
|
|
"LibSass is a @acronym{SASS,Syntactically awesome style sheets} compiler
|
|
|
|
|
library designed for portability and efficiency. To actually compile SASS
|
|
|
|
|
stylesheets, you'll need to use another program that uses this library,
|
|
|
|
|
@var{sassc} for example.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
2019-02-17 17:14:49 +00:00
|
|
|
|
|
2015-08-20 01:54:57 +00:00
|
|
|
|
(define-public sassc
|
2019-02-17 17:15:13 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "sassc")
|
2021-05-24 19:15:22 +00:00
|
|
|
|
(version "3.6.2")
|
2019-02-17 17:15:13 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/sass/sassc")
|
2019-02-17 17:15:13 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-05-24 19:15:22 +00:00
|
|
|
|
"0m7flrs0hz3ivib8kvsgn3d0fgkabqviadkp1dyspa6iibx3gjwd"))))
|
2019-02-17 17:15:13 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
2020-01-17 21:39:09 +00:00
|
|
|
|
#:tests? #f ; no test suite
|
2019-02-17 17:15:13 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-Makefile
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("build-shared: \\$\\(RESOURCES\\) \\$\\(OBJECTS\\) \\$\\(LIB_SHARED\\)")
|
|
|
|
|
"build-shared: $(RESOURCES) $(OBJECTS)")
|
|
|
|
|
(("\\$\\(SASSC_EXE\\): libsass build")
|
|
|
|
|
"$(SASSC_EXE): build")
|
|
|
|
|
(("install: libsass-install-\\$\\(BUILD\\) \\\\")
|
|
|
|
|
"install: \\"))
|
|
|
|
|
#t))
|
2021-05-24 19:15:22 +00:00
|
|
|
|
;; This phase fails because…
|
2019-02-17 17:15:13 +00:00
|
|
|
|
(delete 'bootstrap)
|
2021-05-24 19:15:22 +00:00
|
|
|
|
;; …there is no configure script to be generated.
|
2019-02-17 17:15:13 +00:00
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-before 'build 'setup-environment
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "BUILD" "shared")
|
|
|
|
|
(setenv "SASSC_VERSION" ,version)
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libsass" ,libsass)))
|
|
|
|
|
(synopsis "CSS pre-processor")
|
|
|
|
|
(description "SassC is a compiler written in C for the CSS pre-processor
|
2015-08-20 01:54:57 +00:00
|
|
|
|
language known as SASS.")
|
2020-01-17 21:39:09 +00:00
|
|
|
|
(home-page "https://sass-lang.com/libsass")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
2015-08-20 01:54:57 +00:00
|
|
|
|
|
2020-01-19 16:55:58 +00:00
|
|
|
|
(define-public sassc/libsass-3.5
|
|
|
|
|
;; Newer libsass versions suffor from a memory leak when building (some?)
|
|
|
|
|
;; GTK themes <https://github.com/sass/libsass/issues/3033>.
|
|
|
|
|
(package
|
|
|
|
|
(inherit sassc)
|
|
|
|
|
(name "sassc")
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libsass" ,
|
|
|
|
|
(package
|
|
|
|
|
(inherit libsass)
|
|
|
|
|
(name "libsass")
|
|
|
|
|
(version "3.5.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/sass/libsass")
|
2020-01-19 16:55:58 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-01-23 09:44:56 +00:00
|
|
|
|
"0830pjcvhzxh6yixj82x5k5r1xnadjqzi16kp53213icbly0r9ma"))))))))
|
|
|
|
|
(properties '((hidden? . #t)))))
|
2020-01-19 16:55:58 +00:00
|
|
|
|
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
|
2015-03-10 20:21:30 +00:00
|
|
|
|
(define-public perl-apache-logformat-compiler
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-apache-logformat-compiler")
|
2019-11-23 13:47:08 +00:00
|
|
|
|
(version "0.36")
|
2015-03-10 20:21:30 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
|
|
|
|
|
"Apache-LogFormat-Compiler-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2019-11-23 13:47:08 +00:00
|
|
|
|
(base32 "05xcl7j65vakx7x79jqjikyw0nzf60bc2w6hhc0q5sklxq1ral4l"))))
|
2015-03-10 20:21:30 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-http-message" ,perl-http-message)
|
2019-03-19 14:29:41 +00:00
|
|
|
|
("perl-module-build-tiny" ,perl-module-build-tiny)
|
2015-03-10 20:21:30 +00:00
|
|
|
|
("perl-test-mocktime" ,perl-test-mocktime)
|
|
|
|
|
("perl-try-tiny" ,perl-try-tiny)
|
|
|
|
|
("perl-uri" ,perl-uri)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
|
2019-03-19 14:29:41 +00:00
|
|
|
|
(arguments `(#:tests? #f)) ; TODO: Timezone test failures
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Apache-LogFormat-Compiler")
|
2015-03-10 20:21:30 +00:00
|
|
|
|
(synopsis "Compile a log format string to perl-code")
|
|
|
|
|
(description "This module provides methods to compile a log format string
|
|
|
|
|
to perl-code, for faster generation of access_log lines.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-10 20:21:30 +00:00
|
|
|
|
|
2015-06-28 02:01:54 +00:00
|
|
|
|
(define-public perl-authen-sasl
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-authen-sasl")
|
|
|
|
|
(version "2.16")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
|
|
|
|
|
"Authen-SASL-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
|
|
|
|
|
(build-system perl-build-system)
|
2017-06-14 14:36:50 +00:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'set-env
|
|
|
|
|
;; Fix the build with Perl 5.26.0. Try removing this phase for later
|
|
|
|
|
;; versions of perl-authen-sasl.
|
|
|
|
|
(lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
|
2015-06-28 02:01:54 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-digest-hmac" ,perl-digest-hmac)
|
|
|
|
|
("perl-gssapi" ,perl-gssapi)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Authen-SASL")
|
2015-06-28 02:01:54 +00:00
|
|
|
|
(synopsis "SASL authentication framework")
|
|
|
|
|
(description "Authen::SASL provides an SASL authentication framework.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-06-28 02:01:54 +00:00
|
|
|
|
|
2015-03-20 17:18:18 +00:00
|
|
|
|
(define-public perl-catalyst-action-renderview
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-action-renderview")
|
|
|
|
|
(version "0.16")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
|
|
|
|
|
"Catalyst-Action-RenderView-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
gnu: perl: Add more missing dependencies on Module::Install.
* gnu/packages/databases.scm (perl-dbix-class, perl-dbix-class-cursor-cached,
perl-dbix-class-introspectablem2m,
perl-dbix-class-schema-loader)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/web.scm (perl-catalyst-action-renderview,
perl-catalyst-action-rest, perl-catalyst-authentication-store-dbix-class,
perl-catalyst-component-instancepercontext, perl-catalyst-model-dbic-schema,
perl-catalyst-plugin-authentication,
perl-catalyst-plugin-authorization-roles, perl-catalyst-plugin-configloader,
perl-catalyst-plugin-session, perl-catalyst-plugin-session-state-cookie,
perl-catalyst-plugin-stacktrace, perl-catalyst-plugin-static-simple,
perl-catalyst-traitfor-request-proxybase, perl-catalyst-view-download,
perl-catalyst-view-json, perl-catalystx-script-server-starman,
perl-test-www-mechanize, perl-test-www-mechanize-catalyst)[native-inputs]:
Likewise.
* gnu/packages/xorg.scm (perl-x11-xcb)[native-inputs]: Likewise.
2017-08-25 20:18:58 +00:00
|
|
|
|
`(("perl-http-request-ascgi" ,perl-http-request-ascgi)
|
|
|
|
|
("perl-module-install" ,perl-module-install)))
|
2015-03-20 17:18:18 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-data-visitor" ,perl-data-visitor)
|
|
|
|
|
("perl-mro-compat" ,perl-mro-compat)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Catalyst-Action-RenderView")
|
2015-03-20 17:18:18 +00:00
|
|
|
|
(synopsis "Sensible default Catalyst action")
|
|
|
|
|
(description "This Catalyst action implements a sensible default end
|
|
|
|
|
action, which will forward to the first available view.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-20 17:18:18 +00:00
|
|
|
|
|
2015-03-17 18:52:20 +00:00
|
|
|
|
(define-public perl-catalyst-action-rest
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-action-rest")
|
2019-03-19 14:34:18 +00:00
|
|
|
|
(version "1.21")
|
2015-03-17 18:52:20 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-12-01 10:36:38 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
|
2015-03-17 18:52:20 +00:00
|
|
|
|
"Catalyst-Action-REST-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-03-19 14:34:18 +00:00
|
|
|
|
"086bykggzalbjfk0islac4b48g9s2ypj7y81d6ns1lq0aax1py6c"))))
|
2015-03-17 18:52:20 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
gnu: perl: Add more missing dependencies on Module::Install.
* gnu/packages/databases.scm (perl-dbix-class, perl-dbix-class-cursor-cached,
perl-dbix-class-introspectablem2m,
perl-dbix-class-schema-loader)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/web.scm (perl-catalyst-action-renderview,
perl-catalyst-action-rest, perl-catalyst-authentication-store-dbix-class,
perl-catalyst-component-instancepercontext, perl-catalyst-model-dbic-schema,
perl-catalyst-plugin-authentication,
perl-catalyst-plugin-authorization-roles, perl-catalyst-plugin-configloader,
perl-catalyst-plugin-session, perl-catalyst-plugin-session-state-cookie,
perl-catalyst-plugin-stacktrace, perl-catalyst-plugin-static-simple,
perl-catalyst-traitfor-request-proxybase, perl-catalyst-view-download,
perl-catalyst-view-json, perl-catalystx-script-server-starman,
perl-test-www-mechanize, perl-test-www-mechanize-catalyst)[native-inputs]:
Likewise.
* gnu/packages/xorg.scm (perl-x11-xcb)[native-inputs]: Likewise.
2017-08-25 20:18:58 +00:00
|
|
|
|
`(("perl-test-requires" ,perl-test-requires)
|
|
|
|
|
("perl-module-install" ,perl-module-install)))
|
2015-03-17 18:52:20 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-class-inspector" ,perl-class-inspector)
|
2016-11-30 13:31:21 +00:00
|
|
|
|
("perl-config-general" ,perl-config-general)
|
|
|
|
|
("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
|
2015-03-17 18:52:20 +00:00
|
|
|
|
("perl-libwww" ,perl-libwww)
|
|
|
|
|
("perl-moose" ,perl-moose)
|
|
|
|
|
("perl-mro-compat" ,perl-mro-compat)
|
|
|
|
|
("perl-namespace-autoclean" ,perl-namespace-autoclean)
|
|
|
|
|
("perl-params-validate" ,perl-params-validate)
|
2016-11-30 13:31:21 +00:00
|
|
|
|
("perl-uri-find" ,perl-uri-find)
|
|
|
|
|
("perl-xml-simple" ,perl-xml-simple)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Catalyst-Action-REST")
|
2015-03-17 18:52:20 +00:00
|
|
|
|
(synopsis "Automated REST Method Dispatching")
|
|
|
|
|
(description "This Action handles doing automatic method dispatching for
|
|
|
|
|
REST requests. It takes a normal Catalyst action, and changes the dispatch to
|
|
|
|
|
append an underscore and method name. First it will try dispatching to an
|
|
|
|
|
action with the generated name, and failing that it will try to dispatch to a
|
|
|
|
|
regular method.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-17 18:52:20 +00:00
|
|
|
|
|
2015-04-18 04:20:51 +00:00
|
|
|
|
(define-public perl-catalyst-authentication-store-dbix-class
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-authentication-store-dbix-class")
|
|
|
|
|
(version "0.1506")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
|
|
|
|
|
"Catalyst-Authentication-Store-DBIx-Class-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-catalyst-plugin-authorization-roles"
|
|
|
|
|
,perl-catalyst-plugin-authorization-roles)
|
|
|
|
|
("perl-catalyst-plugin-session-state-cookie"
|
|
|
|
|
,perl-catalyst-plugin-session-state-cookie)
|
|
|
|
|
("perl-dbd-sqlite" ,perl-dbd-sqlite)
|
gnu: perl: Add more missing dependencies on Module::Install.
* gnu/packages/databases.scm (perl-dbix-class, perl-dbix-class-cursor-cached,
perl-dbix-class-introspectablem2m,
perl-dbix-class-schema-loader)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/web.scm (perl-catalyst-action-renderview,
perl-catalyst-action-rest, perl-catalyst-authentication-store-dbix-class,
perl-catalyst-component-instancepercontext, perl-catalyst-model-dbic-schema,
perl-catalyst-plugin-authentication,
perl-catalyst-plugin-authorization-roles, perl-catalyst-plugin-configloader,
perl-catalyst-plugin-session, perl-catalyst-plugin-session-state-cookie,
perl-catalyst-plugin-stacktrace, perl-catalyst-plugin-static-simple,
perl-catalyst-traitfor-request-proxybase, perl-catalyst-view-download,
perl-catalyst-view-json, perl-catalystx-script-server-starman,
perl-test-www-mechanize, perl-test-www-mechanize-catalyst)[native-inputs]:
Likewise.
* gnu/packages/xorg.scm (perl-x11-xcb)[native-inputs]: Likewise.
2017-08-25 20:18:58 +00:00
|
|
|
|
("perl-module-install" ,perl-module-install)
|
2015-04-18 04:20:51 +00:00
|
|
|
|
("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-catalyst-plugin-authentication"
|
|
|
|
|
,perl-catalyst-plugin-authentication)
|
|
|
|
|
("perl-dbix-class" ,perl-dbix-class)
|
|
|
|
|
("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
|
|
|
|
|
(home-page
|
2018-08-11 13:53:20 +00:00
|
|
|
|
"https://metacpan.org/release/Catalyst-Authentication-Store-DBIx-Class")
|
2015-04-18 04:20:51 +00:00
|
|
|
|
(synopsis "Storage class for Catalyst authentication using DBIx::Class")
|
|
|
|
|
(description "The Catalyst::Authentication::Store::DBIx::Class class
|
|
|
|
|
provides access to authentication information stored in a database via
|
|
|
|
|
DBIx::Class.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-18 04:20:51 +00:00
|
|
|
|
|
2015-03-17 20:15:38 +00:00
|
|
|
|
(define-public perl-catalyst-component-instancepercontext
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-component-instancepercontext")
|
|
|
|
|
(version "0.001001")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
|
|
|
|
|
"Catalyst-Component-InstancePerContext-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
|
|
|
|
|
(build-system perl-build-system)
|
gnu: perl: Add more missing dependencies on Module::Install.
* gnu/packages/databases.scm (perl-dbix-class, perl-dbix-class-cursor-cached,
perl-dbix-class-introspectablem2m,
perl-dbix-class-schema-loader)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/web.scm (perl-catalyst-action-renderview,
perl-catalyst-action-rest, perl-catalyst-authentication-store-dbix-class,
perl-catalyst-component-instancepercontext, perl-catalyst-model-dbic-schema,
perl-catalyst-plugin-authentication,
perl-catalyst-plugin-authorization-roles, perl-catalyst-plugin-configloader,
perl-catalyst-plugin-session, perl-catalyst-plugin-session-state-cookie,
perl-catalyst-plugin-stacktrace, perl-catalyst-plugin-static-simple,
perl-catalyst-traitfor-request-proxybase, perl-catalyst-view-download,
perl-catalyst-view-json, perl-catalystx-script-server-starman,
perl-test-www-mechanize, perl-test-www-mechanize-catalyst)[native-inputs]:
Likewise.
* gnu/packages/xorg.scm (perl-x11-xcb)[native-inputs]: Likewise.
2017-08-25 20:18:58 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-install" ,perl-module-install)))
|
2015-03-17 20:15:38 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-moose" ,perl-moose)))
|
|
|
|
|
(home-page
|
2018-08-11 13:53:20 +00:00
|
|
|
|
"https://metacpan.org/release/Catalyst-Component-InstancePerContext")
|
2015-03-17 20:15:38 +00:00
|
|
|
|
(synopsis "Create only one instance of Moose component per context")
|
|
|
|
|
(description "Catalyst::Component::InstancePerContext returns a new
|
|
|
|
|
instance of a component on each request.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-17 20:15:38 +00:00
|
|
|
|
|
2015-03-20 19:21:26 +00:00
|
|
|
|
(define-public perl-catalyst-devel
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-devel")
|
2020-08-20 17:56:52 +00:00
|
|
|
|
(version "1.41")
|
2015-03-20 19:21:26 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-08-20 17:56:52 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
|
2015-03-20 19:21:26 +00:00
|
|
|
|
"Catalyst-Devel-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-08-20 17:56:52 +00:00
|
|
|
|
(base32 "1r8arq7sw37d0mjyfzkc3pg1a9plgydqbscryc8qpvba4swpljls"))))
|
2015-03-20 19:21:26 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-test-fatal" ,perl-test-fatal)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
|
|
|
|
|
("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
|
|
|
|
|
("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
|
|
|
|
|
("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-config-general" ,perl-config-general)
|
|
|
|
|
("perl-file-changenotify" ,perl-file-changenotify)
|
|
|
|
|
("perl-file-copy-recursive" ,perl-file-copy-recursive)
|
|
|
|
|
("perl-file-sharedir" ,perl-file-sharedir)
|
|
|
|
|
("perl-module-install" ,perl-module-install)
|
|
|
|
|
("perl-moose" ,perl-moose)
|
|
|
|
|
("perl-moosex-emulate-class-accessor-fast"
|
|
|
|
|
,perl-moosex-emulate-class-accessor-fast)
|
|
|
|
|
("perl-namespace-autoclean" ,perl-namespace-autoclean)
|
|
|
|
|
("perl-namespace-clean" ,perl-namespace-clean)
|
|
|
|
|
("perl-path-class" ,perl-path-class)
|
|
|
|
|
("perl-template-toolkit" ,perl-template-toolkit)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Catalyst-Devel")
|
2015-03-20 19:21:26 +00:00
|
|
|
|
(synopsis "Catalyst Development Tools")
|
|
|
|
|
(description "The Catalyst-Devel distribution includes a variety of
|
|
|
|
|
modules useful for the development of Catalyst applications, but not required
|
|
|
|
|
to run them. Catalyst-Devel includes the Catalyst::Helper system, which
|
|
|
|
|
autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
|
|
|
|
|
extension for Catalyst; and requirements for a variety of development-related
|
|
|
|
|
modules.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-20 19:21:26 +00:00
|
|
|
|
|
2015-04-01 17:28:57 +00:00
|
|
|
|
(define-public perl-catalyst-dispatchtype-regex
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-dispatchtype-regex")
|
|
|
|
|
(version "5.90035")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
|
|
|
|
|
"Catalyst-DispatchType-Regex-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
|
|
|
|
|
("perl-namespace-autoclean" ,perl-namespace-autoclean)
|
|
|
|
|
("perl-catalyst-runtime" ,perl-catalyst-runtime)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-moose" ,perl-moose)
|
|
|
|
|
("perl-text-simpletable" ,perl-text-simpletable)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Catalyst-DispatchType-Regex")
|
2015-04-01 17:28:57 +00:00
|
|
|
|
(synopsis "Regex DispatchType for Catalyst")
|
|
|
|
|
(description "Dispatch type managing path-matching behaviour using
|
|
|
|
|
regexes. Regex dispatch types have been deprecated and removed from Catalyst
|
|
|
|
|
core. It is recommend that you use Chained methods or other techniques
|
|
|
|
|
instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
|
|
|
|
|
vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
|
|
|
|
|
when the dispatch type is first seen in your application.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-01 17:28:57 +00:00
|
|
|
|
|
2015-03-18 15:01:31 +00:00
|
|
|
|
(define-public perl-catalyst-model-dbic-schema
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-model-dbic-schema")
|
|
|
|
|
(version "0.65")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
|
|
|
|
|
"Catalyst-Model-DBIC-Schema-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-dbd-sqlite" ,perl-dbd-sqlite)
|
gnu: perl: Add more missing dependencies on Module::Install.
* gnu/packages/databases.scm (perl-dbix-class, perl-dbix-class-cursor-cached,
perl-dbix-class-introspectablem2m,
perl-dbix-class-schema-loader)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/web.scm (perl-catalyst-action-renderview,
perl-catalyst-action-rest, perl-catalyst-authentication-store-dbix-class,
perl-catalyst-component-instancepercontext, perl-catalyst-model-dbic-schema,
perl-catalyst-plugin-authentication,
perl-catalyst-plugin-authorization-roles, perl-catalyst-plugin-configloader,
perl-catalyst-plugin-session, perl-catalyst-plugin-session-state-cookie,
perl-catalyst-plugin-stacktrace, perl-catalyst-plugin-static-simple,
perl-catalyst-traitfor-request-proxybase, perl-catalyst-view-download,
perl-catalyst-view-json, perl-catalystx-script-server-starman,
perl-test-www-mechanize, perl-test-www-mechanize-catalyst)[native-inputs]:
Likewise.
* gnu/packages/xorg.scm (perl-x11-xcb)[native-inputs]: Likewise.
2017-08-25 20:18:58 +00:00
|
|
|
|
("perl-module-install" ,perl-module-install)
|
2015-03-18 15:01:31 +00:00
|
|
|
|
("perl-test-exception" ,perl-test-exception)
|
|
|
|
|
("perl-test-requires" ,perl-test-requires)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-carp-clan" ,perl-carp-clan)
|
|
|
|
|
("perl-catalyst-component-instancepercontext"
|
|
|
|
|
,perl-catalyst-component-instancepercontext)
|
|
|
|
|
("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
|
|
|
|
|
("perl-dbix-class" ,perl-dbix-class)
|
|
|
|
|
("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
|
|
|
|
|
("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
|
|
|
|
|
("perl-hash-merge" ,perl-hash-merge)
|
|
|
|
|
("perl-list-moreutils" ,perl-list-moreutils)
|
|
|
|
|
("perl-module-runtime" ,perl-module-runtime)
|
|
|
|
|
("perl-moose" ,perl-moose)
|
|
|
|
|
("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
|
|
|
|
|
("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
|
|
|
|
|
("perl-moosex-types" ,perl-moosex-types)
|
|
|
|
|
("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
|
|
|
|
|
("perl-namespace-autoclean" ,perl-namespace-autoclean)
|
|
|
|
|
("perl-namespace-clean" ,perl-namespace-clean)
|
|
|
|
|
("perl-tie-ixhash" ,perl-tie-ixhash)
|
|
|
|
|
("perl-try-tiny" ,perl-try-tiny)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Catalyst-Model-DBIC-Schema")
|
2015-03-18 15:01:31 +00:00
|
|
|
|
(synopsis "DBIx::Class::Schema Model Class")
|
|
|
|
|
(description "This is a Catalyst Model for DBIx::Class::Schema-based
|
|
|
|
|
Models.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-18 15:01:31 +00:00
|
|
|
|
|
2015-04-01 19:59:07 +00:00
|
|
|
|
(define-public perl-catalyst-plugin-accesslog
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-plugin-accesslog")
|
2016-11-30 13:39:02 +00:00
|
|
|
|
(version "1.10")
|
2015-04-01 19:59:07 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
|
|
|
|
|
"Catalyst-Plugin-AccessLog-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-30 13:39:02 +00:00
|
|
|
|
"0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
|
2015-04-01 19:59:07 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-datetime" ,perl-datetime)
|
|
|
|
|
("perl-moose" ,perl-moose)
|
|
|
|
|
("perl-namespace-autoclean" ,perl-namespace-autoclean)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Catalyst-Plugin-AccessLog")
|
2015-04-01 19:59:07 +00:00
|
|
|
|
(synopsis "Request logging from within Catalyst")
|
|
|
|
|
(description "This Catalyst plugin enables you to create \"access logs\"
|
|
|
|
|
from within a Catalyst application instead of requiring a webserver to do it
|
|
|
|
|
for you. It will work even with Catalyst debug logging turned off.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-01 19:59:07 +00:00
|
|
|
|
|
2015-03-17 19:44:52 +00:00
|
|
|
|
(define-public perl-catalyst-plugin-authentication
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-plugin-authentication")
|
|
|
|
|
(version "0.10023")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
|
|
|
|
|
"Catalyst-Plugin-Authentication-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
|
|
|
|
|
(build-system perl-build-system)
|
gnu: perl: Add more missing dependencies on Module::Install.
* gnu/packages/databases.scm (perl-dbix-class, perl-dbix-class-cursor-cached,
perl-dbix-class-introspectablem2m,
perl-dbix-class-schema-loader)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/web.scm (perl-catalyst-action-renderview,
perl-catalyst-action-rest, perl-catalyst-authentication-store-dbix-class,
perl-catalyst-component-instancepercontext, perl-catalyst-model-dbic-schema,
perl-catalyst-plugin-authentication,
perl-catalyst-plugin-authorization-roles, perl-catalyst-plugin-configloader,
perl-catalyst-plugin-session, perl-catalyst-plugin-session-state-cookie,
perl-catalyst-plugin-stacktrace, perl-catalyst-plugin-static-simple,
perl-catalyst-traitfor-request-proxybase, perl-catalyst-view-download,
perl-catalyst-view-json, perl-catalystx-script-server-starman,
perl-test-www-mechanize, perl-test-www-mechanize-catalyst)[native-inputs]:
Likewise.
* gnu/packages/xorg.scm (perl-x11-xcb)[native-inputs]: Likewise.
2017-08-25 20:18:58 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-install" ,perl-module-install)))
|
2015-03-17 19:44:52 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
|
|
|
|
|
("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-class-inspector" ,perl-class-inspector)
|
|
|
|
|
("perl-moose" ,perl-moose)
|
|
|
|
|
("perl-moosex-emulate-class-accessor-fast"
|
|
|
|
|
,perl-moosex-emulate-class-accessor-fast)
|
|
|
|
|
("perl-mro-compat" ,perl-mro-compat)
|
|
|
|
|
("perl-namespace-autoclean" ,perl-namespace-autoclean)
|
|
|
|
|
("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
|
|
|
|
|
("perl-test-exception" ,perl-test-exception)
|
|
|
|
|
("perl-try-tiny" ,perl-try-tiny)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Catalyst-Plugin-Authentication")
|
2015-03-17 19:44:52 +00:00
|
|
|
|
(synopsis "Infrastructure plugin for the Catalyst authentication framework")
|
|
|
|
|
(description "The authentication plugin provides generic user support for
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 12:16:07 +00:00
|
|
|
|
Catalyst apps. It is the basis for both authentication (checking the user is
|
2015-03-17 19:44:52 +00:00
|
|
|
|
who they claim to be), and authorization (allowing the user to do what the
|
|
|
|
|
system authorises them to do).")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-17 19:44:52 +00:00
|
|
|
|
|
2015-04-19 14:55:28 +00:00
|
|
|
|
(define-public perl-catalyst-plugin-authorization-roles
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-plugin-authorization-roles")
|
|
|
|
|
(version "0.09")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
|
|
|
|
|
"Catalyst-Plugin-Authorization-Roles-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
gnu: perl: Add more missing dependencies on Module::Install.
* gnu/packages/databases.scm (perl-dbix-class, perl-dbix-class-cursor-cached,
perl-dbix-class-introspectablem2m,
perl-dbix-class-schema-loader)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/web.scm (perl-catalyst-action-renderview,
perl-catalyst-action-rest, perl-catalyst-authentication-store-dbix-class,
perl-catalyst-component-instancepercontext, perl-catalyst-model-dbic-schema,
perl-catalyst-plugin-authentication,
perl-catalyst-plugin-authorization-roles, perl-catalyst-plugin-configloader,
perl-catalyst-plugin-session, perl-catalyst-plugin-session-state-cookie,
perl-catalyst-plugin-stacktrace, perl-catalyst-plugin-static-simple,
perl-catalyst-traitfor-request-proxybase, perl-catalyst-view-download,
perl-catalyst-view-json, perl-catalystx-script-server-starman,
perl-test-www-mechanize, perl-test-www-mechanize-catalyst)[native-inputs]:
Likewise.
* gnu/packages/xorg.scm (perl-x11-xcb)[native-inputs]: Likewise.
2017-08-25 20:18:58 +00:00
|
|
|
|
`(("perl-module-install" ,perl-module-install)
|
|
|
|
|
("perl-test-exception" ,perl-test-exception)))
|
2015-04-19 14:55:28 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-plugin-authentication"
|
|
|
|
|
,perl-catalyst-plugin-authentication)
|
|
|
|
|
("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-set-object" ,perl-set-object)
|
|
|
|
|
("perl-universal-isa" ,perl-universal-isa)))
|
|
|
|
|
(home-page
|
2018-08-11 13:53:20 +00:00
|
|
|
|
"https://metacpan.org/release/Catalyst-Plugin-Authorization-Roles")
|
2015-04-19 14:55:28 +00:00
|
|
|
|
(synopsis "Role-based authorization for Catalyst")
|
|
|
|
|
(description "Catalyst::Plugin::Authorization::Roles provides role-based
|
|
|
|
|
authorization for Catalyst based on Catalyst::Plugin::Authentication.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-19 14:55:28 +00:00
|
|
|
|
|
2015-04-03 16:03:30 +00:00
|
|
|
|
(define-public perl-catalyst-plugin-captcha
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-plugin-captcha")
|
|
|
|
|
(version "0.04")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
|
|
|
|
|
"Catalyst-Plugin-Captcha-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
|
|
|
|
|
("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-gd-securityimage" ,perl-gd-securityimage)
|
|
|
|
|
("perl-http-date" ,perl-http-date)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Catalyst-Plugin-Captcha")
|
2015-04-03 16:03:30 +00:00
|
|
|
|
(synopsis "Captchas for Catalyst")
|
|
|
|
|
(description "This plugin creates and validates Captcha images for
|
|
|
|
|
Catalyst.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-03 16:03:30 +00:00
|
|
|
|
|
2015-03-20 17:22:13 +00:00
|
|
|
|
(define-public perl-catalyst-plugin-configloader
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-plugin-configloader")
|
2020-08-20 17:57:00 +00:00
|
|
|
|
(version "0.35")
|
2015-03-20 17:22:13 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-08-20 17:57:00 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
|
2015-03-20 17:22:13 +00:00
|
|
|
|
"Catalyst-Plugin-ConfigLoader-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-08-20 17:57:00 +00:00
|
|
|
|
(base32 "0w8r3bbxqnlykvra6sx3sh3wh8ylkj914xg5ql6nw11ddy56jaly"))))
|
2015-03-20 17:22:13 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
gnu: perl: Add more missing dependencies on Module::Install.
* gnu/packages/databases.scm (perl-dbix-class, perl-dbix-class-cursor-cached,
perl-dbix-class-introspectablem2m,
perl-dbix-class-schema-loader)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/web.scm (perl-catalyst-action-renderview,
perl-catalyst-action-rest, perl-catalyst-authentication-store-dbix-class,
perl-catalyst-component-instancepercontext, perl-catalyst-model-dbic-schema,
perl-catalyst-plugin-authentication,
perl-catalyst-plugin-authorization-roles, perl-catalyst-plugin-configloader,
perl-catalyst-plugin-session, perl-catalyst-plugin-session-state-cookie,
perl-catalyst-plugin-stacktrace, perl-catalyst-plugin-static-simple,
perl-catalyst-traitfor-request-proxybase, perl-catalyst-view-download,
perl-catalyst-view-json, perl-catalystx-script-server-starman,
perl-test-www-mechanize, perl-test-www-mechanize-catalyst)[native-inputs]:
Likewise.
* gnu/packages/xorg.scm (perl-x11-xcb)[native-inputs]: Likewise.
2017-08-25 20:18:58 +00:00
|
|
|
|
`(("perl-path-class" ,perl-path-class)
|
|
|
|
|
("perl-module-install" ,perl-module-install)))
|
2015-03-20 17:22:13 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-config-any" ,perl-config-any)
|
|
|
|
|
("perl-data-visitor" ,perl-data-visitor)
|
|
|
|
|
("perl-mro-compat" ,perl-mro-compat)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Catalyst-Plugin-ConfigLoader")
|
2015-03-20 17:22:13 +00:00
|
|
|
|
(synopsis "Load config files of various types")
|
|
|
|
|
(description "This module will attempt to load find and load configuration
|
|
|
|
|
files of various types. Currently it supports YAML, JSON, XML, INI and Perl
|
|
|
|
|
formats.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-20 17:22:13 +00:00
|
|
|
|
|
2015-03-17 19:42:22 +00:00
|
|
|
|
(define-public perl-catalyst-plugin-session
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-plugin-session")
|
2019-03-19 14:42:18 +00:00
|
|
|
|
(version "0.41")
|
2015-03-17 19:42:22 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
|
|
|
|
|
"Catalyst-Plugin-Session-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2019-03-19 14:42:18 +00:00
|
|
|
|
(base32 "0a451997zc2vjx7rvndgx1ldbrpic8sfbddyvncynh0zr8bhlqc5"))))
|
2015-03-17 19:42:22 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
gnu: perl: Add more missing dependencies on Module::Install.
* gnu/packages/databases.scm (perl-dbix-class, perl-dbix-class-cursor-cached,
perl-dbix-class-introspectablem2m,
perl-dbix-class-schema-loader)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/web.scm (perl-catalyst-action-renderview,
perl-catalyst-action-rest, perl-catalyst-authentication-store-dbix-class,
perl-catalyst-component-instancepercontext, perl-catalyst-model-dbic-schema,
perl-catalyst-plugin-authentication,
perl-catalyst-plugin-authorization-roles, perl-catalyst-plugin-configloader,
perl-catalyst-plugin-session, perl-catalyst-plugin-session-state-cookie,
perl-catalyst-plugin-stacktrace, perl-catalyst-plugin-static-simple,
perl-catalyst-traitfor-request-proxybase, perl-catalyst-view-download,
perl-catalyst-view-json, perl-catalystx-script-server-starman,
perl-test-www-mechanize, perl-test-www-mechanize-catalyst)[native-inputs]:
Likewise.
* gnu/packages/xorg.scm (perl-x11-xcb)[native-inputs]: Likewise.
2017-08-25 20:18:58 +00:00
|
|
|
|
`(("perl-module-install" ,perl-module-install)
|
|
|
|
|
("perl-test-deep" ,perl-test-deep)
|
2015-03-17 19:42:22 +00:00
|
|
|
|
("perl-test-exception" ,perl-test-exception)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-moose" ,perl-moose)
|
|
|
|
|
("perl-moosex-emulate-class-accessor-fast"
|
|
|
|
|
,perl-moosex-emulate-class-accessor-fast)
|
2016-11-30 13:45:50 +00:00
|
|
|
|
("perl-mro-compat" ,perl-mro-compat)
|
2015-03-17 19:42:22 +00:00
|
|
|
|
("perl-namespace-clean" ,perl-namespace-clean)
|
|
|
|
|
("perl-object-signature" ,perl-object-signature)
|
|
|
|
|
("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Catalyst-Plugin-Session")
|
2015-03-17 19:42:22 +00:00
|
|
|
|
(synopsis "Catalyst generic session plugin")
|
|
|
|
|
(description "This plugin links the two pieces required for session
|
|
|
|
|
management in web applications together: the state, and the store.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-17 19:42:22 +00:00
|
|
|
|
|
2015-04-03 16:14:29 +00:00
|
|
|
|
(define-public perl-catalyst-plugin-session-state-cookie
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-plugin-session-state-cookie")
|
|
|
|
|
(version "0.17")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
|
|
|
|
|
"Catalyst-Plugin-Session-State-Cookie-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
|
|
|
|
|
(build-system perl-build-system)
|
gnu: perl: Add more missing dependencies on Module::Install.
* gnu/packages/databases.scm (perl-dbix-class, perl-dbix-class-cursor-cached,
perl-dbix-class-introspectablem2m,
perl-dbix-class-schema-loader)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/web.scm (perl-catalyst-action-renderview,
perl-catalyst-action-rest, perl-catalyst-authentication-store-dbix-class,
perl-catalyst-component-instancepercontext, perl-catalyst-model-dbic-schema,
perl-catalyst-plugin-authentication,
perl-catalyst-plugin-authorization-roles, perl-catalyst-plugin-configloader,
perl-catalyst-plugin-session, perl-catalyst-plugin-session-state-cookie,
perl-catalyst-plugin-stacktrace, perl-catalyst-plugin-static-simple,
perl-catalyst-traitfor-request-proxybase, perl-catalyst-view-download,
perl-catalyst-view-json, perl-catalystx-script-server-starman,
perl-test-www-mechanize, perl-test-www-mechanize-catalyst)[native-inputs]:
Likewise.
* gnu/packages/xorg.scm (perl-x11-xcb)[native-inputs]: Likewise.
2017-08-25 20:18:58 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-install" ,perl-module-install)))
|
2015-04-03 16:14:29 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
|
|
|
|
|
("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-moose" ,perl-moose)
|
|
|
|
|
("perl-mro-compat" ,perl-mro-compat)
|
|
|
|
|
("perl-namespace-autoclean" ,perl-namespace-autoclean)))
|
|
|
|
|
(home-page
|
2018-08-11 13:53:20 +00:00
|
|
|
|
"https://metacpan.org/release/Catalyst-Plugin-Session-State-Cookie")
|
2015-04-03 16:14:29 +00:00
|
|
|
|
(synopsis "Maintain session IDs using cookies")
|
|
|
|
|
(description "In order for Catalyst::Plugin::Session to work, the session
|
|
|
|
|
ID needs to be stored on the client, and the session data needs to be stored
|
|
|
|
|
on the server. This plugin stores the session ID on the client using the
|
|
|
|
|
cookie mechanism.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-03 16:14:29 +00:00
|
|
|
|
|
2015-04-03 16:25:34 +00:00
|
|
|
|
(define-public perl-catalyst-plugin-session-store-fastmmap
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-plugin-session-store-fastmmap")
|
|
|
|
|
(version "0.16")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
|
|
|
|
|
"Catalyst-Plugin-Session-Store-FastMmap-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-cache-fastmmap" ,perl-cache-fastmmap)
|
|
|
|
|
("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
|
|
|
|
|
("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-moosex-emulate-class-accessor-fast"
|
|
|
|
|
,perl-moosex-emulate-class-accessor-fast)
|
|
|
|
|
("perl-mro-compat" ,perl-mro-compat)
|
|
|
|
|
("perl-path-class" ,perl-path-class)))
|
|
|
|
|
(home-page
|
2018-08-11 13:53:20 +00:00
|
|
|
|
"https://metacpan.org/release/Catalyst-Plugin-Session-Store-FastMmap")
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 12:16:07 +00:00
|
|
|
|
(synopsis "FastMmap session storage backend")
|
2015-04-03 16:25:34 +00:00
|
|
|
|
(description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
|
|
|
|
|
storage plugin for Catalyst that uses an mmap'ed file to act as a shared
|
|
|
|
|
memory interprocess cache. It is based on Cache::FastMmap.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-03 16:25:34 +00:00
|
|
|
|
|
2015-04-03 16:31:46 +00:00
|
|
|
|
(define-public perl-catalyst-plugin-stacktrace
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-plugin-stacktrace")
|
|
|
|
|
(version "0.12")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
|
|
|
|
|
"Catalyst-Plugin-StackTrace-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
|
|
|
|
|
(build-system perl-build-system)
|
gnu: perl: Add more missing dependencies on Module::Install.
* gnu/packages/databases.scm (perl-dbix-class, perl-dbix-class-cursor-cached,
perl-dbix-class-introspectablem2m,
perl-dbix-class-schema-loader)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/web.scm (perl-catalyst-action-renderview,
perl-catalyst-action-rest, perl-catalyst-authentication-store-dbix-class,
perl-catalyst-component-instancepercontext, perl-catalyst-model-dbic-schema,
perl-catalyst-plugin-authentication,
perl-catalyst-plugin-authorization-roles, perl-catalyst-plugin-configloader,
perl-catalyst-plugin-session, perl-catalyst-plugin-session-state-cookie,
perl-catalyst-plugin-stacktrace, perl-catalyst-plugin-static-simple,
perl-catalyst-traitfor-request-proxybase, perl-catalyst-view-download,
perl-catalyst-view-json, perl-catalystx-script-server-starman,
perl-test-www-mechanize, perl-test-www-mechanize-catalyst)[native-inputs]:
Likewise.
* gnu/packages/xorg.scm (perl-x11-xcb)[native-inputs]: Likewise.
2017-08-25 20:18:58 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-install" ,perl-module-install)))
|
2015-04-03 16:31:46 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-devel-stacktrace" ,perl-devel-stacktrace)
|
|
|
|
|
("perl-mro-compat" ,perl-mro-compat)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Catalyst-Plugin-StackTrace")
|
2015-04-03 16:31:46 +00:00
|
|
|
|
(synopsis "Stack trace on the Catalyst debug screen")
|
|
|
|
|
(description "This plugin enhances the standard Catalyst debug screen by
|
2015-07-23 07:40:05 +00:00
|
|
|
|
including a stack trace of your application up to the point where the error
|
2015-04-03 16:31:46 +00:00
|
|
|
|
occurred. Each stack frame is displayed along with the package name, line
|
|
|
|
|
number, file name, and code context surrounding the line number.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-03 16:31:46 +00:00
|
|
|
|
|
2015-03-20 17:58:47 +00:00
|
|
|
|
(define-public perl-catalyst-plugin-static-simple
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-plugin-static-simple")
|
2018-05-02 12:05:27 +00:00
|
|
|
|
(version "0.36")
|
2015-03-20 17:58:47 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-05-02 12:05:27 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
|
2015-03-20 17:58:47 +00:00
|
|
|
|
"Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-05-02 12:05:27 +00:00
|
|
|
|
"0m4l627p2fvzr4i6sgdxhdvsx4wpa6qmaibsbxlg5x5yjs7k7drn"))))
|
2015-03-20 17:58:47 +00:00
|
|
|
|
(build-system perl-build-system)
|
gnu: perl: Add more missing dependencies on Module::Install.
* gnu/packages/databases.scm (perl-dbix-class, perl-dbix-class-cursor-cached,
perl-dbix-class-introspectablem2m,
perl-dbix-class-schema-loader)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/web.scm (perl-catalyst-action-renderview,
perl-catalyst-action-rest, perl-catalyst-authentication-store-dbix-class,
perl-catalyst-component-instancepercontext, perl-catalyst-model-dbic-schema,
perl-catalyst-plugin-authentication,
perl-catalyst-plugin-authorization-roles, perl-catalyst-plugin-configloader,
perl-catalyst-plugin-session, perl-catalyst-plugin-session-state-cookie,
perl-catalyst-plugin-stacktrace, perl-catalyst-plugin-static-simple,
perl-catalyst-traitfor-request-proxybase, perl-catalyst-view-download,
perl-catalyst-view-json, perl-catalystx-script-server-starman,
perl-test-www-mechanize, perl-test-www-mechanize-catalyst)[native-inputs]:
Likewise.
* gnu/packages/xorg.scm (perl-x11-xcb)[native-inputs]: Likewise.
2017-08-25 20:18:58 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-install" ,perl-module-install)))
|
2015-03-20 17:58:47 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-mime-types" ,perl-mime-types)
|
|
|
|
|
("perl-moose" ,perl-moose)
|
|
|
|
|
("perl-moosex-types" ,perl-moosex-types)
|
|
|
|
|
("perl-namespace-autoclean" ,perl-namespace-autoclean)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Catalyst-Plugin-Static-Simple")
|
2015-03-20 17:58:47 +00:00
|
|
|
|
(synopsis "Simple serving of static pages")
|
|
|
|
|
(description "The Static::Simple plugin is designed to make serving static
|
|
|
|
|
content in your application during development quick and easy, without
|
|
|
|
|
requiring a single line of code from you. This plugin detects static files by
|
|
|
|
|
looking at the file extension in the URL (such as .css or .png or .js). The
|
|
|
|
|
plugin uses the lightweight MIME::Types module to map file extensions to
|
|
|
|
|
IANA-registered MIME types, and will serve your static files with the correct
|
|
|
|
|
MIME type directly to the browser, without being processed through Catalyst.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-20 17:58:47 +00:00
|
|
|
|
|
2015-03-12 18:43:01 +00:00
|
|
|
|
(define-public perl-catalyst-runtime
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-runtime")
|
2019-09-23 09:40:08 +00:00
|
|
|
|
(version "5.90124")
|
2015-03-12 18:43:01 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-09-23 09:40:08 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
|
2015-03-12 18:43:01 +00:00
|
|
|
|
"Catalyst-Runtime-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-09-23 09:40:08 +00:00
|
|
|
|
"001yk1i0xwn4v308qx15nvnp6v9qfdigdlvz1rgw5zpnq7kwnq1a"))))
|
2015-03-12 18:43:01 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
2018-06-21 21:09:02 +00:00
|
|
|
|
`(("perl-test-fatal" ,perl-test-fatal)))
|
2015-03-12 18:43:01 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-cgi-simple" ,perl-cgi-simple)
|
|
|
|
|
("perl-cgi-struct" ,perl-cgi-struct)
|
|
|
|
|
("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
|
|
|
|
|
("perl-class-date" ,perl-class-date)
|
|
|
|
|
("perl-class-load" ,perl-class-load)
|
|
|
|
|
("perl-data-dump" ,perl-data-dump)
|
|
|
|
|
("perl-http-body" ,perl-http-body)
|
|
|
|
|
("perl-http-message" ,perl-http-message)
|
|
|
|
|
("perl-json-maybexs" ,perl-json-maybexs)
|
|
|
|
|
("perl-libwww" ,perl-libwww)
|
gnu: Add dependencies on Perl modules as needed.
This is a follow-on to bb8afbf5.
* gnu/packages/language.scm (perl-lingua-en-inflect, perl-lingua-stem)
(perl-snowball-norwegian, perl-snowball-swedish): Add 'native-inputs'
field.
* gnu/packages/perl.scm (perl-aliased, perl-class-accessor-chained)
(perl-datetime-set, perl-datetime-format-ical, perl-datetime-locale)
(perl-error, perl-module-runtime, perl-module-runtime-conflicts)
(perl-path-class, perl-posix-strftime-compiler, perl-readonly)
(perl-test-differences, perl-test-pod, perl-test-trap)
(perl-text-aligner, perl-text-glob, perl-text-table, perl-tie-ixhash)
(perl-time-mock): Ditto.
(perl-config-any): Add 'propagated-inputs' field.
(perl-data-page, perl-datetime, perl-datetime-format-natural)
(perl-moosex-getopt, perl-moosex-role-parameterized)
(perl-moosex-types, perl-namespace-autoclean, perl-params-validate)
(perl-tree-simple-visitorfactory)[native-inputs]: Add PERL-MODULE-BUILD.
(perl-file-changenotify)[native-inputs]: Ditto.
[propagated-inputs]: Add PERL-MODULE-PLUGGABLE.
(perl-datetime-format-flexible, perl-test-writevariants)
[propagated-inputs]: Ditto.
(perl-test-mockobject): Add 'arguments' field.
* gnu/packages/mail.scm (perl-email-abstract)[propagated-inputs]: Ditto.
* gnu/packages/web.scm (perl-datetime-format-http, perl-io-socket-ip)
(perl-plack-middleware-methodoverride, perl-uri-find)
(perl-www-mechanize): Add 'native-inputs' field.
(perl-html-template, perl-http-server-simple): Add 'propagated-inputs'
field.
(perl-apache-logformat-compiler, perl-html-tree)[native-inputs]:
Add PERL-MODULE-BUILD.
(perl-catalyst-runtime)[propagated-inputs]: Add PERL-MODULE-PLUGGABLE.
(perl-finance-quote)[propagated-inputs]: Add PERL-CGI.
2016-01-20 23:15:41 +00:00
|
|
|
|
("perl-module-pluggable" ,perl-module-pluggable)
|
2015-03-12 18:43:01 +00:00
|
|
|
|
("perl-moose" ,perl-moose)
|
|
|
|
|
("perl-moosex-emulate-class-accessor-fast"
|
|
|
|
|
,perl-moosex-emulate-class-accessor-fast)
|
|
|
|
|
("perl-moosex-getopt" ,perl-moosex-getopt)
|
|
|
|
|
("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
|
|
|
|
|
("perl-namespace-clean" ,perl-namespace-clean)
|
|
|
|
|
("perl-path-class" ,perl-path-class)
|
2019-09-23 09:40:08 +00:00
|
|
|
|
("perl-perlio-utf8-strict" ,perl-perlio-utf8_strict)
|
2015-03-12 18:43:01 +00:00
|
|
|
|
("perl-plack" ,perl-plack)
|
|
|
|
|
("perl-plack-middleware-fixmissingbodyinredirect"
|
|
|
|
|
,perl-plack-middleware-fixmissingbodyinredirect)
|
|
|
|
|
("perl-plack-middleware-methodoverride"
|
|
|
|
|
,perl-plack-middleware-methodoverride)
|
|
|
|
|
("perl-plack-middleware-removeredundantbody"
|
|
|
|
|
,perl-plack-middleware-removeredundantbody)
|
|
|
|
|
("perl-plack-middleware-reverseproxy"
|
|
|
|
|
,perl-plack-middleware-reverseproxy)
|
|
|
|
|
("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
|
|
|
|
|
("perl-safe-isa" ,perl-safe-isa)
|
|
|
|
|
("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
|
|
|
|
|
("perl-text-simpletable" ,perl-text-simpletable)
|
|
|
|
|
("perl-tree-simple" ,perl-tree-simple)
|
|
|
|
|
("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
|
|
|
|
|
("perl-try-tiny" ,perl-try-tiny)
|
|
|
|
|
("perl-uri" ,perl-uri)
|
|
|
|
|
("perl-uri-ws" ,perl-uri-ws)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Catalyst-Runtime")
|
2015-03-12 18:43:01 +00:00
|
|
|
|
(synopsis "The Catalyst Framework Runtime")
|
|
|
|
|
(description "Catalyst is a modern framework for making web applications.
|
|
|
|
|
It is designed to make it easy to manage the various tasks you need to do to
|
|
|
|
|
run an application on the web, either by doing them itself, or by letting you
|
|
|
|
|
\"plug in\" existing Perl modules that do what you need.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-12 18:43:01 +00:00
|
|
|
|
|
2015-04-03 16:59:37 +00:00
|
|
|
|
(define-public perl-catalyst-traitfor-request-proxybase
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-traitfor-request-proxybase")
|
|
|
|
|
(version "0.000005")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
|
|
|
|
|
"Catalyst-TraitFor-Request-ProxyBase-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
|
gnu: perl: Add more missing dependencies on Module::Install.
* gnu/packages/databases.scm (perl-dbix-class, perl-dbix-class-cursor-cached,
perl-dbix-class-introspectablem2m,
perl-dbix-class-schema-loader)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/web.scm (perl-catalyst-action-renderview,
perl-catalyst-action-rest, perl-catalyst-authentication-store-dbix-class,
perl-catalyst-component-instancepercontext, perl-catalyst-model-dbic-schema,
perl-catalyst-plugin-authentication,
perl-catalyst-plugin-authorization-roles, perl-catalyst-plugin-configloader,
perl-catalyst-plugin-session, perl-catalyst-plugin-session-state-cookie,
perl-catalyst-plugin-stacktrace, perl-catalyst-plugin-static-simple,
perl-catalyst-traitfor-request-proxybase, perl-catalyst-view-download,
perl-catalyst-view-json, perl-catalystx-script-server-starman,
perl-test-www-mechanize, perl-test-www-mechanize-catalyst)[native-inputs]:
Likewise.
* gnu/packages/xorg.scm (perl-x11-xcb)[native-inputs]: Likewise.
2017-08-25 20:18:58 +00:00
|
|
|
|
("perl-http-message" ,perl-http-message)
|
|
|
|
|
("perl-module-install" ,perl-module-install)))
|
2015-04-03 16:59:37 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-moose" ,perl-moose)
|
|
|
|
|
("perl-namespace-autoclean" ,perl-namespace-autoclean)
|
|
|
|
|
("perl-uri" ,perl-uri)))
|
|
|
|
|
(home-page
|
2018-08-11 13:53:20 +00:00
|
|
|
|
"https://metacpan.org/release/Catalyst-TraitFor-Request-ProxyBase")
|
2015-04-03 16:59:37 +00:00
|
|
|
|
(synopsis "Replace request base with value passed by HTTP proxy")
|
|
|
|
|
(description "This module is a Moose::Role which allows you more
|
|
|
|
|
flexibility in your application's deployment configurations when deployed
|
|
|
|
|
behind a proxy. Using this module, the request base ($c->req->base) is
|
|
|
|
|
replaced with the contents of the X-Request-Base header.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-03 16:59:37 +00:00
|
|
|
|
|
2015-04-03 19:20:10 +00:00
|
|
|
|
(define-public perl-catalyst-view-download
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-view-download")
|
|
|
|
|
(version "0.09")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
|
|
|
|
|
"Catalyst-View-Download-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
gnu: perl: Add more missing dependencies on Module::Install.
* gnu/packages/databases.scm (perl-dbix-class, perl-dbix-class-cursor-cached,
perl-dbix-class-introspectablem2m,
perl-dbix-class-schema-loader)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/web.scm (perl-catalyst-action-renderview,
perl-catalyst-action-rest, perl-catalyst-authentication-store-dbix-class,
perl-catalyst-component-instancepercontext, perl-catalyst-model-dbic-schema,
perl-catalyst-plugin-authentication,
perl-catalyst-plugin-authorization-roles, perl-catalyst-plugin-configloader,
perl-catalyst-plugin-session, perl-catalyst-plugin-session-state-cookie,
perl-catalyst-plugin-stacktrace, perl-catalyst-plugin-static-simple,
perl-catalyst-traitfor-request-proxybase, perl-catalyst-view-download,
perl-catalyst-view-json, perl-catalystx-script-server-starman,
perl-test-www-mechanize, perl-test-www-mechanize-catalyst)[native-inputs]:
Likewise.
* gnu/packages/xorg.scm (perl-x11-xcb)[native-inputs]: Likewise.
2017-08-25 20:18:58 +00:00
|
|
|
|
("perl-module-install" ,perl-module-install)
|
2015-04-03 19:20:10 +00:00
|
|
|
|
("perl-test-simple" ,perl-test-simple)
|
|
|
|
|
("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
|
|
|
|
|
("perl-text-csv" ,perl-text-csv)
|
|
|
|
|
("perl-xml-simple" ,perl-xml-simple)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Catalyst-View-Download")
|
2015-04-03 19:20:10 +00:00
|
|
|
|
(synopsis "Download data in many formats")
|
|
|
|
|
(description "The purpose of this module is to provide a method for
|
|
|
|
|
downloading data into many supportable formats. For example, downloading a
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 12:16:07 +00:00
|
|
|
|
table based report in a variety of formats (CSV, HTML, etc.).")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-03 19:20:10 +00:00
|
|
|
|
|
2015-04-03 19:49:48 +00:00
|
|
|
|
(define-public perl-catalyst-view-json
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-view-json")
|
2019-09-23 09:40:53 +00:00
|
|
|
|
(version "0.37")
|
2015-04-03 19:49:48 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-09-23 09:40:53 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
|
2015-04-03 19:49:48 +00:00
|
|
|
|
"Catalyst-View-JSON-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-09-23 09:40:53 +00:00
|
|
|
|
"1v4xkzazs743sc7cd1kxkbi99cf00a4dadyyancckcbpi9p3znn5"))))
|
2015-04-03 19:49:48 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
gnu: perl: Add more missing dependencies on Module::Install.
* gnu/packages/databases.scm (perl-dbix-class, perl-dbix-class-cursor-cached,
perl-dbix-class-introspectablem2m,
perl-dbix-class-schema-loader)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/web.scm (perl-catalyst-action-renderview,
perl-catalyst-action-rest, perl-catalyst-authentication-store-dbix-class,
perl-catalyst-component-instancepercontext, perl-catalyst-model-dbic-schema,
perl-catalyst-plugin-authentication,
perl-catalyst-plugin-authorization-roles, perl-catalyst-plugin-configloader,
perl-catalyst-plugin-session, perl-catalyst-plugin-session-state-cookie,
perl-catalyst-plugin-stacktrace, perl-catalyst-plugin-static-simple,
perl-catalyst-traitfor-request-proxybase, perl-catalyst-view-download,
perl-catalyst-view-json, perl-catalystx-script-server-starman,
perl-test-www-mechanize, perl-test-www-mechanize-catalyst)[native-inputs]:
Likewise.
* gnu/packages/xorg.scm (perl-x11-xcb)[native-inputs]: Likewise.
2017-08-25 20:18:58 +00:00
|
|
|
|
`(("perl-module-install" ,perl-module-install)
|
|
|
|
|
("perl-yaml" ,perl-yaml)))
|
2015-04-03 19:49:48 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-json-maybexs" ,perl-json-maybexs)
|
|
|
|
|
("perl-mro-compat" ,perl-mro-compat)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Catalyst-View-JSON")
|
2015-04-03 19:49:48 +00:00
|
|
|
|
(synopsis "Catalyst JSON view")
|
|
|
|
|
(description "Catalyst::View::JSON is a Catalyst View handler that returns
|
|
|
|
|
stash data in JSON format.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-03 19:49:48 +00:00
|
|
|
|
|
2015-04-05 01:19:19 +00:00
|
|
|
|
(define-public perl-catalyst-view-tt
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-view-tt")
|
2020-08-12 21:33:06 +00:00
|
|
|
|
(version "0.45")
|
2015-04-05 01:19:19 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-08-12 21:33:06 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
|
2015-04-05 01:19:19 +00:00
|
|
|
|
"Catalyst-View-TT-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-08-12 21:33:06 +00:00
|
|
|
|
(base32 "0jzgpkgq5pwq82zlb0nykdyk40dfpsyn9ilz91d0wpixgi9i5pr8"))))
|
2015-04-05 01:19:19 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-class-accessor" ,perl-class-accessor)
|
2016-11-30 17:46:22 +00:00
|
|
|
|
("perl-data-dump" ,perl-data-dump)
|
2015-04-05 01:19:19 +00:00
|
|
|
|
("perl-mro-compat" ,perl-mro-compat)
|
|
|
|
|
("perl-path-class" ,perl-path-class)
|
|
|
|
|
("perl-template-timer" ,perl-template-timer)
|
|
|
|
|
("perl-template-toolkit" ,perl-template-toolkit)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Catalyst-View-TT")
|
2015-04-05 01:19:19 +00:00
|
|
|
|
(synopsis "Template View Class")
|
|
|
|
|
(description "This module is a Catalyst view class for the Template
|
|
|
|
|
Toolkit.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-05 01:19:19 +00:00
|
|
|
|
|
2015-03-17 19:58:31 +00:00
|
|
|
|
(define-public perl-catalystx-component-traits
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalystx-component-traits")
|
|
|
|
|
(version "0.19")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
|
|
|
|
|
"CatalystX-Component-Traits-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-moose" ,perl-moose)
|
|
|
|
|
("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-class-load" ,perl-class-load)
|
|
|
|
|
("perl-moose" ,perl-moose)
|
|
|
|
|
("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
|
|
|
|
|
("perl-namespace-autoclean" ,perl-namespace-autoclean)
|
|
|
|
|
("perl-list-moreutils" ,perl-list-moreutils)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/CatalystX-Component-Traits")
|
2015-03-17 19:58:31 +00:00
|
|
|
|
(synopsis "Trait Loading and Resolution for Catalyst Components")
|
|
|
|
|
(description "Adds a \"COMPONENT\" in Catalyst::Component method to your
|
|
|
|
|
Catalyst component base class that reads the optional \"traits\" parameter
|
|
|
|
|
from app and component config and instantiates the component subclass with
|
|
|
|
|
those traits using \"new_with_traits\" in MooseX::Traits from
|
|
|
|
|
MooseX::Traits::Pluggable.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-17 19:58:31 +00:00
|
|
|
|
|
2015-04-03 16:58:38 +00:00
|
|
|
|
(define-public perl-catalystx-roleapplicator
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalystx-roleapplicator")
|
|
|
|
|
(version "0.005")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
|
|
|
|
|
"CatalystX-RoleApplicator-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-moose" ,perl-moose)
|
|
|
|
|
("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/CatalystX-RoleApplicator")
|
2015-04-03 16:58:38 +00:00
|
|
|
|
(synopsis "Apply roles to Catalyst classes")
|
|
|
|
|
(description "CatalystX::RoleApplicator applies roles to Catalyst
|
|
|
|
|
application classes.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-03 16:58:38 +00:00
|
|
|
|
|
2015-04-05 02:46:30 +00:00
|
|
|
|
(define-public perl-catalystx-script-server-starman
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalystx-script-server-starman")
|
2018-06-21 20:15:56 +00:00
|
|
|
|
(version "0.03")
|
2015-04-05 02:46:30 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
|
|
|
|
|
"CatalystX-Script-Server-Starman-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-06-21 20:15:56 +00:00
|
|
|
|
"08jvibq4v8xjj0c3cr93h0w8w0c88ajwjn37xjy7ygxl9krlffp6"))))
|
2015-04-05 02:46:30 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
gnu: perl: Add more missing dependencies on Module::Install.
* gnu/packages/databases.scm (perl-dbix-class, perl-dbix-class-cursor-cached,
perl-dbix-class-introspectablem2m,
perl-dbix-class-schema-loader)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/web.scm (perl-catalyst-action-renderview,
perl-catalyst-action-rest, perl-catalyst-authentication-store-dbix-class,
perl-catalyst-component-instancepercontext, perl-catalyst-model-dbic-schema,
perl-catalyst-plugin-authentication,
perl-catalyst-plugin-authorization-roles, perl-catalyst-plugin-configloader,
perl-catalyst-plugin-session, perl-catalyst-plugin-session-state-cookie,
perl-catalyst-plugin-stacktrace, perl-catalyst-plugin-static-simple,
perl-catalyst-traitfor-request-proxybase, perl-catalyst-view-download,
perl-catalyst-view-json, perl-catalystx-script-server-starman,
perl-test-www-mechanize, perl-test-www-mechanize-catalyst)[native-inputs]:
Likewise.
* gnu/packages/xorg.scm (perl-x11-xcb)[native-inputs]: Likewise.
2017-08-25 20:18:58 +00:00
|
|
|
|
`(("perl-module-install" ,perl-module-install)
|
|
|
|
|
("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
|
2015-04-05 02:46:30 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-moose" ,perl-moose)
|
|
|
|
|
("perl-namespace-autoclean" ,perl-namespace-autoclean)
|
|
|
|
|
("starman" ,starman)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/CatalystX-Script-Server-Starman")
|
2015-04-05 02:46:30 +00:00
|
|
|
|
(synopsis "Catalyst development server with Starman")
|
|
|
|
|
(description "This module provides a Catalyst extension to replace the
|
|
|
|
|
development server with Starman.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-05 02:46:30 +00:00
|
|
|
|
|
2016-01-20 23:11:09 +00:00
|
|
|
|
(define-public perl-cgi
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-cgi")
|
2021-05-07 00:04:40 +00:00
|
|
|
|
(version "4.52")
|
2016-01-20 23:11:09 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
|
|
|
|
|
"CGI-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2021-05-07 00:04:40 +00:00
|
|
|
|
(base32 "1bxrpxv95js8yinicminxdg41xvd85haj2gvlywg3zqdb66smqy8"))))
|
2016-01-20 23:11:09 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-test-deep" ,perl-test-deep)
|
|
|
|
|
("perl-test-nowarnings" ,perl-test-nowarnings)
|
|
|
|
|
("perl-test-warn" ,perl-test-warn)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-html-parser" ,perl-html-parser)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/CGI")
|
2016-01-20 23:11:09 +00:00
|
|
|
|
(synopsis "Handle Common Gateway Interface requests and responses")
|
|
|
|
|
(description "CGI.pm is a stable, complete and mature solution for
|
|
|
|
|
processing and preparing HTTP requests and responses. Major features include
|
|
|
|
|
processing form submissions, file uploads, reading and writing cookies, query
|
|
|
|
|
string generation and manipulation, and processing and preparing HTTP
|
|
|
|
|
headers.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2016-01-20 23:11:09 +00:00
|
|
|
|
|
2018-06-07 15:32:55 +00:00
|
|
|
|
(define-public perl-cgi-formbuilder
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-cgi-formbuilder")
|
|
|
|
|
(version "3.10")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/"
|
|
|
|
|
"CGI-FormBuilder-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"163ixq9kninqq094z2rnkg9pv3bcmvjphlww4vksfrzhq3h9pjdf"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(inputs `(("perl-cgi" ,perl-cgi)))
|
|
|
|
|
(home-page
|
|
|
|
|
"https://metacpan.org/release/CGI-FormBuilder")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Generate and process stateful forms")
|
|
|
|
|
(description
|
|
|
|
|
"@code{CGI::FormBuilder} provides an easy way to generate and process CGI
|
|
|
|
|
form-based applications.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2018-06-07 15:32:55 +00:00
|
|
|
|
|
2017-08-21 10:34:24 +00:00
|
|
|
|
(define-public perl-cgi-session
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-cgi-session")
|
|
|
|
|
(version "4.48")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/M/MA/MARKSTOS/CGI-Session-"
|
|
|
|
|
version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1xsl2pz1jrh127pq0b01yffnj4mnp9nvkp88h5mndrscq9hn8xa6"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-build" ,perl-module-build)))
|
|
|
|
|
(inputs `(("perl-cgi" ,perl-cgi)))
|
|
|
|
|
(home-page
|
2018-08-11 13:53:20 +00:00
|
|
|
|
"https://metacpan.org/release/CGI-Session")
|
2017-08-21 10:34:24 +00:00
|
|
|
|
(synopsis
|
|
|
|
|
"Persistent session data in CGI applications")
|
|
|
|
|
(description
|
|
|
|
|
"@code{CGI::Session} provides modular session management system across
|
|
|
|
|
HTTP requests.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2017-08-21 10:34:24 +00:00
|
|
|
|
|
2015-03-11 21:25:58 +00:00
|
|
|
|
(define-public perl-cgi-simple
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-cgi-simple")
|
2019-10-22 08:29:38 +00:00
|
|
|
|
(version "1.22")
|
2015-03-11 21:25:58 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-06-22 21:09:05 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MA/MANWAR/"
|
2015-03-11 21:25:58 +00:00
|
|
|
|
"CGI-Simple-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2019-10-22 08:29:38 +00:00
|
|
|
|
(base32 "13c7iwnnavky10ab87pi8jc1kqph03s0rhvj7myn7szhbfisc4gn"))))
|
2015-03-11 21:25:58 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
2018-06-22 21:09:05 +00:00
|
|
|
|
`(("perl-io-stringy" ,perl-io-stringy) ; for IO::Scalar
|
|
|
|
|
("perl-module-build" ,perl-module-build)
|
|
|
|
|
("perl-test-exception" ,perl-test-exception)
|
|
|
|
|
("perl-test-nowarnings" ,perl-test-nowarnings)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/CGI-Simple")
|
2015-03-11 21:25:58 +00:00
|
|
|
|
(synopsis "CGI interface that is CGI.pm compliant")
|
|
|
|
|
(description "CGI::Simple provides a relatively lightweight drop in
|
|
|
|
|
replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
|
|
|
|
|
parameter parsing, file upload, cookie handling and header generation.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-11 21:25:58 +00:00
|
|
|
|
|
2015-03-11 21:28:29 +00:00
|
|
|
|
(define-public perl-cgi-struct
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-cgi-struct")
|
|
|
|
|
(version "1.21")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
|
|
|
|
|
"CGI-Struct-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-test-deep" ,perl-test-deep)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/CGI-Struct")
|
2015-03-11 21:28:29 +00:00
|
|
|
|
(synopsis "Build structures from CGI data")
|
|
|
|
|
(description "This is a module for building structured data from CGI
|
|
|
|
|
inputs, in a manner reminiscent of how PHP does.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:bsd-2)))
|
2015-03-11 21:28:29 +00:00
|
|
|
|
|
2015-04-06 21:47:54 +00:00
|
|
|
|
(define-public perl-datetime-format-http
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-datetime-format-http")
|
|
|
|
|
(version "0.42")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
|
|
|
|
|
"DateTime-Format-HTTP-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
|
|
|
|
|
(build-system perl-build-system)
|
gnu: Add dependencies on Perl modules as needed.
This is a follow-on to bb8afbf5.
* gnu/packages/language.scm (perl-lingua-en-inflect, perl-lingua-stem)
(perl-snowball-norwegian, perl-snowball-swedish): Add 'native-inputs'
field.
* gnu/packages/perl.scm (perl-aliased, perl-class-accessor-chained)
(perl-datetime-set, perl-datetime-format-ical, perl-datetime-locale)
(perl-error, perl-module-runtime, perl-module-runtime-conflicts)
(perl-path-class, perl-posix-strftime-compiler, perl-readonly)
(perl-test-differences, perl-test-pod, perl-test-trap)
(perl-text-aligner, perl-text-glob, perl-text-table, perl-tie-ixhash)
(perl-time-mock): Ditto.
(perl-config-any): Add 'propagated-inputs' field.
(perl-data-page, perl-datetime, perl-datetime-format-natural)
(perl-moosex-getopt, perl-moosex-role-parameterized)
(perl-moosex-types, perl-namespace-autoclean, perl-params-validate)
(perl-tree-simple-visitorfactory)[native-inputs]: Add PERL-MODULE-BUILD.
(perl-file-changenotify)[native-inputs]: Ditto.
[propagated-inputs]: Add PERL-MODULE-PLUGGABLE.
(perl-datetime-format-flexible, perl-test-writevariants)
[propagated-inputs]: Ditto.
(perl-test-mockobject): Add 'arguments' field.
* gnu/packages/mail.scm (perl-email-abstract)[propagated-inputs]: Ditto.
* gnu/packages/web.scm (perl-datetime-format-http, perl-io-socket-ip)
(perl-plack-middleware-methodoverride, perl-uri-find)
(perl-www-mechanize): Add 'native-inputs' field.
(perl-html-template, perl-http-server-simple): Add 'propagated-inputs'
field.
(perl-apache-logformat-compiler, perl-html-tree)[native-inputs]:
Add PERL-MODULE-BUILD.
(perl-catalyst-runtime)[propagated-inputs]: Add PERL-MODULE-PLUGGABLE.
(perl-finance-quote)[propagated-inputs]: Add PERL-CGI.
2016-01-20 23:15:41 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-build" ,perl-module-build)))
|
2015-04-06 21:47:54 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-datetime" ,perl-datetime)
|
|
|
|
|
("perl-http-date" ,perl-http-date)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/DateTime-Format-HTTP")
|
2015-04-06 21:47:54 +00:00
|
|
|
|
(synopsis "Date conversion routines")
|
|
|
|
|
(description "This module provides functions that deal with the date
|
|
|
|
|
formats used by the HTTP protocol.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-06 21:47:54 +00:00
|
|
|
|
|
2015-04-06 21:58:22 +00:00
|
|
|
|
(define-public perl-digest-md5-file
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-digest-md5-file")
|
|
|
|
|
(version "0.08")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
|
|
|
|
|
"Digest-MD5-File-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-libwww" ,perl-libwww)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Digest-MD5-File")
|
2015-04-06 21:58:22 +00:00
|
|
|
|
(synopsis "MD5 sums for files and urls")
|
|
|
|
|
(description "Digest::MD5::File is a Perl extension for getting MD5 sums
|
|
|
|
|
for files and urls.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-06 21:58:22 +00:00
|
|
|
|
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(define-public perl-encode-locale
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-encode-locale")
|
2016-11-30 18:47:08 +00:00
|
|
|
|
(version "1.05")
|
2013-12-07 20:56:01 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
"mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
|
2013-12-07 20:56:01 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-30 18:47:08 +00:00
|
|
|
|
"1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
|
2013-12-07 20:56:01 +00:00
|
|
|
|
(build-system perl-build-system)
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(synopsis "Perl locale encoding determination")
|
2013-12-07 20:56:01 +00:00
|
|
|
|
(description
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
"The POSIX locale system is used to specify both the language
|
2015-07-16 09:14:13 +00:00
|
|
|
|
conventions requested by the user and the preferred character set to
|
|
|
|
|
consume and output. The Encode::Locale module looks up the charset and
|
|
|
|
|
encoding (called a CODESET in the locale jargon) and arranges for the
|
|
|
|
|
Encode module to know this encoding under the name \"locale\". It means
|
|
|
|
|
bytes obtained from the environment can be converted to Unicode strings
|
|
|
|
|
by calling Encode::encode(locale => $bytes) and converted back again
|
|
|
|
|
with Encode::decode(locale => $string).")
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Encode-Locale")))
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
|
2016-08-14 13:45:37 +00:00
|
|
|
|
(define-public perl-feed-find
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-feed-find")
|
|
|
|
|
(version "0.07")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
|
|
|
|
|
"Feed-Find-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; Tests expect to query files at http://stupidfool.org/perl/feeds/
|
2017-07-27 20:18:07 +00:00
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'set-env
|
|
|
|
|
(lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
|
2016-08-14 13:45:37 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("perl-class-errorhandler" ,perl-class-errorhandler)
|
|
|
|
|
("perl-html-parser" ,perl-html-parser)
|
|
|
|
|
("perl-libwww" ,perl-libwww)
|
|
|
|
|
("perl-uri" ,perl-uri)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Feed-Find")
|
2016-08-14 13:45:37 +00:00
|
|
|
|
(synopsis "Syndication feed auto-discovery")
|
|
|
|
|
(description "@code{Feed::Find} implements feed auto-discovery for finding
|
|
|
|
|
syndication feeds, given a URI. It will discover the following feed formats:
|
|
|
|
|
RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2016-08-14 13:45:37 +00:00
|
|
|
|
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(define-public perl-file-listing
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-file-listing")
|
2020-10-08 13:51:27 +00:00
|
|
|
|
(version "6.11")
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2020-10-08 13:51:27 +00:00
|
|
|
|
"mirror://cpan/authors/id/P/PL/PLICEASE/File-Listing-"
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-10-08 13:51:27 +00:00
|
|
|
|
"0vmzw1mhv580flzkla80gvwfpficnhlbqr1dnlf9x50bw7n18k62"))))
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-http-date" ,perl-http-date)))
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(synopsis "Perl directory listing parser")
|
|
|
|
|
(description
|
|
|
|
|
"The File::Listing module exports a single function called parse_dir(),
|
|
|
|
|
which can be used to parse directory listings.")
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/File-Listing")))
|
2013-12-07 20:56:01 +00:00
|
|
|
|
|
2015-07-10 00:16:05 +00:00
|
|
|
|
(define-public perl-finance-quote
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-finance-quote")
|
2019-03-23 16:24:18 +00:00
|
|
|
|
(version "1.47")
|
2015-07-10 00:16:05 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
|
|
|
|
|
"Finance-Quote-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2019-03-23 16:24:18 +00:00
|
|
|
|
(base32 "0gzbq85738f299jaw4nj3ljnka380j2y6yspmyl71rgfypqjvbr7"))
|
2016-04-08 12:18:13 +00:00
|
|
|
|
(patches (search-patches
|
|
|
|
|
"perl-finance-quote-unuse-mozilla-ca.patch"))))
|
2015-07-10 00:16:05 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
gnu: Add dependencies on Perl modules as needed.
This is a follow-on to bb8afbf5.
* gnu/packages/language.scm (perl-lingua-en-inflect, perl-lingua-stem)
(perl-snowball-norwegian, perl-snowball-swedish): Add 'native-inputs'
field.
* gnu/packages/perl.scm (perl-aliased, perl-class-accessor-chained)
(perl-datetime-set, perl-datetime-format-ical, perl-datetime-locale)
(perl-error, perl-module-runtime, perl-module-runtime-conflicts)
(perl-path-class, perl-posix-strftime-compiler, perl-readonly)
(perl-test-differences, perl-test-pod, perl-test-trap)
(perl-text-aligner, perl-text-glob, perl-text-table, perl-tie-ixhash)
(perl-time-mock): Ditto.
(perl-config-any): Add 'propagated-inputs' field.
(perl-data-page, perl-datetime, perl-datetime-format-natural)
(perl-moosex-getopt, perl-moosex-role-parameterized)
(perl-moosex-types, perl-namespace-autoclean, perl-params-validate)
(perl-tree-simple-visitorfactory)[native-inputs]: Add PERL-MODULE-BUILD.
(perl-file-changenotify)[native-inputs]: Ditto.
[propagated-inputs]: Add PERL-MODULE-PLUGGABLE.
(perl-datetime-format-flexible, perl-test-writevariants)
[propagated-inputs]: Ditto.
(perl-test-mockobject): Add 'arguments' field.
* gnu/packages/mail.scm (perl-email-abstract)[propagated-inputs]: Ditto.
* gnu/packages/web.scm (perl-datetime-format-http, perl-io-socket-ip)
(perl-plack-middleware-methodoverride, perl-uri-find)
(perl-www-mechanize): Add 'native-inputs' field.
(perl-html-template, perl-http-server-simple): Add 'propagated-inputs'
field.
(perl-apache-logformat-compiler, perl-html-tree)[native-inputs]:
Add PERL-MODULE-BUILD.
(perl-catalyst-runtime)[propagated-inputs]: Add PERL-MODULE-PLUGGABLE.
(perl-finance-quote)[propagated-inputs]: Add PERL-CGI.
2016-01-20 23:15:41 +00:00
|
|
|
|
`(("perl-cgi" ,perl-cgi)
|
|
|
|
|
("perl-datetime" ,perl-datetime)
|
2015-07-10 00:16:05 +00:00
|
|
|
|
("perl-html-parser" ,perl-html-parser)
|
|
|
|
|
("perl-html-tableextract" ,perl-html-tableextract)
|
|
|
|
|
("perl-html-tree" ,perl-html-tree)
|
|
|
|
|
("perl-http-cookies" ,perl-http-cookies)
|
|
|
|
|
("perl-http-message" ,perl-http-message)
|
|
|
|
|
("perl-json" ,perl-json)
|
|
|
|
|
("perl-libwww" ,perl-libwww)
|
|
|
|
|
("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
|
|
|
|
|
("perl-uri" ,perl-uri)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Finance-Quote")
|
2015-07-10 00:16:05 +00:00
|
|
|
|
(synopsis "Stock and mutual fund quotes")
|
|
|
|
|
(description
|
|
|
|
|
"Finance::Quote gets stock quotes from various internet sources, including
|
|
|
|
|
Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:gpl2)))
|
2015-07-10 00:16:05 +00:00
|
|
|
|
|
2015-06-28 02:00:27 +00:00
|
|
|
|
(define-public perl-gssapi
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-gssapi")
|
|
|
|
|
(version "0.28")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
|
|
|
|
|
"GSSAPI-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(inputs `(("gssapi" ,mit-krb5)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-maker-flags
|
|
|
|
|
`(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/GSSAPI")
|
2015-06-28 02:00:27 +00:00
|
|
|
|
(synopsis "Perl extension providing access to the GSSAPIv2 library")
|
|
|
|
|
(description "This is a Perl extension for using GSSAPI C bindings as
|
|
|
|
|
described in RFC 2744.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-06-28 02:00:27 +00:00
|
|
|
|
|
2015-07-02 23:58:45 +00:00
|
|
|
|
(define-public perl-html-element-extended
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-html-element-extended")
|
|
|
|
|
(version "1.18")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
|
|
|
|
|
"HTML-Element-Extended-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-html-tree" ,perl-html-tree)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/HTML-Element-Extended")
|
2015-07-02 23:58:45 +00:00
|
|
|
|
(synopsis "Manipulate tables of HTML::Element")
|
|
|
|
|
(description
|
|
|
|
|
"HTML::Element::Extended is a Perl extension for manipulating a table
|
|
|
|
|
composed of HTML::Element style components.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-07-02 23:58:45 +00:00
|
|
|
|
|
2015-03-17 19:16:57 +00:00
|
|
|
|
(define-public perl-html-form
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-html-form")
|
2019-10-05 23:25:42 +00:00
|
|
|
|
(version "6.05")
|
2015-03-17 19:16:57 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-07-10 22:23:37 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
|
2015-03-17 19:16:57 +00:00
|
|
|
|
"HTML-Form-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2019-10-05 23:25:42 +00:00
|
|
|
|
(base32 "14i4ldyvdvhdhvfhh9kiq6z853q2f84biq8vcpv1k5w2r80wdiin"))))
|
2015-03-17 19:16:57 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-html-parser" ,perl-html-parser)
|
|
|
|
|
("perl-html-tagset" ,perl-html-tagset)
|
|
|
|
|
("perl-http-message" ,perl-http-message)
|
|
|
|
|
("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
|
|
|
|
|
("perl-uri" ,perl-uri)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/HTML-Form")
|
2015-03-17 19:16:57 +00:00
|
|
|
|
(synopsis "Perl class representing an HTML form element")
|
|
|
|
|
(description "Objects of the HTML::Form class represents a single HTML
|
|
|
|
|
<form> ... </form> instance.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-17 19:16:57 +00:00
|
|
|
|
|
2017-08-21 10:39:14 +00:00
|
|
|
|
(define-public perl-html-scrubber
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-html-scrubber")
|
2018-05-01 23:27:31 +00:00
|
|
|
|
(version "0.17")
|
2017-08-21 10:39:14 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
|
|
|
|
|
version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-05-01 23:27:31 +00:00
|
|
|
|
"06p7w4zd42b2yh541mlzyqj40lwmvvn3fyqi8big4mf34la7m2jm"))))
|
2017-08-21 10:39:14 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-build" ,perl-module-build)
|
|
|
|
|
("perl-test-cpan-meta" ,perl-test-cpan-meta)
|
2018-05-01 23:27:31 +00:00
|
|
|
|
("perl-test-differences" ,perl-test-differences)
|
2017-08-21 10:39:14 +00:00
|
|
|
|
("perl-test-eol" ,perl-test-eol)
|
|
|
|
|
("perl-test-memory-cycle" ,perl-test-memory-cycle)
|
|
|
|
|
("perl-test-notabs" ,perl-test-notabs)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("perl-html-parser" ,perl-html-parser)))
|
|
|
|
|
(home-page
|
2018-08-11 13:53:20 +00:00
|
|
|
|
"https://metacpan.org/release/HTML-Scrubber")
|
2017-08-21 10:39:14 +00:00
|
|
|
|
(synopsis
|
|
|
|
|
"Perl extension for scrubbing/sanitizing html")
|
|
|
|
|
(description
|
|
|
|
|
"@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2017-08-21 10:39:14 +00:00
|
|
|
|
|
2015-03-17 19:20:28 +00:00
|
|
|
|
(define-public perl-html-lint
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-html-lint")
|
2019-03-23 15:45:40 +00:00
|
|
|
|
(version "2.32")
|
2015-03-17 19:20:28 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
|
|
|
|
|
"HTML-Lint-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2019-03-23 15:45:40 +00:00
|
|
|
|
(base32 "0lk02xpfxcg7ij4dvpsa4wjlzhmiizj0jfr3rwmdpbj69nvc93br"))))
|
2015-03-17 19:20:28 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-html-parser" ,perl-html-parser)
|
|
|
|
|
("perl-html-tagset" ,perl-html-tagset)
|
|
|
|
|
("perl-libwww" ,perl-libwww)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/HTML-Lint")
|
2015-03-17 19:20:28 +00:00
|
|
|
|
(synopsis "Check for HTML errors in a string or file")
|
|
|
|
|
(description "HTML::Lint is a pure-Perl HTML parser and checker for
|
|
|
|
|
syntactic legitmacy.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:artistic2.0)))
|
2015-03-17 19:20:28 +00:00
|
|
|
|
|
2015-07-02 23:59:40 +00:00
|
|
|
|
(define-public perl-html-tableextract
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-html-tableextract")
|
|
|
|
|
(version "2.13")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
|
|
|
|
|
"HTML-TableExtract-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-html-element-extended" ,perl-html-element-extended)
|
|
|
|
|
("perl-html-parser" ,perl-html-parser)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/HTML-TableExtract")
|
2015-07-02 23:59:40 +00:00
|
|
|
|
(synopsis "Extract contents from HTML tables")
|
|
|
|
|
(description
|
|
|
|
|
"HTML::TableExtract is a Perl module for extracting the content contained
|
|
|
|
|
in tables within an HTML document, either as text or encoded element trees.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-07-02 23:59:40 +00:00
|
|
|
|
|
2015-03-17 19:23:24 +00:00
|
|
|
|
(define-public perl-html-tree
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-html-tree")
|
2017-09-01 21:06:09 +00:00
|
|
|
|
(version "5.07")
|
2015-03-17 19:23:24 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2017-07-14 16:02:31 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
|
2015-03-17 19:23:24 +00:00
|
|
|
|
"HTML-Tree-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-09-01 21:06:09 +00:00
|
|
|
|
"1gyvm4qlwm9y6hczkpnrdfl303ggbybr0nqxdjw09hii8yw4sdzh"))))
|
2015-03-17 19:23:24 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
gnu: Add dependencies on Perl modules as needed.
This is a follow-on to bb8afbf5.
* gnu/packages/language.scm (perl-lingua-en-inflect, perl-lingua-stem)
(perl-snowball-norwegian, perl-snowball-swedish): Add 'native-inputs'
field.
* gnu/packages/perl.scm (perl-aliased, perl-class-accessor-chained)
(perl-datetime-set, perl-datetime-format-ical, perl-datetime-locale)
(perl-error, perl-module-runtime, perl-module-runtime-conflicts)
(perl-path-class, perl-posix-strftime-compiler, perl-readonly)
(perl-test-differences, perl-test-pod, perl-test-trap)
(perl-text-aligner, perl-text-glob, perl-text-table, perl-tie-ixhash)
(perl-time-mock): Ditto.
(perl-config-any): Add 'propagated-inputs' field.
(perl-data-page, perl-datetime, perl-datetime-format-natural)
(perl-moosex-getopt, perl-moosex-role-parameterized)
(perl-moosex-types, perl-namespace-autoclean, perl-params-validate)
(perl-tree-simple-visitorfactory)[native-inputs]: Add PERL-MODULE-BUILD.
(perl-file-changenotify)[native-inputs]: Ditto.
[propagated-inputs]: Add PERL-MODULE-PLUGGABLE.
(perl-datetime-format-flexible, perl-test-writevariants)
[propagated-inputs]: Ditto.
(perl-test-mockobject): Add 'arguments' field.
* gnu/packages/mail.scm (perl-email-abstract)[propagated-inputs]: Ditto.
* gnu/packages/web.scm (perl-datetime-format-http, perl-io-socket-ip)
(perl-plack-middleware-methodoverride, perl-uri-find)
(perl-www-mechanize): Add 'native-inputs' field.
(perl-html-template, perl-http-server-simple): Add 'propagated-inputs'
field.
(perl-apache-logformat-compiler, perl-html-tree)[native-inputs]:
Add PERL-MODULE-BUILD.
(perl-catalyst-runtime)[propagated-inputs]: Add PERL-MODULE-PLUGGABLE.
(perl-finance-quote)[propagated-inputs]: Add PERL-CGI.
2016-01-20 23:15:41 +00:00
|
|
|
|
`(("perl-module-build" ,perl-module-build)
|
|
|
|
|
("perl-test-fatal" ,perl-test-fatal)))
|
2015-03-17 19:23:24 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-html-parser" ,perl-html-parser)
|
|
|
|
|
("perl-html-tagset" ,perl-html-tagset)
|
|
|
|
|
("perl-libwww" ,perl-libwww)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/HTML-Tree")
|
2015-03-17 19:23:24 +00:00
|
|
|
|
(synopsis "Work with HTML in a DOM-like tree structure")
|
|
|
|
|
(description "This distribution contains a suite of modules for
|
|
|
|
|
representing, creating, and extracting information from HTML syntax trees.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-17 19:23:24 +00:00
|
|
|
|
|
2013-12-07 21:05:59 +00:00
|
|
|
|
(define-public perl-html-parser
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-html-parser")
|
2016-11-30 19:04:15 +00:00
|
|
|
|
(version "3.72")
|
2013-12-07 21:05:59 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-30 19:04:15 +00:00
|
|
|
|
"12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
|
2013-12-07 21:05:59 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(inputs
|
2016-11-30 19:04:15 +00:00
|
|
|
|
`(("perl-html-tagset" ,perl-html-tagset)
|
|
|
|
|
("perl-http-message" ,perl-http-message)))
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)
|
2013-12-07 21:05:59 +00:00
|
|
|
|
(synopsis "Perl HTML parser class")
|
|
|
|
|
(description
|
|
|
|
|
"Objects of the HTML::Parser class will recognize markup and separate
|
|
|
|
|
it from plain text (alias data content) in HTML documents. As different
|
|
|
|
|
kinds of markup and text are recognized, the corresponding event handlers
|
|
|
|
|
are invoked.")
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/HTML-Parser")))
|
2013-12-07 21:24:53 +00:00
|
|
|
|
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(define-public perl-html-tagset
|
2013-12-07 21:24:53 +00:00
|
|
|
|
(package
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(name "perl-html-tagset")
|
|
|
|
|
(version "3.20")
|
2013-12-07 21:24:53 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
"mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
|
2013-12-07 21:24:53 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
"1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
|
2013-12-07 21:24:53 +00:00
|
|
|
|
(build-system perl-build-system)
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(synopsis "Perl data tables useful in parsing HTML")
|
2013-12-07 21:24:53 +00:00
|
|
|
|
(description
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
"The HTML::Tagset module contains several data tables useful in various
|
|
|
|
|
kinds of HTML parsing operations.")
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/HTML-Tagset")))
|
2013-12-07 21:36:02 +00:00
|
|
|
|
|
2015-12-22 15:04:16 +00:00
|
|
|
|
(define-public perl-html-template
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-html-template")
|
2017-07-20 00:09:15 +00:00
|
|
|
|
(version "2.97")
|
2015-12-22 15:04:16 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-07-20 00:09:15 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
|
2015-12-22 15:04:16 +00:00
|
|
|
|
"HTML-Template-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-07-20 00:09:15 +00:00
|
|
|
|
"17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
|
2015-12-22 15:04:16 +00:00
|
|
|
|
(build-system perl-build-system)
|
gnu: Add dependencies on Perl modules as needed.
This is a follow-on to bb8afbf5.
* gnu/packages/language.scm (perl-lingua-en-inflect, perl-lingua-stem)
(perl-snowball-norwegian, perl-snowball-swedish): Add 'native-inputs'
field.
* gnu/packages/perl.scm (perl-aliased, perl-class-accessor-chained)
(perl-datetime-set, perl-datetime-format-ical, perl-datetime-locale)
(perl-error, perl-module-runtime, perl-module-runtime-conflicts)
(perl-path-class, perl-posix-strftime-compiler, perl-readonly)
(perl-test-differences, perl-test-pod, perl-test-trap)
(perl-text-aligner, perl-text-glob, perl-text-table, perl-tie-ixhash)
(perl-time-mock): Ditto.
(perl-config-any): Add 'propagated-inputs' field.
(perl-data-page, perl-datetime, perl-datetime-format-natural)
(perl-moosex-getopt, perl-moosex-role-parameterized)
(perl-moosex-types, perl-namespace-autoclean, perl-params-validate)
(perl-tree-simple-visitorfactory)[native-inputs]: Add PERL-MODULE-BUILD.
(perl-file-changenotify)[native-inputs]: Ditto.
[propagated-inputs]: Add PERL-MODULE-PLUGGABLE.
(perl-datetime-format-flexible, perl-test-writevariants)
[propagated-inputs]: Ditto.
(perl-test-mockobject): Add 'arguments' field.
* gnu/packages/mail.scm (perl-email-abstract)[propagated-inputs]: Ditto.
* gnu/packages/web.scm (perl-datetime-format-http, perl-io-socket-ip)
(perl-plack-middleware-methodoverride, perl-uri-find)
(perl-www-mechanize): Add 'native-inputs' field.
(perl-html-template, perl-http-server-simple): Add 'propagated-inputs'
field.
(perl-apache-logformat-compiler, perl-html-tree)[native-inputs]:
Add PERL-MODULE-BUILD.
(perl-catalyst-runtime)[propagated-inputs]: Add PERL-MODULE-PLUGGABLE.
(perl-finance-quote)[propagated-inputs]: Add PERL-CGI.
2016-01-20 23:15:41 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-cgi" ,perl-cgi)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/HTML-Template")
|
2015-12-22 15:04:16 +00:00
|
|
|
|
(synopsis "HTML-like templates")
|
|
|
|
|
(description
|
|
|
|
|
"This module attempts to make using HTML templates simple and natural.
|
|
|
|
|
It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
|
|
|
|
|
@code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
|
|
|
|
|
@code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
|
|
|
|
|
these new tags is called a template. Using this module you fill in the values
|
|
|
|
|
for the variables, loops and branches declared in the template. This allows
|
|
|
|
|
you to separate design from the data.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-12-22 15:04:16 +00:00
|
|
|
|
|
2015-03-10 22:26:17 +00:00
|
|
|
|
(define-public perl-http-body
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-http-body")
|
2016-11-30 19:10:05 +00:00
|
|
|
|
(version "1.22")
|
2015-03-10 22:26:17 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
|
|
|
|
|
"HTTP-Body-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-30 19:10:05 +00:00
|
|
|
|
"15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
|
2015-03-10 22:26:17 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-test-deep" ,perl-test-deep)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-file-temp" ,perl-file-temp)
|
|
|
|
|
("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/HTTP-Body")
|
2015-03-10 22:26:17 +00:00
|
|
|
|
(synopsis "HTTP Body Parser")
|
|
|
|
|
(description "HTTP::Body parses chunks of HTTP POST data and supports
|
|
|
|
|
application/octet-stream, application/json, application/x-www-form-urlencoded,
|
|
|
|
|
and multipart/form-data.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-10 22:26:17 +00:00
|
|
|
|
|
2015-03-10 20:34:49 +00:00
|
|
|
|
(define-public perl-http-cookiejar
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-http-cookiejar")
|
2020-09-23 02:18:02 +00:00
|
|
|
|
(version "0.010")
|
2015-03-10 20:34:49 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
|
|
|
|
|
"HTTP-CookieJar-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-09-23 02:18:02 +00:00
|
|
|
|
(base32 "1l7mqsca4fmls7agzwmp6yq1x16y9jwq4114i6i75n654gl37qsn"))))
|
2015-03-10 20:34:49 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-test-deep" ,perl-test-deep)
|
|
|
|
|
("perl-test-requires" ,perl-test-requires)
|
2016-11-30 19:33:05 +00:00
|
|
|
|
("perl-time-mock" ,perl-time-mock)
|
|
|
|
|
("perl-uri" ,perl-uri)))
|
2015-03-10 20:34:49 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("perl-time-local" ,perl-time-local)
|
|
|
|
|
("perl-http-date" ,perl-http-date)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/HTTP-CookieJar")
|
2015-03-10 20:34:49 +00:00
|
|
|
|
(synopsis "Minimalist HTTP user agent cookie jar")
|
|
|
|
|
(description "This module implements a minimalist HTTP user agent cookie
|
|
|
|
|
jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:asl2.0)))
|
2015-03-10 20:34:49 +00:00
|
|
|
|
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(define-public perl-http-cookies
|
2013-12-07 21:36:02 +00:00
|
|
|
|
(package
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(name "perl-http-cookies")
|
2019-11-12 16:56:24 +00:00
|
|
|
|
(version "6.06")
|
2013-12-07 21:36:02 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2017-10-30 17:47:59 +00:00
|
|
|
|
"mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Cookies-"
|
2013-12-07 21:36:02 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-11-12 16:56:24 +00:00
|
|
|
|
"13rnz3233vbsfariya4njiyfaj6k94j6bvlyh3dmfmh24hpqgx77"))))
|
2013-12-07 21:36:02 +00:00
|
|
|
|
(build-system perl-build-system)
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-http-message" ,perl-http-message)))
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(synopsis "Perl HTTP cookie jars")
|
2013-12-07 21:36:02 +00:00
|
|
|
|
(description
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
"The HTTP::Cookies class is for objects that represent a cookie jar,
|
|
|
|
|
that is, a database of all the HTTP cookies that a given LWP::UserAgent
|
|
|
|
|
object knows about.")
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/GAAS/HTTP-Cookies-6.01")))
|
2013-12-07 21:42:18 +00:00
|
|
|
|
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(define-public perl-http-daemon
|
2013-12-07 21:42:18 +00:00
|
|
|
|
(package
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(name "perl-http-daemon")
|
|
|
|
|
(version "6.01")
|
2013-12-07 21:42:18 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
"mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
|
2013-12-07 21:42:18 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
"1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
|
2013-12-07 21:42:18 +00:00
|
|
|
|
(build-system perl-build-system)
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-http-message" ,perl-http-message)
|
|
|
|
|
("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(synopsis "Perl simple http server class")
|
2013-12-07 21:42:18 +00:00
|
|
|
|
(description
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
"Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
|
|
|
|
|
on a socket for incoming requests. The HTTP::Daemon is a subclass of
|
|
|
|
|
IO::Socket::INET, so you can perform socket operations directly on it too.")
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/HTTP-Daemon")))
|
2013-12-07 21:47:40 +00:00
|
|
|
|
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(define-public perl-http-date
|
2013-12-07 21:47:40 +00:00
|
|
|
|
(package
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(name "perl-http-date")
|
2020-02-12 16:01:56 +00:00
|
|
|
|
(version "6.05")
|
2013-12-07 21:47:40 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2020-02-12 16:01:56 +00:00
|
|
|
|
"mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Date-"
|
2013-12-07 21:47:40 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-02-12 16:01:56 +00:00
|
|
|
|
"0awjdbz7x0jd5pna55dwxhs3k6xp3sw6b2zg3p2yndxxvya64p9n"))))
|
2013-12-07 21:47:40 +00:00
|
|
|
|
(build-system perl-build-system)
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(synopsis "Perl date conversion routines")
|
2013-12-07 21:47:40 +00:00
|
|
|
|
(description
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
"The HTTP::Date module provides functions that deal with date formats
|
|
|
|
|
used by the HTTP protocol (and then some more).")
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/HTTP-Date")))
|
2013-12-07 21:49:07 +00:00
|
|
|
|
|
2020-04-02 19:34:10 +00:00
|
|
|
|
(define-public perl-http-lite
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-http-lite")
|
|
|
|
|
(version "2.44")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/N/NE/NEILB/HTTP-Lite-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0z77nflj8zdcfg70kc93glq5kmd6qxn2nf7h70x4xhfg25wkvr1q"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs `(("perl-cgi" ,perl-cgi)))
|
|
|
|
|
(home-page "https://metacpan.org/release/HTTP-Lite")
|
|
|
|
|
(synopsis "Lightweight HTTP implementation")
|
|
|
|
|
(description "@code{HTTP::Lite} is a stand-alone lightweight
|
|
|
|
|
HTTP/1.1 implementation for perl. It is intended for use in
|
|
|
|
|
situations where it is desirable to install the minimal number of
|
|
|
|
|
modules to achieve HTTP support. @code{HTTP::Lite} is ideal for
|
|
|
|
|
CGI (or mod_perl) programs or for bundling for redistribution with
|
|
|
|
|
larger packages where only HTTP GET and POST functionality are
|
|
|
|
|
necessary. @code{HTTP::Lite} is compliant with the Host header,
|
|
|
|
|
necessary for name based virtual hosting, and supports proxies.
|
|
|
|
|
Additionally, @code{HTTP::Lite} supports a callback to allow
|
|
|
|
|
processing of request data as it arrives.")
|
|
|
|
|
(license license:perl-license)))
|
|
|
|
|
|
2013-12-07 21:49:07 +00:00
|
|
|
|
(define-public perl-http-message
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-http-message")
|
2019-08-01 13:14:45 +00:00
|
|
|
|
(version "6.18")
|
2013-12-07 21:49:07 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2018-03-16 03:46:45 +00:00
|
|
|
|
"mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Message-"
|
2013-12-07 21:49:07 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-08-01 13:14:45 +00:00
|
|
|
|
"04lih0fn89jpyk74c4aq1rzq18h8v4zd3x0lik2r9dl8sdqd2q6h"))))
|
2013-12-07 21:49:07 +00:00
|
|
|
|
(build-system perl-build-system)
|
2018-03-16 03:46:45 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-try-tiny" ,perl-try-tiny)))
|
2013-12-09 22:34:18 +00:00
|
|
|
|
(propagated-inputs
|
2016-11-30 19:37:10 +00:00
|
|
|
|
`(("perl-encode-locale" ,perl-encode-locale)
|
|
|
|
|
("perl-http-date" ,perl-http-date)
|
2015-03-12 18:41:06 +00:00
|
|
|
|
("perl-io-html" ,perl-io-html)
|
|
|
|
|
("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
|
2013-12-09 23:03:38 +00:00
|
|
|
|
("perl-uri" ,perl-uri)))
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)
|
2013-12-07 21:49:07 +00:00
|
|
|
|
(synopsis "Perl HTTP style message")
|
|
|
|
|
(description
|
|
|
|
|
"An HTTP::Message object contains some headers and a content body.")
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/ETHER/HTTP-Message-6.11")))
|
2013-12-07 21:52:29 +00:00
|
|
|
|
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(define-public perl-http-negotiate
|
2013-12-07 21:52:29 +00:00
|
|
|
|
(package
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(name "perl-http-negotiate")
|
2013-12-07 21:52:29 +00:00
|
|
|
|
(version "6.01")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
"mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
|
2013-12-07 21:52:29 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
"05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
|
2013-12-07 21:52:29 +00:00
|
|
|
|
(build-system perl-build-system)
|
2013-12-09 22:38:10 +00:00
|
|
|
|
(propagated-inputs
|
2013-12-09 23:03:38 +00:00
|
|
|
|
`(("perl-http-message" ,perl-http-message)))
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(synopsis "Perl http content negotiation")
|
2013-12-07 21:52:29 +00:00
|
|
|
|
(description
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
"The HTTP::Negotiate module provides a complete implementation of the
|
|
|
|
|
HTTP content negotiation algorithm specified in
|
|
|
|
|
draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
|
|
|
|
|
the selection of a preferred content representation based upon attributes
|
|
|
|
|
of the negotiable variants and the value of the various Accept* header
|
|
|
|
|
fields in the request.")
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/HTTP-Negotiate")))
|
2013-12-08 20:53:12 +00:00
|
|
|
|
|
2015-04-05 01:56:32 +00:00
|
|
|
|
(define-public perl-http-parser
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-http-parser")
|
|
|
|
|
(version "0.06")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
|
|
|
|
|
"HTTP-Parser-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-http-message" ,perl-http-message)
|
|
|
|
|
("perl-uri" ,perl-uri)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/HTTP-Parser")
|
2015-04-05 01:56:32 +00:00
|
|
|
|
(synopsis "Parse HTTP/1.1 requests")
|
|
|
|
|
(description "This is an HTTP request parser. It takes chunks of text as
|
gnu: Fix descriptions to not use quotes.
* gnu/packages/admin.scm (wpa-supplicant-minimal, mingetty, di),
* gnu/packages/audio.scm (fil-plugins),
* gnu/packages/base.scm (make-ld-wrapper, make-glibc-locales),
* gnu/packages/bioinformatics.scm (r-samtools),
* gnu/packages/chez.scm (chez-mit),
* gnu/packages/commencement.scm (make-gcc-toolchain),
* gnu/packages/compression.scm (fastjar),
* gnu/packages/cran.scm (r-maps, r-rcpp),
* gnu/packages/databases.scm (sparql-query),
* gnu/packages/dunst.scm (dunst),
* gnu/packages/ftp.scm (ncftp),
* gnu/packages/gl.scm (freeglut),
* gnu/packages/haskell-check.scm (ghc-tasty-golden),
* gnu/packages/haskell.scm (ghc-case-insensitive, ghc-text,
ghc-haskell-src, ghc-syb, ghc-deepseq-generics, ghc-network-uri,
ghc-rerebase, ghc-zlib),
* gnu/packages/image.scm (jbig2dec),
* gnu/packages/kde-frameworks.scm (kinit, karchive),
* gnu/packages/linux.scm (wireless-tools, perf, module-init-tools, kbd),
* gnu/packages/lirc.scm (lirc),
* gnu/packages/lisp.scm (uglify-js),
* gnu/packages/mate.scm (mate-netbook),
* gnu/packages/microcom.scm (microcom),
* gnu/packages/music.scm (bristol),
* gnu/packages/networking.scm (perl-geo-ip),
* gnu/packages/patchutils.scm (patches),
* gnu/packages/perl-check.scm (perl-test-more-utf8),
* gnu/packages/perl.scm (perl-log-report-optional, perl-file-which,
perl-io-tty, perl-log-any, perl-digest-sha1, perl-class-load,
perl-regexp-common, perl-module-pluggable, perl-class-modifier),
* gnu/packages/python-xyz.scm (python-backports-abc, python-natsort),
* gnu/packages/samba.scm (iniparser),
* gnu/packages/search.scm (mlocate),
* gnu/packages/spice.scm (spice),
* gnu/packages/statistics.scm (r-dt, r-lubridate, r-estimability,
r-commonmark, r-digest, r-viridislite, r-stringr),
* gnu/packages/tex.scm (texlive-latex-changebar),
* gnu/packages/version-control.scm (subversion),
* gnu/packages/w3m.scm (w3m),
* gnu/packages/web.scm (perl-http-parser,
perl-plack-middleware-reverseproxy),
* gnu/packages/xorg.scm (xkeyboard-config, mkfontdir, xcursor-theme,
mkfontscale, xinit, font-alias)[description]: Use @code instead of quotes.
2019-03-31 13:39:43 +00:00
|
|
|
|
received and returns a @code{hint} as to what is required, or returns the
|
2015-04-05 01:56:32 +00:00
|
|
|
|
HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
|
|
|
|
|
supported.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-05 01:56:32 +00:00
|
|
|
|
|
2015-04-05 02:06:02 +00:00
|
|
|
|
(define-public perl-http-parser-xs
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-http-parser-xs")
|
|
|
|
|
(version "0.17")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
|
|
|
|
|
"HTTP-Parser-XS-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
|
|
|
|
|
(build-system perl-build-system)
|
gnu: perl: Add missing dependencies on Module::Install.
Perl 5.26 and later does not provide this module.
* gnu/packages/databases.scm (perl-sql-abstract)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/perl.scm (perl-moosex-emulate-class-accessor-fast,
perl-file-zglob, perl-object-signature, perl-test-utf8, perl-time-duration,
perl-benchmark-timer, perl-class-accessor-grouped,
perl-class-c3-componentised, perl-term-encoding)[native-inputs]: Likewise.
* gnu/packages/web.scm (perl-http-parser-xs, perl-uri-template,
perl-www-curl)[native-inputs]: Likewise.
* gnu/packages/xml.scm (perl-xml-atom)[native-inputs]: Likewise.
2017-07-30 12:14:52 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-install" ,perl-module-install)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/HTTP-Parser-XS")
|
2015-04-05 02:06:02 +00:00
|
|
|
|
(synopsis "Fast HTTP request parser")
|
|
|
|
|
(description "HTTP::Parser::XS is a fast, primitive HTTP request/response
|
|
|
|
|
parser.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-05 02:06:02 +00:00
|
|
|
|
|
2015-03-11 22:19:46 +00:00
|
|
|
|
(define-public perl-http-request-ascgi
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-http-request-ascgi")
|
|
|
|
|
(version "1.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
|
|
|
|
|
"HTTP-Request-AsCGI-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-class-accessor" ,perl-class-accessor)
|
|
|
|
|
("perl-http-message" ,perl-http-message)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/HTTP-Request-AsCGI")
|
2015-03-11 22:19:46 +00:00
|
|
|
|
(synopsis "Set up a CGI environment from an HTTP::Request")
|
|
|
|
|
(description "This module provides a convenient way to set up a CGI
|
|
|
|
|
environment from an HTTP::Request.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-11 22:19:46 +00:00
|
|
|
|
|
2015-03-17 19:25:49 +00:00
|
|
|
|
(define-public perl-http-server-simple
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-http-server-simple")
|
2018-02-26 05:49:41 +00:00
|
|
|
|
(version "0.52")
|
2015-03-17 19:25:49 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2016-12-01 10:31:13 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
|
2015-03-17 19:25:49 +00:00
|
|
|
|
"HTTP-Server-Simple-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-02-26 05:49:41 +00:00
|
|
|
|
"0k6bg7k6mjixfzxdkkdrhqvaqmdhjszx0zsk8g0bimiby6j9z4yq"))))
|
2015-03-17 19:25:49 +00:00
|
|
|
|
(build-system perl-build-system)
|
gnu: Add dependencies on Perl modules as needed.
This is a follow-on to bb8afbf5.
* gnu/packages/language.scm (perl-lingua-en-inflect, perl-lingua-stem)
(perl-snowball-norwegian, perl-snowball-swedish): Add 'native-inputs'
field.
* gnu/packages/perl.scm (perl-aliased, perl-class-accessor-chained)
(perl-datetime-set, perl-datetime-format-ical, perl-datetime-locale)
(perl-error, perl-module-runtime, perl-module-runtime-conflicts)
(perl-path-class, perl-posix-strftime-compiler, perl-readonly)
(perl-test-differences, perl-test-pod, perl-test-trap)
(perl-text-aligner, perl-text-glob, perl-text-table, perl-tie-ixhash)
(perl-time-mock): Ditto.
(perl-config-any): Add 'propagated-inputs' field.
(perl-data-page, perl-datetime, perl-datetime-format-natural)
(perl-moosex-getopt, perl-moosex-role-parameterized)
(perl-moosex-types, perl-namespace-autoclean, perl-params-validate)
(perl-tree-simple-visitorfactory)[native-inputs]: Add PERL-MODULE-BUILD.
(perl-file-changenotify)[native-inputs]: Ditto.
[propagated-inputs]: Add PERL-MODULE-PLUGGABLE.
(perl-datetime-format-flexible, perl-test-writevariants)
[propagated-inputs]: Ditto.
(perl-test-mockobject): Add 'arguments' field.
* gnu/packages/mail.scm (perl-email-abstract)[propagated-inputs]: Ditto.
* gnu/packages/web.scm (perl-datetime-format-http, perl-io-socket-ip)
(perl-plack-middleware-methodoverride, perl-uri-find)
(perl-www-mechanize): Add 'native-inputs' field.
(perl-html-template, perl-http-server-simple): Add 'propagated-inputs'
field.
(perl-apache-logformat-compiler, perl-html-tree)[native-inputs]:
Add PERL-MODULE-BUILD.
(perl-catalyst-runtime)[propagated-inputs]: Add PERL-MODULE-PLUGGABLE.
(perl-finance-quote)[propagated-inputs]: Add PERL-CGI.
2016-01-20 23:15:41 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-cgi" ,perl-cgi)))
|
2015-03-17 19:25:49 +00:00
|
|
|
|
(arguments
|
|
|
|
|
;; See the discussion of a related tests issue at
|
|
|
|
|
;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
|
2017-07-24 14:36:13 +00:00
|
|
|
|
`(#:tests? #f
|
|
|
|
|
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'set-search-path
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Work around "dotless @INC" build failure.
|
|
|
|
|
(setenv "PERL5LIB"
|
|
|
|
|
(string-append (getcwd) ":"
|
|
|
|
|
(getenv "PERL5LIB")))
|
|
|
|
|
#t)))))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/HTTP-Server-Simple")
|
2015-03-17 19:25:49 +00:00
|
|
|
|
(synopsis "Lightweight HTTP server")
|
|
|
|
|
(description "HTTP::Server::Simple is a simple standalone HTTP daemon with
|
|
|
|
|
no non-core module dependencies. It can be used for building a standalone
|
|
|
|
|
http-based UI to your existing tools.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-17 19:25:49 +00:00
|
|
|
|
|
2015-03-10 22:14:26 +00:00
|
|
|
|
(define-public perl-http-tiny
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-http-tiny")
|
2018-08-14 22:14:07 +00:00
|
|
|
|
(version "0.076")
|
2015-03-10 22:14:26 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
|
|
|
|
|
"HTTP-Tiny-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-08-14 22:14:07 +00:00
|
|
|
|
"11wkxxqj3ff84rgj9q2gzkdgscwp3fzj205846k9ycqinlpsmgfx"))))
|
2015-03-10 22:14:26 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("perl-http-cookiejar" ,perl-http-cookiejar)
|
|
|
|
|
("perl-io-socket-ip" ,perl-io-socket-ip)
|
|
|
|
|
("perl-io-socket-ssl" ,perl-io-socket-ssl)
|
2016-11-30 19:45:18 +00:00
|
|
|
|
("perl-mozilla-ca" ,perl-mozilla-ca)
|
2015-03-10 22:14:26 +00:00
|
|
|
|
("perl-net-ssleay" ,perl-net-ssleay)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/HTTP-Tiny")
|
2015-03-10 22:14:26 +00:00
|
|
|
|
(synopsis "HTTP/1.1 client")
|
|
|
|
|
(description "This is a very simple HTTP/1.1 client, designed for doing
|
|
|
|
|
simple requests without the overhead of a large framework like LWP::UserAgent.
|
|
|
|
|
It supports proxies and redirection. It also correctly resumes after EINTR.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-10 22:14:26 +00:00
|
|
|
|
|
2019-03-24 18:01:00 +00:00
|
|
|
|
(define-public perl-http-tinyish
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-http-tinyish")
|
|
|
|
|
(version "0.15")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/M/MI/MIYAGAWA/HTTP-Tinyish-"
|
|
|
|
|
version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"199sa722amvwhq0czjfb7psj3hbqmvni5vxkrm579r5943pg0rax"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-file-which" ,perl-file-which)
|
|
|
|
|
("perl-ipc-run3" ,perl-ipc-run3)))
|
|
|
|
|
(home-page "https://metacpan.org/release/HTTP-Tinyish")
|
|
|
|
|
(synopsis "@code{HTTP::Tiny} compatible HTTP client wrappers")
|
|
|
|
|
(description
|
|
|
|
|
"@code{HTTP::Tinyish} is a wrapper module for @acronym{LWP,libwww-perl},
|
|
|
|
|
@code{HTTP::Tiny}, curl and wget.
|
|
|
|
|
|
|
|
|
|
It provides an API compatible to HTTP::Tiny.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2019-03-24 18:01:00 +00:00
|
|
|
|
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(define-public perl-io-html
|
2013-12-08 20:53:12 +00:00
|
|
|
|
(package
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(name "perl-io-html")
|
|
|
|
|
(version "1.00")
|
2013-12-08 20:53:12 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
"mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
|
2013-12-08 20:53:12 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
"06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
|
2013-12-08 20:53:12 +00:00
|
|
|
|
(build-system perl-build-system)
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(synopsis "Perl module to open an HTML file with automatic charset detection")
|
2013-12-08 20:53:12 +00:00
|
|
|
|
(description
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
"IO::HTML provides an easy way to open a file containing HTML while
|
|
|
|
|
automatically determining its encoding. It uses the HTML5 encoding sniffing
|
|
|
|
|
algorithm specified in section 8.2.2.1 of the draft standard.")
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/IO-HTML")))
|
2013-12-08 21:02:48 +00:00
|
|
|
|
|
2015-03-10 20:46:50 +00:00
|
|
|
|
(define-public perl-io-socket-ip
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-io-socket-ip")
|
2020-09-23 01:23:31 +00:00
|
|
|
|
(version "0.41")
|
2015-03-10 20:46:50 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
|
|
|
|
|
"IO-Socket-IP-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-09-23 01:23:31 +00:00
|
|
|
|
(base32 "0ihlpxrkq1xrvhnq52nhghanskic718ch8kpp642afgq72i4b6l4"))))
|
2015-03-10 20:46:50 +00:00
|
|
|
|
(build-system perl-build-system)
|
gnu: Add dependencies on Perl modules as needed.
This is a follow-on to bb8afbf5.
* gnu/packages/language.scm (perl-lingua-en-inflect, perl-lingua-stem)
(perl-snowball-norwegian, perl-snowball-swedish): Add 'native-inputs'
field.
* gnu/packages/perl.scm (perl-aliased, perl-class-accessor-chained)
(perl-datetime-set, perl-datetime-format-ical, perl-datetime-locale)
(perl-error, perl-module-runtime, perl-module-runtime-conflicts)
(perl-path-class, perl-posix-strftime-compiler, perl-readonly)
(perl-test-differences, perl-test-pod, perl-test-trap)
(perl-text-aligner, perl-text-glob, perl-text-table, perl-tie-ixhash)
(perl-time-mock): Ditto.
(perl-config-any): Add 'propagated-inputs' field.
(perl-data-page, perl-datetime, perl-datetime-format-natural)
(perl-moosex-getopt, perl-moosex-role-parameterized)
(perl-moosex-types, perl-namespace-autoclean, perl-params-validate)
(perl-tree-simple-visitorfactory)[native-inputs]: Add PERL-MODULE-BUILD.
(perl-file-changenotify)[native-inputs]: Ditto.
[propagated-inputs]: Add PERL-MODULE-PLUGGABLE.
(perl-datetime-format-flexible, perl-test-writevariants)
[propagated-inputs]: Ditto.
(perl-test-mockobject): Add 'arguments' field.
* gnu/packages/mail.scm (perl-email-abstract)[propagated-inputs]: Ditto.
* gnu/packages/web.scm (perl-datetime-format-http, perl-io-socket-ip)
(perl-plack-middleware-methodoverride, perl-uri-find)
(perl-www-mechanize): Add 'native-inputs' field.
(perl-html-template, perl-http-server-simple): Add 'propagated-inputs'
field.
(perl-apache-logformat-compiler, perl-html-tree)[native-inputs]:
Add PERL-MODULE-BUILD.
(perl-catalyst-runtime)[propagated-inputs]: Add PERL-MODULE-PLUGGABLE.
(perl-finance-quote)[propagated-inputs]: Add PERL-CGI.
2016-01-20 23:15:41 +00:00
|
|
|
|
(native-inputs `(("perl-module-build" ,perl-module-build)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/IO-Socket-IP")
|
2015-03-10 20:46:50 +00:00
|
|
|
|
(synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
|
|
|
|
|
(description "This module provides a protocol-independent way to use IPv4
|
|
|
|
|
and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-10 20:46:50 +00:00
|
|
|
|
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(define-public perl-io-socket-ssl
|
2013-12-08 21:02:48 +00:00
|
|
|
|
(package
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(name "perl-io-socket-ssl")
|
2019-06-12 16:49:23 +00:00
|
|
|
|
(version "2.066")
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
|
|
|
|
|
"IO-Socket-SSL-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-06-12 16:49:23 +00:00
|
|
|
|
"1kgbws7dwp2hh16qid7169dfkhmcwg7dz9ffbm6k0id5h53hciqd"))
|
2016-04-08 12:18:13 +00:00
|
|
|
|
(patches (search-patches
|
|
|
|
|
"perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(build-system perl-build-system)
|
2016-07-22 00:01:03 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-net-ssleay" ,perl-net-ssleay)
|
|
|
|
|
;; for IDN support
|
|
|
|
|
("perl-uri" ,perl-uri)))
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
|
|
|
|
|
(description
|
|
|
|
|
"IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
|
|
|
|
|
necessary functionality into the familiar IO::Socket interface and providing
|
|
|
|
|
secure defaults whenever possible. This way existing applications can be made
|
|
|
|
|
SSL-aware without much effort, at least if you do blocking I/O and don't use
|
|
|
|
|
select or poll.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(home-page "https://github.com/noxxi/p5-io-socket-ssl")))
|
|
|
|
|
|
|
|
|
|
(define-public perl-libwww
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-libwww")
|
2020-10-01 19:53:40 +00:00
|
|
|
|
(version "6.49")
|
2013-12-08 21:02:48 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2019-03-23 19:37:51 +00:00
|
|
|
|
"mirror://cpan/authors/id/O/OA/OALDERS/libwww-perl-"
|
2013-12-08 21:02:48 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-10-01 19:53:40 +00:00
|
|
|
|
"19k0cg4j4qz005a4ngy48z4r8dc99dxlpq8kvj7qnk15mvgd1r63"))))
|
2013-12-08 21:02:48 +00:00
|
|
|
|
(build-system perl-build-system)
|
2018-08-14 11:34:46 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-test-fatal" ,perl-test-fatal)
|
|
|
|
|
("perl-test-needs" ,perl-test-needs)
|
gnu: Fix misplaced commas (unquotes).
* gnu/packages/java.scm (ant-bootstrap),
gnu/packages/kde.scm (kdenlive),
gnu/packages/lxqt.scm (lxqt-panel, lxqt-runner),
gnu/packages/mpd.scm (ncmpc),
gnu/packages/opencl.scm (beignet),
gnu/packages/pdf.scm (zathura-pdf-mupdf),
gnu/packages/video.scm (streamlink),
gnu/packages/web-browsers.scm (luakit),
gnu/packages/web.scm (perl-libwww),
gnu/packages/wm.scm (ghc-xmonad-contrib): Fix misplaced commas (unquotes).
2018-12-13 04:30:18 +00:00
|
|
|
|
("perl-test-requiresinternet" ,perl-test-requiresinternet)))
|
2013-12-09 22:45:02 +00:00
|
|
|
|
(propagated-inputs
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
`(("perl-encode-locale" ,perl-encode-locale)
|
|
|
|
|
("perl-file-listing" ,perl-file-listing)
|
|
|
|
|
("perl-html-parser" ,perl-html-parser)
|
|
|
|
|
("perl-http-cookies" ,perl-http-cookies)
|
|
|
|
|
("perl-http-daemon" ,perl-http-daemon)
|
2016-11-30 19:24:34 +00:00
|
|
|
|
("perl-http-date" ,perl-http-date)
|
|
|
|
|
("perl-http-message" ,perl-http-message)
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
("perl-http-negotiate" ,perl-http-negotiate)
|
|
|
|
|
("perl-net-http" ,perl-net-http)
|
2018-08-14 11:34:46 +00:00
|
|
|
|
("perl-try-tiny" ,perl-try-tiny)
|
2016-11-30 19:24:34 +00:00
|
|
|
|
("perl-uri" ,perl-uri)
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
("perl-www-robotrules" ,perl-www-robotrules)))
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(synopsis "Perl modules for the WWW")
|
2013-12-08 21:02:48 +00:00
|
|
|
|
(description
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
"The libwww-perl collection is a set of Perl modules which provides a
|
|
|
|
|
simple and consistent application programming interface to the
|
|
|
|
|
World-Wide Web. The main focus of the library is to provide classes
|
|
|
|
|
and functions that allow you to write WWW clients. The library also
|
|
|
|
|
contains modules that are of more general use and even classes that
|
|
|
|
|
help you implement simple HTTP servers.")
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/libwww-perl")))
|
2013-12-08 21:18:58 +00:00
|
|
|
|
|
2017-10-23 07:05:42 +00:00
|
|
|
|
(define-public perl-lwp-online
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-lwp-online")
|
|
|
|
|
(version "1.08")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/A/AD/ADAMK/LWP-Online-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"176f6vbk1018i0y7xj9d406ndbjgwzan2j9nihxnsahzg2vr2vz2"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-libwww" ,perl-libwww)
|
|
|
|
|
("perl-uri" ,perl-uri)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-install" ,perl-module-install)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/LWP-Online")
|
2017-10-23 07:05:42 +00:00
|
|
|
|
(synopsis "Checks whether your process has access to the web")
|
|
|
|
|
(description "This module attempts to answer, as accurately as it can, one
|
|
|
|
|
of the nastiest technical questions there is: am I on the internet?
|
|
|
|
|
|
|
|
|
|
A host of networking and security issues make this problem very difficult.
|
|
|
|
|
There are firewalls, proxies (both well behaved and badly behaved). We might
|
|
|
|
|
not have DNS. We might not have a network card at all!")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2017-10-23 07:05:42 +00:00
|
|
|
|
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(define-public perl-lwp-mediatypes
|
2013-12-08 21:18:58 +00:00
|
|
|
|
(package
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(name "perl-lwp-mediatypes")
|
2020-02-12 16:00:53 +00:00
|
|
|
|
(version "6.04")
|
2013-12-08 21:18:58 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2020-02-12 16:00:53 +00:00
|
|
|
|
"mirror://cpan/authors/id/O/OA/OALDERS/LWP-MediaTypes-"
|
2013-12-08 21:18:58 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-02-12 16:00:53 +00:00
|
|
|
|
"1n8rg6csv3dsvymg06cmxipimr6cb1g9r903ghm1qsmiv89cl6wg"))))
|
2013-12-08 21:18:58 +00:00
|
|
|
|
(build-system perl-build-system)
|
2020-02-12 16:00:53 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-test-fatal" ,perl-test-fatal)))
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(synopsis "Perl module to guess the media type for a file or a URL")
|
2013-12-08 21:18:58 +00:00
|
|
|
|
(description
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
"The LWP::MediaTypes module provides functions for handling media (also
|
|
|
|
|
known as MIME) types and encodings. The mapping from file extensions to
|
|
|
|
|
media types is defined by the media.types file. If the ~/.media.types file
|
|
|
|
|
exists it is used instead.")
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/LWP-MediaTypes")))
|
2013-12-08 21:24:21 +00:00
|
|
|
|
|
2015-04-06 20:45:10 +00:00
|
|
|
|
(define-public perl-lwp-protocol-https
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-lwp-protocol-https")
|
2020-11-14 17:37:58 +00:00
|
|
|
|
(version "6.09")
|
2015-04-06 20:45:10 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-06-19 17:59:10 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
|
2015-04-06 20:45:10 +00:00
|
|
|
|
"LWP-Protocol-https-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-11-14 17:37:58 +00:00
|
|
|
|
(base32 "14pm785cgyrnppks6ccasb2vkqifh0a8fz36nmnhc2v926jy3kqn"))))
|
2015-04-06 20:45:10 +00:00
|
|
|
|
(build-system perl-build-system)
|
2018-06-19 17:59:10 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
;; For tests.
|
|
|
|
|
`(("perl-test-requiresinternet" ,perl-test-requiresinternet)))
|
2015-04-06 20:45:10 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-io-socket-ssl" ,perl-io-socket-ssl)
|
|
|
|
|
("perl-libwww" ,perl-libwww)
|
2020-12-17 11:42:42 +00:00
|
|
|
|
("perl-mozilla-ca" ,perl-mozilla-ca)
|
2015-04-06 20:45:10 +00:00
|
|
|
|
("perl-net-http" ,perl-net-http)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/LWP-Protocol-https")
|
2015-04-06 20:45:10 +00:00
|
|
|
|
(synopsis "HTTPS support for LWP::UserAgent")
|
|
|
|
|
(description "The LWP::Protocol::https module provides support for using
|
|
|
|
|
https schemed URLs with LWP.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-06 20:45:10 +00:00
|
|
|
|
|
2019-12-08 03:44:48 +00:00
|
|
|
|
(define-public perl-lwp-useragent-cached
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-lwp-useragent-cached")
|
|
|
|
|
(version "0.08")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/O/OL/OLEG/"
|
|
|
|
|
"LWP-UserAgent-Cached-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1hw7wy7f82kl61xjwkgmhv1ixgg56dhgfr45wxn6ahc0qys5mkix"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-libwww" ,perl-libwww)))
|
|
|
|
|
(home-page "https://metacpan.org/release/LWP-UserAgent-Cached")
|
|
|
|
|
(synopsis "Simple caching for LWP::UserAgent")
|
|
|
|
|
(description "LWP::UserAgent::Cached is an LWP::UserAgent subclass with
|
gnu: Fix typoes in package descriptions.
* gnu/packages/audio.scm (caps-plugins-lv2)[synopsis]: Fix typo.
* gnu/packages/bioconductor.scm (r-karyoploter, r-anota, r-gcrma)
(r-bigmemoryextras)[description]: Likewise.
* gnu/packages/cran.scm (r-geometry)[synopsis]: Likewise.
(r-stringdist, r-patchwork, r-depth, r-tea)[description]: Likewise.
* gnu/packages/crates-io.scm (rust-assert-fs-0.11, rust-notify-4)
(rust-tokio-fs-0.1)[synopsis, description]: Likewise.
(rust-blas-sys-0.7)[description]: Likewise.
(rust-fs-extra-1.1, rust-xattr-0.2)[synopsis]: Likewise.
* gnu/packages/databases.scm (perl-mysql-config)[description]: Likewise.
* gnu/packages/disk.scm (hddtemp)[description]: Likewise.
* gnu/packages/django.scm (python-djangorestframework)[description]:
Likewise.
* gnu/packages/documentation.scm (doc++)[description]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-kakoune, emacs-pyim-basedict, eless)
(emacs-scpaste)[description]: Likewise.
* gnu/packages/file-systems.scm (dbxfs)[description]: Likewise.
* gnu/packages/finance.scm (python-stdnum)[description]: Likewise.
* gnu/packages/fontutils.scm (woff2)[description]: Likewise.
* gnu/packages/games.scm (openttd-opengfx)[description]: Likewise.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-topicons-redux)
[description]: Likewise.
* gnu/packages/gnome.scm (libgrss)[description]: Likewise.
* gnu/packages/golang.scm (go-github-com-mitchellh-reflectwalk)
[description]: Likewise.
(go-github-com-go-git-go-billy)[synopsis, description]: Likewise.
* gnu/packages/haskell-check.scm (ghc-inspection-testing)[description]:
Likewise.
* gnu/packages/haskell-web.scm (ghc-yesod-form)[description]: Likewise.
* gnu/packages/haskell-xyz.scm (ghc-hex)[description]: Likewise.
* gnu/packages/hyperledger.scm (hyperledger-iroha-ed25519)[description]:
Likewise.
* gnu/packages/java.scm (java-mail)[synopsis]: Likewise.
(java-native-access-platform)[description]: Likewise.
* gnu/packages/kde-frameworks.scm (kactivities-stats)[description]:
Likewise.
* gnu/packages/kde-utils.scm (krusader)[description]: Likewise.
* gnu/packages/language.scm (praat)[description]: Likewise.
* gnu/packages/linux.scm (light)[description]: Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-hu.dwim.defclass-star)[description]:
Likewise.
* gnu/packages/mail.scm (dovecot-trees, sieve-connect)[description]:
Likewise.
* gnu/packages/ocaml.scm (ocaml-opam-file-format, ocaml-cppo)
(ocaml4.07-ppx-variants-conv)[description]: Likewise.
* gnu/packages/perl.scm (perl-convert-binhex)[description]: Likewise.
* gnu/packages/python-crypto.scm (python-ecdsa)[description]: Likewise.
* gnu/packages/python-web.scm (python-html5lib)[synopsis, description]:
Likewise.
(python-venusian)[synopsis]: Likewise.
* gnu/packages/python-xyz.scm (python-readlike, python-gssapi)
(python-flufl-i18n)[description]: Likewise.
(python-pox, python-watchdog, python-xattr)[synopsis, description]:
Likewise.
* gnu/packages/ruby.scm (ruby-sorcerer)[description]: Likewise.
* gnu/packages/rust-apps.scm (watchexec)[description]: Likewise.
* gnu/packages/rust.scm (mrustc)[synopsis]: Likewise.
* gnu/packages/shells.scm (s-shell)[description]: Likewise.
* gnu/packages/ssh.scm (sshpass)[description]: Likewise.
* gnu/packages/terminals.scm (beep)[description]: Likewise.
* gnu/packages/web.scm (perl-lwp-useragent-cached)[description]:
Likewise.
* gnu/packages/wv.scm (wv)[description]: Likewise.
2020-09-22 19:31:52 +00:00
|
|
|
|
cache support. It returns responses from the local file system, if available,
|
2019-12-08 03:44:48 +00:00
|
|
|
|
instead of making an HTTP request.")
|
|
|
|
|
(license license:perl-license)))
|
|
|
|
|
|
2015-04-06 22:03:46 +00:00
|
|
|
|
(define-public perl-lwp-useragent-determined
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-lwp-useragent-determined")
|
|
|
|
|
(version "1.07")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
|
|
|
|
|
"LWP-UserAgent-Determined-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-libwww" ,perl-libwww)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/LWP-UserAgent-Determined")
|
2015-04-06 22:03:46 +00:00
|
|
|
|
(synopsis "Virtual browser that retries errors")
|
|
|
|
|
(description "LWP::UserAgent::Determined works just like LWP::UserAgent,
|
|
|
|
|
except that when you use it to get a web page but run into a
|
|
|
|
|
possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
|
|
|
|
|
and retry a few times.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-06 22:03:46 +00:00
|
|
|
|
|
2020-05-12 14:50:27 +00:00
|
|
|
|
(define-public perl-lwpx-paranoidagent
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-lwpx-paranoidagent")
|
|
|
|
|
(version "1.12")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/S/SA/SAXJAZMAN/lwp/LWPx-ParanoidAgent-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0gfhw3jbs25yya2dryv8xvyn9myngcfcmsybj7gkq62fnznil16c"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-libwww" ,perl-libwww)
|
|
|
|
|
;; Users should instead make sure SSL_ca_path is set properly.
|
|
|
|
|
;; ("perl-mozilla-ca" ,perl-mozilla-ca)
|
|
|
|
|
("perl-net-dns" ,perl-net-dns)))
|
|
|
|
|
(home-page "https://metacpan.org/release/LWPx-ParanoidAgent")
|
|
|
|
|
(synopsis "Security enhanced subclass of LWP::UserAgent")
|
|
|
|
|
(description "@code{LWPx::ParanoidAgent} is a class subclassing
|
|
|
|
|
@code{LWP::UserAgent} but paranoid against attackers. Its purpose is
|
|
|
|
|
to vet requests for a remote resource on behalf of a possibly
|
|
|
|
|
malicious user. The class can do the same as @code{LWP::UserAgent},
|
|
|
|
|
except that proxy support has been removed. Support for URI schemes
|
|
|
|
|
is limited to http and https.")
|
|
|
|
|
(license license:perl-license)))
|
|
|
|
|
|
2015-04-07 22:03:04 +00:00
|
|
|
|
(define-public perl-net-amazon-s3
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-net-amazon-s3")
|
|
|
|
|
(version "0.60")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
|
|
|
|
|
"Net-Amazon-S3-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
|
2016-04-08 12:18:13 +00:00
|
|
|
|
(patches (search-patches
|
|
|
|
|
"perl-net-amazon-s3-moose-warning.patch"))))
|
2015-04-07 22:03:04 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-libwww" ,perl-libwww)
|
|
|
|
|
("perl-test-exception" ,perl-test-exception)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-data-stream-bulk" ,perl-data-stream-bulk)
|
|
|
|
|
("perl-datetime-format-http" ,perl-datetime-format-http)
|
|
|
|
|
("perl-digest-hmac" ,perl-digest-hmac)
|
|
|
|
|
("perl-digest-md5-file" ,perl-digest-md5-file)
|
|
|
|
|
("perl-file-find-rule" ,perl-file-find-rule)
|
|
|
|
|
("perl-http-date" ,perl-http-date)
|
|
|
|
|
("perl-http-message" ,perl-http-message)
|
|
|
|
|
("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
|
|
|
|
|
("perl-mime-types" ,perl-mime-types)
|
|
|
|
|
("perl-moose" ,perl-moose)
|
|
|
|
|
("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
|
|
|
|
|
("perl-moosex-types-datetime-morecoercions"
|
|
|
|
|
,perl-moosex-types-datetime-morecoercions)
|
|
|
|
|
("perl-path-class" ,perl-path-class)
|
|
|
|
|
("perl-regexp-common" ,perl-regexp-common)
|
|
|
|
|
("perl-term-encoding" ,perl-term-encoding)
|
|
|
|
|
("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
|
|
|
|
|
("perl-uri" ,perl-uri)
|
|
|
|
|
("perl-xml-libxml" ,perl-xml-libxml)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Net-Amazon-S3")
|
2015-04-07 22:03:04 +00:00
|
|
|
|
(synopsis "Perl interface to Amazon S3")
|
|
|
|
|
(description "This module provides a Perlish interface to Amazon S3.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-07 22:03:04 +00:00
|
|
|
|
|
2013-12-08 21:24:21 +00:00
|
|
|
|
(define-public perl-net-http
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-net-http")
|
2021-03-21 16:11:58 +00:00
|
|
|
|
(version "6.21")
|
2013-12-08 21:24:21 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2018-06-06 19:56:53 +00:00
|
|
|
|
"mirror://cpan/authors/id/O/OA/OALDERS/"
|
|
|
|
|
"Net-HTTP-" version ".tar.gz"))
|
2013-12-08 21:24:21 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-03-21 16:11:58 +00:00
|
|
|
|
"1i7fk6q1iaxzgf82mjd5hg77hvy7dbb79488cijg16dyfrds6nip"))))
|
2013-12-08 21:24:21 +00:00
|
|
|
|
(build-system perl-build-system)
|
2015-04-06 20:43:25 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-io-socket-ssl" ,perl-io-socket-ssl)
|
|
|
|
|
("perl-uri" ,perl-uri)))
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)
|
2013-12-08 21:24:21 +00:00
|
|
|
|
(synopsis "Perl low-level HTTP connection (client)")
|
|
|
|
|
(description
|
|
|
|
|
"The Net::HTTP class is a low-level HTTP client. An instance of the
|
|
|
|
|
Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
|
|
|
|
|
is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
|
|
|
|
|
HTTP/1.1.")
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Net-HTTP")))
|
2013-12-09 21:16:30 +00:00
|
|
|
|
|
2015-04-05 02:40:52 +00:00
|
|
|
|
(define-public perl-net-server
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-net-server")
|
2017-08-19 14:42:13 +00:00
|
|
|
|
(version "2.009")
|
2015-04-05 02:40:52 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
|
|
|
|
|
"Net-Server-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-08-19 14:42:13 +00:00
|
|
|
|
"0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
|
2015-04-05 02:40:52 +00:00
|
|
|
|
(build-system perl-build-system)
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Net-Server")
|
2015-04-05 02:40:52 +00:00
|
|
|
|
(synopsis "Extensible Perl server engine")
|
|
|
|
|
(description "Net::Server is an extensible, generic Perl server engine.
|
|
|
|
|
It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
|
|
|
|
|
It includes with it the ability to run as an inetd
|
|
|
|
|
process (Net::Server::INET), a single connection server (Net::Server or
|
|
|
|
|
Net::Server::Single), a forking server (Net::Server::Fork), a preforking
|
|
|
|
|
server which maintains a constant number of preforked
|
|
|
|
|
children (Net::Server::PreForkSimple), or as a managed preforking server which
|
|
|
|
|
maintains the number of children based on server load (Net::Server::PreFork).
|
|
|
|
|
In all but the inetd type, the server provides the ability to connect to one
|
|
|
|
|
or to multiple server ports.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-05 02:40:52 +00:00
|
|
|
|
|
2015-06-28 01:59:44 +00:00
|
|
|
|
(define-public perl-net-smtp-ssl
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-net-smtp-ssl")
|
2018-02-26 05:50:17 +00:00
|
|
|
|
(version "1.04")
|
2015-06-28 01:59:44 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2016-08-19 20:22:51 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
|
2015-06-28 01:59:44 +00:00
|
|
|
|
"Net-SMTP-SSL-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2016-08-19 20:22:51 +00:00
|
|
|
|
(base32
|
2018-02-26 05:50:17 +00:00
|
|
|
|
"001a6dcfahf7kkyirqkc8jd4fh4fkal7n7vm9c4dblqrvmdc8abv"))))
|
2015-06-28 01:59:44 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Net-SMTP-SSL")
|
2015-06-28 01:59:44 +00:00
|
|
|
|
(synopsis "SSL support for Net::SMTP")
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 12:16:07 +00:00
|
|
|
|
(description "SSL support for Net::SMTP.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-06-28 01:59:44 +00:00
|
|
|
|
|
2015-03-11 18:58:50 +00:00
|
|
|
|
(define-public perl-plack
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-plack")
|
|
|
|
|
(version "1.0033")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
|
|
|
|
|
"Plack-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-test-requires" ,perl-test-requires)
|
|
|
|
|
("perl-file-sharedir-install" ,perl-file-sharedir-install)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
|
|
|
|
|
("perl-devel-stacktrace" ,perl-devel-stacktrace)
|
|
|
|
|
("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
|
|
|
|
|
("perl-file-sharedir" ,perl-file-sharedir)
|
|
|
|
|
("perl-hash-multivalue" ,perl-hash-multivalue)
|
|
|
|
|
("perl-http-body" ,perl-http-body)
|
|
|
|
|
("perl-http-message" ,perl-http-message)
|
|
|
|
|
("perl-http-tiny" ,perl-http-tiny)
|
|
|
|
|
("perl-libwww" ,perl-libwww)
|
|
|
|
|
("perl-stream-buffered" ,perl-stream-buffered)
|
|
|
|
|
("perl-test-tcp" ,perl-test-tcp)
|
|
|
|
|
("perl-try-tiny" ,perl-try-tiny)
|
|
|
|
|
("perl-uri" ,perl-uri)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Plack")
|
2015-03-11 18:58:50 +00:00
|
|
|
|
(synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
|
|
|
|
|
(description "Plack is a set of tools for using the PSGI stack. It
|
|
|
|
|
contains middleware components, a reference server, and utilities for Web
|
|
|
|
|
application frameworks. Plack is like Ruby's Rack or Python's Paste for
|
|
|
|
|
WSGI.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-11 18:58:50 +00:00
|
|
|
|
|
2019-04-06 00:41:25 +00:00
|
|
|
|
(define-public perl-plack-middleware-deflater
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-plack-middleware-deflater")
|
|
|
|
|
(version "0.12")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/K/KA/KAZEBURO/"
|
|
|
|
|
"Plack-Middleware-Deflater-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0xf2visi16hgwgyp9q0cjr10ikbn474hjia5mj8mb2scvbkrbni8"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-install" ,perl-module-install)
|
|
|
|
|
("perl-test-requires" ,perl-test-requires)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-plack" ,perl-plack)))
|
|
|
|
|
(home-page "https://metacpan.org/release/Plack-Middleware-Deflater")
|
|
|
|
|
(synopsis "Compress response body with Gzip or Deflate")
|
|
|
|
|
(description
|
|
|
|
|
"Plack::Middleware::Deflater is a middleware to encode your response body
|
|
|
|
|
in gzip or deflate, based on \"Accept-Encoding\" HTTP request header. It
|
|
|
|
|
would save the bandwidth a little bit but should increase the Plack server
|
|
|
|
|
load, so ideally you should handle this on the frontend reverse proxy
|
|
|
|
|
servers.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2019-04-06 00:41:25 +00:00
|
|
|
|
|
2015-03-12 17:41:58 +00:00
|
|
|
|
(define-public perl-plack-middleware-fixmissingbodyinredirect
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-plack-middleware-fixmissingbodyinredirect")
|
|
|
|
|
(version "0.12")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
|
|
|
|
|
"Plack-Middleware-FixMissingBodyInRedirect-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
|
|
|
|
|
("perl-http-message" ,perl-http-message)
|
|
|
|
|
("perl-plack" ,perl-plack))) ;for Plack::Test
|
|
|
|
|
(home-page
|
2018-08-11 13:53:20 +00:00
|
|
|
|
"https://metacpan.org/release/Plack-Middleware-FixMissingBodyInRedirect")
|
2015-03-12 17:41:58 +00:00
|
|
|
|
(synopsis "Plack::Middleware which sets body for redirect response")
|
|
|
|
|
(description "This module sets the body in redirect response, if it's not
|
|
|
|
|
already set.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-12 17:41:58 +00:00
|
|
|
|
|
2015-03-12 17:45:40 +00:00
|
|
|
|
(define-public perl-plack-middleware-methodoverride
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-plack-middleware-methodoverride")
|
2019-03-20 19:17:47 +00:00
|
|
|
|
(version "0.20")
|
2015-03-12 17:45:40 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-03-20 19:17:47 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
|
2015-03-12 17:45:40 +00:00
|
|
|
|
"Plack-Middleware-MethodOverride-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2019-03-20 19:17:47 +00:00
|
|
|
|
(base32 "1wdmmav3rbhv49zpw311zrxxqmg1fz3f3q9src0ypgs8zcp5myyv"))))
|
2015-03-12 17:45:40 +00:00
|
|
|
|
(build-system perl-build-system)
|
gnu: Add dependencies on Perl modules as needed.
This is a follow-on to bb8afbf5.
* gnu/packages/language.scm (perl-lingua-en-inflect, perl-lingua-stem)
(perl-snowball-norwegian, perl-snowball-swedish): Add 'native-inputs'
field.
* gnu/packages/perl.scm (perl-aliased, perl-class-accessor-chained)
(perl-datetime-set, perl-datetime-format-ical, perl-datetime-locale)
(perl-error, perl-module-runtime, perl-module-runtime-conflicts)
(perl-path-class, perl-posix-strftime-compiler, perl-readonly)
(perl-test-differences, perl-test-pod, perl-test-trap)
(perl-text-aligner, perl-text-glob, perl-text-table, perl-tie-ixhash)
(perl-time-mock): Ditto.
(perl-config-any): Add 'propagated-inputs' field.
(perl-data-page, perl-datetime, perl-datetime-format-natural)
(perl-moosex-getopt, perl-moosex-role-parameterized)
(perl-moosex-types, perl-namespace-autoclean, perl-params-validate)
(perl-tree-simple-visitorfactory)[native-inputs]: Add PERL-MODULE-BUILD.
(perl-file-changenotify)[native-inputs]: Ditto.
[propagated-inputs]: Add PERL-MODULE-PLUGGABLE.
(perl-datetime-format-flexible, perl-test-writevariants)
[propagated-inputs]: Ditto.
(perl-test-mockobject): Add 'arguments' field.
* gnu/packages/mail.scm (perl-email-abstract)[propagated-inputs]: Ditto.
* gnu/packages/web.scm (perl-datetime-format-http, perl-io-socket-ip)
(perl-plack-middleware-methodoverride, perl-uri-find)
(perl-www-mechanize): Add 'native-inputs' field.
(perl-html-template, perl-http-server-simple): Add 'propagated-inputs'
field.
(perl-apache-logformat-compiler, perl-html-tree)[native-inputs]:
Add PERL-MODULE-BUILD.
(perl-catalyst-runtime)[propagated-inputs]: Add PERL-MODULE-PLUGGABLE.
(perl-finance-quote)[propagated-inputs]: Add PERL-CGI.
2016-01-20 23:15:41 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-build" ,perl-module-build)))
|
2015-03-12 17:45:40 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-plack" ,perl-plack)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Plack-Middleware-MethodOverride")
|
2015-03-12 17:45:40 +00:00
|
|
|
|
(synopsis "Override REST methods to Plack apps via POST")
|
|
|
|
|
(description "This middleware allows for POST requests that pretend to be
|
|
|
|
|
something else: by adding either a header named X-HTTP-Method-Override to the
|
|
|
|
|
request, or a query parameter named x-tunneled-method to the URI, the client
|
|
|
|
|
can say what method it actually meant.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-12 17:45:40 +00:00
|
|
|
|
|
2015-03-12 17:53:22 +00:00
|
|
|
|
(define-public perl-plack-middleware-removeredundantbody
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-plack-middleware-removeredundantbody")
|
2021-05-19 19:31:48 +00:00
|
|
|
|
(version "0.09")
|
2015-03-12 17:53:22 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
|
|
|
|
|
"Plack-Middleware-RemoveRedundantBody-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2021-05-19 19:31:48 +00:00
|
|
|
|
(base32 "0zh83001rn5aqwpc1pn3di2h3ibzlf2dvkmkv05hnadpss9mzm40"))))
|
2015-03-12 17:53:22 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-plack" ,perl-plack)))
|
|
|
|
|
(home-page
|
2018-08-11 13:53:20 +00:00
|
|
|
|
"https://metacpan.org/release/Plack-Middleware-RemoveRedundantBody")
|
2015-03-12 17:53:22 +00:00
|
|
|
|
(synopsis "Plack::Middleware which removes body for HTTP response")
|
|
|
|
|
(description "This module removes the body in an HTTP response if it's not
|
|
|
|
|
required.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-12 17:53:22 +00:00
|
|
|
|
|
2015-03-12 17:55:42 +00:00
|
|
|
|
(define-public perl-plack-middleware-reverseproxy
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-plack-middleware-reverseproxy")
|
2019-03-23 16:12:30 +00:00
|
|
|
|
(version "0.16")
|
2015-03-12 17:55:42 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
|
|
|
|
|
"Plack-Middleware-ReverseProxy-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2019-03-23 16:12:30 +00:00
|
|
|
|
(base32 "0a512n62pnk5ayj3zdzyj50iy1qi8nwh6ygks2h7nrh7gp9k2jc7"))))
|
2015-03-12 17:55:42 +00:00
|
|
|
|
(build-system perl-build-system)
|
2017-08-19 13:26:10 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-install" ,perl-module-install)))
|
2015-03-12 17:55:42 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-plack" ,perl-plack)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Plack-Middleware-ReverseProxy")
|
2015-03-12 17:55:42 +00:00
|
|
|
|
(synopsis "Supports app to run as a reverse proxy backend")
|
|
|
|
|
(description "Plack::Middleware::ReverseProxy resets some HTTP headers,
|
|
|
|
|
which are changed by reverse-proxy. You can specify the reverse proxy address
|
gnu: Fix descriptions to not use quotes.
* gnu/packages/admin.scm (wpa-supplicant-minimal, mingetty, di),
* gnu/packages/audio.scm (fil-plugins),
* gnu/packages/base.scm (make-ld-wrapper, make-glibc-locales),
* gnu/packages/bioinformatics.scm (r-samtools),
* gnu/packages/chez.scm (chez-mit),
* gnu/packages/commencement.scm (make-gcc-toolchain),
* gnu/packages/compression.scm (fastjar),
* gnu/packages/cran.scm (r-maps, r-rcpp),
* gnu/packages/databases.scm (sparql-query),
* gnu/packages/dunst.scm (dunst),
* gnu/packages/ftp.scm (ncftp),
* gnu/packages/gl.scm (freeglut),
* gnu/packages/haskell-check.scm (ghc-tasty-golden),
* gnu/packages/haskell.scm (ghc-case-insensitive, ghc-text,
ghc-haskell-src, ghc-syb, ghc-deepseq-generics, ghc-network-uri,
ghc-rerebase, ghc-zlib),
* gnu/packages/image.scm (jbig2dec),
* gnu/packages/kde-frameworks.scm (kinit, karchive),
* gnu/packages/linux.scm (wireless-tools, perf, module-init-tools, kbd),
* gnu/packages/lirc.scm (lirc),
* gnu/packages/lisp.scm (uglify-js),
* gnu/packages/mate.scm (mate-netbook),
* gnu/packages/microcom.scm (microcom),
* gnu/packages/music.scm (bristol),
* gnu/packages/networking.scm (perl-geo-ip),
* gnu/packages/patchutils.scm (patches),
* gnu/packages/perl-check.scm (perl-test-more-utf8),
* gnu/packages/perl.scm (perl-log-report-optional, perl-file-which,
perl-io-tty, perl-log-any, perl-digest-sha1, perl-class-load,
perl-regexp-common, perl-module-pluggable, perl-class-modifier),
* gnu/packages/python-xyz.scm (python-backports-abc, python-natsort),
* gnu/packages/samba.scm (iniparser),
* gnu/packages/search.scm (mlocate),
* gnu/packages/spice.scm (spice),
* gnu/packages/statistics.scm (r-dt, r-lubridate, r-estimability,
r-commonmark, r-digest, r-viridislite, r-stringr),
* gnu/packages/tex.scm (texlive-latex-changebar),
* gnu/packages/version-control.scm (subversion),
* gnu/packages/w3m.scm (w3m),
* gnu/packages/web.scm (perl-http-parser,
perl-plack-middleware-reverseproxy),
* gnu/packages/xorg.scm (xkeyboard-config, mkfontdir, xcursor-theme,
mkfontscale, xinit, font-alias)[description]: Use @code instead of quotes.
2019-03-31 13:39:43 +00:00
|
|
|
|
and stop fake requests using @code{enable_if} directive in your app.psgi.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-12 17:55:42 +00:00
|
|
|
|
|
2015-03-12 17:59:30 +00:00
|
|
|
|
(define-public perl-plack-test-externalserver
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-plack-test-externalserver")
|
2019-03-23 16:31:26 +00:00
|
|
|
|
(version "0.02")
|
2015-03-12 17:59:30 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-03-25 12:11:16 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
|
2015-03-12 17:59:30 +00:00
|
|
|
|
"Plack-Test-ExternalServer-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2019-03-23 16:31:26 +00:00
|
|
|
|
(base32 "1l1yj1l25679x7cbpd27ii7s1f1ajpkspif9xqnl21hczrbmrbsv"))))
|
2015-03-12 17:59:30 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-plack" ,perl-plack)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Plack-Test-ExternalServer")
|
2015-03-12 17:59:30 +00:00
|
|
|
|
(synopsis "Run HTTP tests on external live servers")
|
|
|
|
|
(description "This module allows your to run your Plack::Test tests
|
|
|
|
|
against an external server instead of just against a local application through
|
|
|
|
|
either mocked HTTP or a locally spawned server.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-12 17:59:30 +00:00
|
|
|
|
|
2015-03-11 18:39:00 +00:00
|
|
|
|
(define-public perl-test-tcp
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-test-tcp")
|
2020-10-01 19:47:00 +00:00
|
|
|
|
(version "2.22")
|
2015-03-11 18:39:00 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-10-01 19:47:00 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
|
2015-03-11 18:39:00 +00:00
|
|
|
|
"Test-TCP-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-10-01 19:47:00 +00:00
|
|
|
|
(base32 "0mvv9rqwrwlcfh8qrs0s47p85rhlnw15d4gbpyi802bddp0c6lry"))))
|
2015-03-11 18:39:00 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-test-sharedfork" ,perl-test-sharedfork)))
|
|
|
|
|
(arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Test-TCP")
|
2015-03-11 18:39:00 +00:00
|
|
|
|
(synopsis "Testing TCP programs")
|
|
|
|
|
(description "Test::TCP is test utilities for TCP/IP programs.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-11 18:39:00 +00:00
|
|
|
|
|
2015-03-17 19:33:16 +00:00
|
|
|
|
(define-public perl-test-www-mechanize
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-test-www-mechanize")
|
2019-03-23 16:19:39 +00:00
|
|
|
|
(version "1.52")
|
2015-03-17 19:33:16 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
|
|
|
|
|
"Test-WWW-Mechanize-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2019-03-23 16:19:39 +00:00
|
|
|
|
(base32 "1jsywlbxhqw39ij7s8vmgff5vys58vlfaq27072awacnxc65aal4"))))
|
2015-03-17 19:33:16 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-carp-assert-more" ,perl-carp-assert-more)
|
|
|
|
|
("perl-html-form" ,perl-html-form)
|
|
|
|
|
("perl-html-lint" ,perl-html-lint)
|
|
|
|
|
("perl-http-server-simple" ,perl-http-server-simple)
|
|
|
|
|
("perl-libwww" ,perl-libwww)
|
|
|
|
|
("perl-test-longstring" ,perl-test-longstring)
|
|
|
|
|
("perl-www-mechanize" ,perl-www-mechanize)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Test-WWW-Mechanize")
|
2015-03-17 19:33:16 +00:00
|
|
|
|
(synopsis "Testing-specific WWW::Mechanize subclass")
|
|
|
|
|
(description "Test::WWW::Mechanize is a subclass of the Perl module
|
|
|
|
|
WWW::Mechanize that incorporates features for web application testing.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:artistic2.0)))
|
2015-03-17 19:33:16 +00:00
|
|
|
|
|
2015-04-03 19:19:05 +00:00
|
|
|
|
(define-public perl-test-www-mechanize-catalyst
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-test-www-mechanize-catalyst")
|
2019-02-19 10:49:39 +00:00
|
|
|
|
(version "0.62")
|
2015-04-03 19:19:05 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-02-19 10:49:39 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
|
2015-04-03 19:19:05 +00:00
|
|
|
|
"Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2019-02-19 10:49:39 +00:00
|
|
|
|
(base32 "1cdc2q16vs6fb335pzaislz2rx1ph9acaxyp7v5hv9xbwwddwfqq"))))
|
2015-04-03 19:19:05 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
|
|
|
|
|
("perl-catalyst-plugin-session-state-cookie"
|
|
|
|
|
,perl-catalyst-plugin-session-state-cookie)
|
gnu: perl: Add more missing dependencies on Module::Install.
* gnu/packages/databases.scm (perl-dbix-class, perl-dbix-class-cursor-cached,
perl-dbix-class-introspectablem2m,
perl-dbix-class-schema-loader)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/web.scm (perl-catalyst-action-renderview,
perl-catalyst-action-rest, perl-catalyst-authentication-store-dbix-class,
perl-catalyst-component-instancepercontext, perl-catalyst-model-dbic-schema,
perl-catalyst-plugin-authentication,
perl-catalyst-plugin-authorization-roles, perl-catalyst-plugin-configloader,
perl-catalyst-plugin-session, perl-catalyst-plugin-session-state-cookie,
perl-catalyst-plugin-stacktrace, perl-catalyst-plugin-static-simple,
perl-catalyst-traitfor-request-proxybase, perl-catalyst-view-download,
perl-catalyst-view-json, perl-catalystx-script-server-starman,
perl-test-www-mechanize, perl-test-www-mechanize-catalyst)[native-inputs]:
Likewise.
* gnu/packages/xorg.scm (perl-x11-xcb)[native-inputs]: Likewise.
2017-08-25 20:18:58 +00:00
|
|
|
|
("perl-module-install" ,perl-module-install)
|
2015-04-03 19:19:05 +00:00
|
|
|
|
("perl-test-exception" ,perl-test-exception)
|
|
|
|
|
("perl-test-pod" ,perl-test-pod)
|
|
|
|
|
("perl-test-utf8" ,perl-test-utf8)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-class-load" ,perl-class-load)
|
|
|
|
|
("perl-libwww" ,perl-libwww)
|
|
|
|
|
("perl-moose" ,perl-moose)
|
|
|
|
|
("perl-namespace-clean" ,perl-namespace-clean)
|
|
|
|
|
("perl-test-www-mechanize" ,perl-test-www-mechanize)
|
|
|
|
|
("perl-www-mechanize" ,perl-www-mechanize)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Test-WWW-Mechanize-Catalyst")
|
2015-04-03 19:19:05 +00:00
|
|
|
|
(synopsis "Test::WWW::Mechanize for Catalyst")
|
|
|
|
|
(description "The Test::WWW::Mechanize::Catalyst module meshes the
|
|
|
|
|
Test::WWW:Mechanize module and the Catalyst web application framework to allow
|
|
|
|
|
testing of Catalyst applications without needing to start up a web server.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-03 19:19:05 +00:00
|
|
|
|
|
2015-03-17 19:36:07 +00:00
|
|
|
|
(define-public perl-test-www-mechanize-psgi
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-test-www-mechanize-psgi")
|
2018-05-01 23:08:23 +00:00
|
|
|
|
(version "0.38")
|
2015-03-17 19:36:07 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2017-11-06 18:39:29 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
|
2015-03-17 19:36:07 +00:00
|
|
|
|
"Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-05-01 23:08:23 +00:00
|
|
|
|
"0fsh2i05kf1kfavv2r9kmnjl7qlyqrd11ikc0qcqzzxsqzzjkg9r"))))
|
2015-03-17 19:36:07 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-test-pod" ,perl-test-pod)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-plack" ,perl-plack)
|
|
|
|
|
("perl-test-www-mechanize" ,perl-test-www-mechanize)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/Test-WWW-Mechanize-PSGI")
|
2015-03-17 19:36:07 +00:00
|
|
|
|
(synopsis "Test PSGI programs using WWW::Mechanize")
|
|
|
|
|
(description "PSGI is a specification to decouple web server environments
|
|
|
|
|
from web application framework code. Test::WWW::Mechanize is a subclass of
|
|
|
|
|
WWW::Mechanize that incorporates features for web application testing. The
|
|
|
|
|
Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
|
|
|
|
|
applications.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-17 19:36:07 +00:00
|
|
|
|
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(define-public perl-uri
|
2013-12-09 21:23:47 +00:00
|
|
|
|
(package
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(name "perl-uri")
|
2019-06-25 18:11:37 +00:00
|
|
|
|
(version "1.76")
|
2013-12-09 21:23:47 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-06-25 18:11:37 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
|
2015-03-12 18:42:39 +00:00
|
|
|
|
"URI-" version ".tar.gz"))
|
2013-12-09 21:23:47 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-06-25 18:11:37 +00:00
|
|
|
|
"0gj1aj18k43kmzc3y1zhj5giinf8rksacf757r475xfna0fqxjdj"))))
|
2013-12-09 21:23:47 +00:00
|
|
|
|
(build-system perl-build-system)
|
2018-01-09 18:51:16 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
;; For tests.
|
|
|
|
|
`(("perl-test-needs" ,perl-test-needs)))
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
|
2013-12-09 21:23:47 +00:00
|
|
|
|
(description
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
"The URI module implements the URI class. Objects of this class
|
|
|
|
|
represent \"Uniform Resource Identifier references\" as specified in RFC 2396
|
|
|
|
|
and updated by RFC 2732.")
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/URI")))
|
2014-09-27 22:52:05 +00:00
|
|
|
|
|
2016-08-14 13:55:21 +00:00
|
|
|
|
(define-public perl-uri-fetch
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-uri-fetch")
|
|
|
|
|
(version "0.13")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
|
|
|
|
|
"URI-Fetch-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ; Tests require internet connection to succeed
|
|
|
|
|
(inputs
|
|
|
|
|
`(("perl-class-errorhandler" ,perl-class-errorhandler)
|
|
|
|
|
("perl-libwww" ,perl-libwww)
|
|
|
|
|
("perl-uri" ,perl-uri)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/URI-Fetch")
|
2016-08-14 13:55:21 +00:00
|
|
|
|
(synopsis "Smart URI fetching/caching")
|
|
|
|
|
(description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
|
|
|
|
|
notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
|
|
|
|
|
and time-saving way.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2016-08-14 13:55:21 +00:00
|
|
|
|
|
2015-03-17 18:28:53 +00:00
|
|
|
|
(define-public perl-uri-find
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-uri-find")
|
2017-10-28 23:11:20 +00:00
|
|
|
|
(version "20160806")
|
2015-03-17 18:28:53 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
|
|
|
|
|
"URI-Find-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-10-28 23:11:20 +00:00
|
|
|
|
"1mk3jv8x0mcq3ajrn9garnxd0jc7sw4pkwqi88r5apqvlljs84z2"))))
|
2015-03-17 18:28:53 +00:00
|
|
|
|
(build-system perl-build-system)
|
gnu: Add dependencies on Perl modules as needed.
This is a follow-on to bb8afbf5.
* gnu/packages/language.scm (perl-lingua-en-inflect, perl-lingua-stem)
(perl-snowball-norwegian, perl-snowball-swedish): Add 'native-inputs'
field.
* gnu/packages/perl.scm (perl-aliased, perl-class-accessor-chained)
(perl-datetime-set, perl-datetime-format-ical, perl-datetime-locale)
(perl-error, perl-module-runtime, perl-module-runtime-conflicts)
(perl-path-class, perl-posix-strftime-compiler, perl-readonly)
(perl-test-differences, perl-test-pod, perl-test-trap)
(perl-text-aligner, perl-text-glob, perl-text-table, perl-tie-ixhash)
(perl-time-mock): Ditto.
(perl-config-any): Add 'propagated-inputs' field.
(perl-data-page, perl-datetime, perl-datetime-format-natural)
(perl-moosex-getopt, perl-moosex-role-parameterized)
(perl-moosex-types, perl-namespace-autoclean, perl-params-validate)
(perl-tree-simple-visitorfactory)[native-inputs]: Add PERL-MODULE-BUILD.
(perl-file-changenotify)[native-inputs]: Ditto.
[propagated-inputs]: Add PERL-MODULE-PLUGGABLE.
(perl-datetime-format-flexible, perl-test-writevariants)
[propagated-inputs]: Ditto.
(perl-test-mockobject): Add 'arguments' field.
* gnu/packages/mail.scm (perl-email-abstract)[propagated-inputs]: Ditto.
* gnu/packages/web.scm (perl-datetime-format-http, perl-io-socket-ip)
(perl-plack-middleware-methodoverride, perl-uri-find)
(perl-www-mechanize): Add 'native-inputs' field.
(perl-html-template, perl-http-server-simple): Add 'propagated-inputs'
field.
(perl-apache-logformat-compiler, perl-html-tree)[native-inputs]:
Add PERL-MODULE-BUILD.
(perl-catalyst-runtime)[propagated-inputs]: Add PERL-MODULE-PLUGGABLE.
(perl-finance-quote)[propagated-inputs]: Add PERL-CGI.
2016-01-20 23:15:41 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-build" ,perl-module-build)))
|
2015-03-17 18:28:53 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-uri" ,perl-uri)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/URI-Find")
|
2015-03-17 18:28:53 +00:00
|
|
|
|
(synopsis "Find URIs in arbitrary text")
|
|
|
|
|
(description "This module finds URIs and URLs (according to what URI.pm
|
|
|
|
|
considers a URI) in plain text. It only finds URIs which include a
|
|
|
|
|
scheme (http:// or the like), for something a bit less strict, consider
|
|
|
|
|
URI::Find::Schemeless. For a command-line interface, urifind is provided.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-17 18:28:53 +00:00
|
|
|
|
|
2015-03-12 18:15:50 +00:00
|
|
|
|
(define-public perl-uri-ws
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-uri-ws")
|
|
|
|
|
(version "0.03")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
|
|
|
|
|
"URI-ws-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-uri" ,perl-uri)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/URI-ws")
|
2015-03-12 18:15:50 +00:00
|
|
|
|
(synopsis "WebSocket support for URI package")
|
|
|
|
|
(description "With this module, the URI package provides the same set of
|
|
|
|
|
methods for WebSocket URIs as it does for HTTP URIs.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-12 18:15:50 +00:00
|
|
|
|
|
2016-08-14 12:42:12 +00:00
|
|
|
|
(define-public perl-uri-template
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-uri-template")
|
2019-03-20 19:07:22 +00:00
|
|
|
|
(version "0.24")
|
2016-08-14 12:42:12 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-03-20 19:07:22 +00:00
|
|
|
|
"1phibcmam2hklrddzj79l43va1gcqpyszbw21ynxq53ynmhjvbk8"))))
|
2016-08-14 12:42:12 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("perl-uri" ,perl-uri)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-test-pod-coverage" ,perl-test-pod-coverage)
|
|
|
|
|
("perl-test-pod" ,perl-test-pod)
|
gnu: perl: Add missing dependencies on Module::Install.
Perl 5.26 and later does not provide this module.
* gnu/packages/databases.scm (perl-sql-abstract)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/perl.scm (perl-moosex-emulate-class-accessor-fast,
perl-file-zglob, perl-object-signature, perl-test-utf8, perl-time-duration,
perl-benchmark-timer, perl-class-accessor-grouped,
perl-class-c3-componentised, perl-term-encoding)[native-inputs]: Likewise.
* gnu/packages/web.scm (perl-http-parser-xs, perl-uri-template,
perl-www-curl)[native-inputs]: Likewise.
* gnu/packages/xml.scm (perl-xml-atom)[native-inputs]: Likewise.
2017-07-30 12:14:52 +00:00
|
|
|
|
("perl-module-install" ,perl-module-install)
|
2016-08-14 12:42:12 +00:00
|
|
|
|
("perl-json" ,perl-json)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/URI-Template")
|
2016-08-14 12:42:12 +00:00
|
|
|
|
(synopsis "Object for handling URI templates")
|
|
|
|
|
(description "This perl module provides a wrapper around URI templates as described in
|
|
|
|
|
RFC 6570.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2016-08-14 12:42:12 +00:00
|
|
|
|
|
2014-09-27 22:52:05 +00:00
|
|
|
|
(define-public perl-www-curl
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-www-curl")
|
|
|
|
|
(version "4.17")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
|
|
|
|
|
version".tar.gz"))
|
2020-11-14 14:47:00 +00:00
|
|
|
|
(patches (search-patches "perl-www-curl-fix-struct-void.patch"
|
|
|
|
|
"perl-www-curl-remove-symbol.patch"))
|
2014-09-27 22:52:05 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(arguments
|
2017-08-04 22:11:41 +00:00
|
|
|
|
'(#:tests? #f ;XXX: tests require network access
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'set-search-path
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Work around "dotless @INC" build failure.
|
|
|
|
|
(setenv "PERL5LIB"
|
|
|
|
|
(string-append (getcwd) ":"
|
|
|
|
|
(getenv "PERL5LIB")))
|
|
|
|
|
#t)))))
|
gnu: perl: Add missing dependencies on Module::Install.
Perl 5.26 and later does not provide this module.
* gnu/packages/databases.scm (perl-sql-abstract)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/perl.scm (perl-moosex-emulate-class-accessor-fast,
perl-file-zglob, perl-object-signature, perl-test-utf8, perl-time-duration,
perl-benchmark-timer, perl-class-accessor-grouped,
perl-class-c3-componentised, perl-term-encoding)[native-inputs]: Likewise.
* gnu/packages/web.scm (perl-http-parser-xs, perl-uri-template,
perl-www-curl)[native-inputs]: Likewise.
* gnu/packages/xml.scm (perl-xml-atom)[native-inputs]: Likewise.
2017-07-30 12:14:52 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-install" ,perl-module-install)))
|
2014-09-27 22:52:05 +00:00
|
|
|
|
(inputs `(("curl" ,curl)))
|
|
|
|
|
(synopsis "Perl extension interface for libcurl")
|
|
|
|
|
(description
|
|
|
|
|
"This is a Perl extension interface for the libcurl file downloading
|
|
|
|
|
library.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/WWW-Curl")))
|
2014-10-29 17:52:38 +00:00
|
|
|
|
|
2015-03-17 19:32:19 +00:00
|
|
|
|
(define-public perl-www-mechanize
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-www-mechanize")
|
2019-03-23 15:50:16 +00:00
|
|
|
|
(version "1.91")
|
2015-03-17 19:32:19 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2017-08-19 18:51:24 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
|
2015-03-17 19:32:19 +00:00
|
|
|
|
"WWW-Mechanize-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2019-03-23 15:50:16 +00:00
|
|
|
|
(base32 "0cb14m1vhaf0mgn2fqwi5hm72xhfi77hpq2g57swgy0w83x7m27b"))))
|
2015-03-17 19:32:19 +00:00
|
|
|
|
(build-system perl-build-system)
|
gnu: Add dependencies on Perl modules as needed.
This is a follow-on to bb8afbf5.
* gnu/packages/language.scm (perl-lingua-en-inflect, perl-lingua-stem)
(perl-snowball-norwegian, perl-snowball-swedish): Add 'native-inputs'
field.
* gnu/packages/perl.scm (perl-aliased, perl-class-accessor-chained)
(perl-datetime-set, perl-datetime-format-ical, perl-datetime-locale)
(perl-error, perl-module-runtime, perl-module-runtime-conflicts)
(perl-path-class, perl-posix-strftime-compiler, perl-readonly)
(perl-test-differences, perl-test-pod, perl-test-trap)
(perl-text-aligner, perl-text-glob, perl-text-table, perl-tie-ixhash)
(perl-time-mock): Ditto.
(perl-config-any): Add 'propagated-inputs' field.
(perl-data-page, perl-datetime, perl-datetime-format-natural)
(perl-moosex-getopt, perl-moosex-role-parameterized)
(perl-moosex-types, perl-namespace-autoclean, perl-params-validate)
(perl-tree-simple-visitorfactory)[native-inputs]: Add PERL-MODULE-BUILD.
(perl-file-changenotify)[native-inputs]: Ditto.
[propagated-inputs]: Add PERL-MODULE-PLUGGABLE.
(perl-datetime-format-flexible, perl-test-writevariants)
[propagated-inputs]: Ditto.
(perl-test-mockobject): Add 'arguments' field.
* gnu/packages/mail.scm (perl-email-abstract)[propagated-inputs]: Ditto.
* gnu/packages/web.scm (perl-datetime-format-http, perl-io-socket-ip)
(perl-plack-middleware-methodoverride, perl-uri-find)
(perl-www-mechanize): Add 'native-inputs' field.
(perl-html-template, perl-http-server-simple): Add 'propagated-inputs'
field.
(perl-apache-logformat-compiler, perl-html-tree)[native-inputs]:
Add PERL-MODULE-BUILD.
(perl-catalyst-runtime)[propagated-inputs]: Add PERL-MODULE-PLUGGABLE.
(perl-finance-quote)[propagated-inputs]: Add PERL-CGI.
2016-01-20 23:15:41 +00:00
|
|
|
|
(native-inputs ;only for tests
|
2017-08-19 14:27:33 +00:00
|
|
|
|
`(("perl-cgi" ,perl-cgi)
|
|
|
|
|
("perl-test-deep" ,perl-test-deep)
|
|
|
|
|
("perl-test-fatal" ,perl-test-fatal)
|
|
|
|
|
("perl-test-output" ,perl-test-output)
|
|
|
|
|
("perl-test-warnings" ,perl-test-warnings)))
|
2015-03-17 19:32:19 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-html-form" ,perl-html-form)
|
|
|
|
|
("perl-html-parser" ,perl-html-parser)
|
2017-08-19 14:27:33 +00:00
|
|
|
|
("perl-html-tree" ,perl-html-tree)
|
2015-03-17 19:32:19 +00:00
|
|
|
|
("perl-http-message" ,perl-http-message)
|
|
|
|
|
("perl-http-server-simple" ,perl-http-server-simple)
|
|
|
|
|
("perl-libwww" ,perl-libwww)
|
|
|
|
|
("perl-test-warn" ,perl-test-warn)
|
|
|
|
|
("perl-uri" ,perl-uri)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/WWW-Mechanize")
|
2015-03-17 19:32:19 +00:00
|
|
|
|
(synopsis "Web browsing in a Perl object")
|
|
|
|
|
(description "WWW::Mechanize is a Perl module for stateful programmatic
|
|
|
|
|
web browsing, used for automating interaction with websites.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-17 19:32:19 +00:00
|
|
|
|
|
2016-08-14 15:54:07 +00:00
|
|
|
|
(define-public perl-www-opensearch
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-www-opensearch")
|
|
|
|
|
(version "0.17")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
|
|
|
|
|
"WWW-OpenSearch-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
|
|
|
|
|
(build-system perl-build-system)
|
2017-08-27 12:57:17 +00:00
|
|
|
|
(native-inputs
|
2017-09-02 10:32:51 +00:00
|
|
|
|
`(("perl-class-errorhandler" ,perl-class-errorhandler)
|
|
|
|
|
("perl-datetime" ,perl-datetime)
|
|
|
|
|
("perl-datetime-format-mail" ,perl-datetime-format-mail)
|
|
|
|
|
("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
|
|
|
|
|
("perl-feed-find" ,perl-feed-find)
|
|
|
|
|
("perl-module-install" ,perl-module-install)
|
|
|
|
|
("perl-module-pluggable" ,perl-module-pluggable)
|
|
|
|
|
("perl-uri-fetch" ,perl-uri-fetch)
|
|
|
|
|
("perl-test-simple" ,perl-test-simple)
|
|
|
|
|
("perl-xml-atom" ,perl-xml-atom)
|
|
|
|
|
("perl-xml-rss" ,perl-xml-rss)))
|
2016-08-14 15:54:07 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("perl-data-page" ,perl-data-page)
|
|
|
|
|
("perl-libwww" ,perl-libwww)
|
|
|
|
|
("perl-uri" ,perl-uri)
|
|
|
|
|
("perl-uri-template" ,perl-uri-template)
|
|
|
|
|
("perl-xml-feed" ,perl-xml-feed)
|
|
|
|
|
("perl-xml-libxml" ,perl-xml-libxml)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/WWW-OpenSearch")
|
2016-08-14 15:54:07 +00:00
|
|
|
|
(synopsis "Search A9 OpenSearch compatible engines")
|
|
|
|
|
(description
|
|
|
|
|
"@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
|
|
|
|
|
http://opensearch.a9.com} compatible search engines.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)))
|
2016-08-14 15:54:07 +00:00
|
|
|
|
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(define-public perl-www-robotrules
|
2014-10-29 17:52:38 +00:00
|
|
|
|
(package
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(name "perl-www-robotrules")
|
|
|
|
|
(version "6.02")
|
2014-10-29 17:52:38 +00:00
|
|
|
|
(source (origin
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
|
2014-10-29 17:52:38 +00:00
|
|
|
|
(build-system perl-build-system)
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-uri" ,perl-uri)))
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:perl-license)
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
(synopsis "Perl database of robots.txt-derived permissions")
|
2015-02-20 16:35:09 +00:00
|
|
|
|
(description
|
gnu: Group and alphabetize perl module packages.
* gnu/packages/web.scm (perl-encode-locale, perl-file-listing,
perl-html-parser, perl-html-tagset, perl-http-cookies, perl-http-daemon,
perl-http-date, perl-http-message, perl-http-negotiate, perl-io-html,
perl-io-socket-ssl, perl-libwww, perl-lwp-mediatypes, perl-net-http,
perl-uri, perl-www-curl, perl-www-robotrules): Group and alphabetize.
2015-03-09 18:48:43 +00:00
|
|
|
|
"The WWW::RobotRules module parses /robots.txt files as specified in
|
|
|
|
|
\"A Standard for Robot Exclusion\", at
|
|
|
|
|
<http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
|
|
|
|
|
/robots.txt file to forbid conforming robots from accessing parts of
|
|
|
|
|
their web site.")
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/WWW-RobotRules")))
|
2015-09-21 09:20:32 +00:00
|
|
|
|
|
2016-09-18 13:58:25 +00:00
|
|
|
|
(define-public python-feedparser
|
|
|
|
|
(package
|
|
|
|
|
(name "python-feedparser")
|
2021-02-25 09:47:02 +00:00
|
|
|
|
(version "6.0.2")
|
2016-09-18 13:58:25 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2021-02-25 09:47:02 +00:00
|
|
|
|
(uri (pypi-uri "feedparser" version ".tar.gz"))
|
2016-09-18 13:58:25 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-02-25 09:47:02 +00:00
|
|
|
|
"0x0hm9brh3j71645pydvlkrwxaaca9dnwd7xahwjyjaz882s200v"))))
|
2016-09-18 13:58:25 +00:00
|
|
|
|
(build-system python-build-system)
|
2016-10-28 16:46:02 +00:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f))
|
2016-09-18 13:58:25 +00:00
|
|
|
|
(home-page
|
|
|
|
|
"https://github.com/kurtmckee/feedparser")
|
|
|
|
|
(synopsis "Parse feeds in Python")
|
|
|
|
|
(description
|
|
|
|
|
"Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
|
|
|
|
|
CDF, Atom 0.3, and Atom 1.0 feeds.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license (list license:bsd-2 ; source code
|
|
|
|
|
license:freebsd-doc)))) ; documentation
|
2016-09-18 13:58:25 +00:00
|
|
|
|
|
|
|
|
|
(define-public python2-feedparser
|
2021-04-10 04:33:06 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "python2-feedparser")
|
|
|
|
|
(version "5.2.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "feedparser" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:python ,python-2))
|
|
|
|
|
(home-page
|
|
|
|
|
"https://github.com/kurtmckee/feedparser")
|
|
|
|
|
(synopsis "Parse feeds in Python")
|
|
|
|
|
(description
|
|
|
|
|
"Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
|
|
|
|
|
CDF, Atom 0.3, and Atom 1.0 feeds.")
|
|
|
|
|
(license (list license:bsd-2 ; source code
|
|
|
|
|
license:freebsd-doc)))) ; documentation
|
2016-09-18 13:58:25 +00:00
|
|
|
|
|
2019-09-15 18:16:06 +00:00
|
|
|
|
(define-public guix-data-service
|
2021-04-09 10:30:08 +00:00
|
|
|
|
(let ((commit "df2a0a73f1f35ea53ba6c07a6ad4c5347ba12b8f")
|
|
|
|
|
(revision "27"))
|
2019-09-15 18:16:06 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "guix-data-service")
|
|
|
|
|
(version (string-append "0.0.1-" revision "." (string-take commit 7)))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2021-02-06 18:53:05 +00:00
|
|
|
|
(url "https://git.savannah.gnu.org/git/guix/data-service.git/")
|
2019-09-15 18:16:06 +00:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-04-09 10:30:08 +00:00
|
|
|
|
"1ss1prr98zdjkm97w24rd04lfnnvcw6xs0gwxqgd40briqisaa5g"))))
|
2019-09-15 18:16:06 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-10-21 17:32:11 +00:00
|
|
|
|
'(#:modules ((guix build utils)
|
2019-09-15 18:16:06 +00:00
|
|
|
|
(guix build gnu-build-system)
|
2020-03-20 21:11:04 +00:00
|
|
|
|
(ice-9 ftw)
|
|
|
|
|
(ice-9 match)
|
2019-09-15 18:16:06 +00:00
|
|
|
|
(ice-9 rdelim)
|
|
|
|
|
(ice-9 popen))
|
2019-10-21 17:32:11 +00:00
|
|
|
|
#:test-target "check-with-tmp-database"
|
2019-09-15 18:16:06 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'set-GUILE_AUTO_COMPILE
|
|
|
|
|
(lambda _
|
2020-08-26 09:59:23 +00:00
|
|
|
|
;; To avoid warnings relating to 'guild'.
|
2019-09-15 18:16:06 +00:00
|
|
|
|
(setenv "GUILE_AUTO_COMPILE" "0")
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'wrap-executable
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(guile (assoc-ref inputs "guile"))
|
|
|
|
|
(guile-effective-version
|
|
|
|
|
(read-line
|
|
|
|
|
(open-pipe* OPEN_READ
|
|
|
|
|
(string-append guile "/bin/guile")
|
|
|
|
|
"-c" "(display (effective-version))")))
|
|
|
|
|
(scm (string-append out "/share/guile/site/"
|
|
|
|
|
guile-effective-version))
|
|
|
|
|
(go (string-append out "/lib/guile/"
|
|
|
|
|
guile-effective-version
|
|
|
|
|
"/site-ccache")))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (file)
|
2020-03-20 21:11:04 +00:00
|
|
|
|
(simple-format (current-error-port)
|
|
|
|
|
"wrapping: ~A\n"
|
|
|
|
|
(string-append bin "/" file))
|
2019-09-15 18:16:06 +00:00
|
|
|
|
(wrap-program (string-append bin "/" file)
|
|
|
|
|
`("PATH" ":" prefix
|
2020-03-20 21:11:04 +00:00
|
|
|
|
,(cons*
|
|
|
|
|
bin
|
|
|
|
|
(map (lambda (input)
|
|
|
|
|
(string-append
|
|
|
|
|
(assoc-ref inputs input)
|
|
|
|
|
"/bin"))
|
|
|
|
|
'("ephemeralpg"
|
|
|
|
|
"util-linux"
|
|
|
|
|
"postgresql"))))
|
2019-09-15 18:16:06 +00:00
|
|
|
|
`("GUILE_LOAD_PATH" ":" prefix
|
|
|
|
|
(,scm ,(getenv "GUILE_LOAD_PATH")))
|
|
|
|
|
`("GUILE_LOAD_COMPILED_PATH" ":" prefix
|
|
|
|
|
(,go ,(getenv "GUILE_LOAD_COMPILED_PATH")))))
|
2020-03-20 21:11:04 +00:00
|
|
|
|
(scandir bin
|
|
|
|
|
(match-lambda
|
|
|
|
|
((or "." "..") #f)
|
|
|
|
|
(_ #t))))
|
2019-09-15 18:16:06 +00:00
|
|
|
|
#t)))
|
|
|
|
|
(delete 'strip)))) ; As the .go files aren't compatible
|
|
|
|
|
(inputs
|
2021-03-26 10:12:24 +00:00
|
|
|
|
`(("guix" ,guix)
|
|
|
|
|
("guile-fibers" ,guile-fibers)
|
|
|
|
|
("guile-json" ,guile-json-4)
|
|
|
|
|
("guile-email" ,guile-email)
|
2020-09-07 07:13:53 +00:00
|
|
|
|
("guile-prometheus" ,guile-prometheus)
|
2021-03-26 10:12:24 +00:00
|
|
|
|
("guile-squee" ,guile-squee)
|
2020-03-20 21:11:04 +00:00
|
|
|
|
("ephemeralpg" ,ephemeralpg)
|
|
|
|
|
("util-linux" ,util-linux)
|
2021-03-26 10:12:24 +00:00
|
|
|
|
("postgresql" ,postgresql-13)
|
2019-09-15 18:16:06 +00:00
|
|
|
|
("sqitch" ,sqitch)))
|
|
|
|
|
(native-inputs
|
2020-08-26 09:55:11 +00:00
|
|
|
|
`(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
|
2019-09-15 18:16:06 +00:00
|
|
|
|
("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
2019-11-21 19:45:44 +00:00
|
|
|
|
("emacs-minimal" ,emacs-minimal)
|
|
|
|
|
("emacs-htmlize" ,emacs-htmlize)
|
2019-09-15 18:16:06 +00:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(synopsis "Store and provide data about GNU Guix")
|
|
|
|
|
(description
|
|
|
|
|
"The Guix Data Service stores data about GNU Guix, and provides this
|
|
|
|
|
through a web interface. It supports listening to the guix-commits mailing
|
|
|
|
|
list to find out about new revisions, then loads the data from these in to a
|
|
|
|
|
PostgreSQL database.")
|
2021-02-06 18:53:05 +00:00
|
|
|
|
(home-page "https://data.guix.gnu.org/")
|
2019-09-15 18:16:06 +00:00
|
|
|
|
(license license:agpl3+))))
|
|
|
|
|
|
2015-11-25 14:56:56 +00:00
|
|
|
|
(define-public gumbo-parser
|
|
|
|
|
(package
|
|
|
|
|
(name "gumbo-parser")
|
|
|
|
|
(version "0.10.1")
|
|
|
|
|
(source (origin
|
2019-12-24 16:18:57 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/google/gumbo-parser")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2015-11-25 14:56:56 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-12-24 16:18:57 +00:00
|
|
|
|
"0xslckwdh2i0g2qjsb6rnm8mjmbagvziz0hjlf7d1lbljfms1iw1"))))
|
2015-11-25 14:56:56 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2018-03-11 20:46:30 +00:00
|
|
|
|
`(#:tests? #f)) ;tests require bundling googletest sources
|
2015-11-25 14:56:56 +00:00
|
|
|
|
;; The release tarball lacks the generated files.
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)))
|
|
|
|
|
(home-page "https://github.com/google/gumbo-parser")
|
|
|
|
|
(synopsis "HTML5 parsing library")
|
|
|
|
|
(description
|
|
|
|
|
"Gumbo is an implementation of the HTML5 parsing algorithm implemented as
|
|
|
|
|
a pure C99 library.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:asl2.0)))
|
2016-03-28 12:25:24 +00:00
|
|
|
|
|
|
|
|
|
(define-public uwsgi
|
|
|
|
|
(package
|
|
|
|
|
(name "uwsgi")
|
2019-02-19 10:03:19 +00:00
|
|
|
|
(version "2.0.18")
|
2016-03-28 12:25:24 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2018-03-19 22:55:50 +00:00
|
|
|
|
(uri (string-append "https://projects.unbit.it/downloads/uwsgi-"
|
2016-03-28 12:25:24 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-19 10:03:19 +00:00
|
|
|
|
"10zmk4npknigmbqcq1wmhd461dk93159px172112vyq0i19sqwj9"))))
|
2016-03-28 12:25:24 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(outputs '("out" "python"))
|
|
|
|
|
(arguments
|
|
|
|
|
'(;; XXX: The 'check' target runs cppcheck to do static code analysis.
|
|
|
|
|
;; But there is no obvious way to run the real tests.
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
;; Configuration is done by writing an ini file.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bindir (string-append out "/bin"))
|
|
|
|
|
(plugindir (string-append out "/lib/uwsgi")))
|
|
|
|
|
;; The build phase outputs files to these directories directly.
|
|
|
|
|
(mkdir-p bindir)
|
|
|
|
|
(mkdir-p plugindir)
|
|
|
|
|
;; XXX: Enable other plugins.
|
|
|
|
|
(call-with-output-file "buildconf/guix.ini"
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(format port "[uwsgi]
|
|
|
|
|
yaml = libyaml
|
|
|
|
|
bin_name = ~a/uwsgi
|
|
|
|
|
plugin_dir = ~a
|
|
|
|
|
|
|
|
|
|
inherit = base
|
|
|
|
|
plugins = cgi,python
|
|
|
|
|
embedded_plugins =
|
|
|
|
|
" bindir plugindir))))
|
|
|
|
|
(setenv "PROFILE" "guix")
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'install
|
|
|
|
|
;; Move plugins into their own output.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(plugindir (string-append out "/lib/uwsgi"))
|
|
|
|
|
(python-plugin (string-append
|
|
|
|
|
plugindir "/python_plugin.so")))
|
|
|
|
|
(install-file python-plugin
|
|
|
|
|
(string-append
|
|
|
|
|
(assoc-ref outputs "python") "/lib/uwsgi"))
|
|
|
|
|
(delete-file python-plugin)
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python-wrapper)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("jansson" ,jansson)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("libyaml" ,libyaml)
|
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("pcre" ,pcre)
|
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
;; For plugins.
|
|
|
|
|
("python" ,python)))
|
|
|
|
|
(home-page "https://uwsgi-docs.readthedocs.org/")
|
|
|
|
|
(synopsis "Application container server")
|
|
|
|
|
(description
|
|
|
|
|
"uWSGI presents a complete stack for networked/clustered web applications,
|
|
|
|
|
implementing message/object passing, caching, RPC and process management.
|
|
|
|
|
It uses the uwsgi protocol for all the networking/interprocess communications.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:gpl2+))) ; with linking exception
|
2016-03-26 21:49:42 +00:00
|
|
|
|
|
|
|
|
|
(define-public jq
|
|
|
|
|
(package
|
|
|
|
|
(name "jq")
|
2018-11-06 14:13:16 +00:00
|
|
|
|
(version "1.6")
|
2019-05-17 00:43:15 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/stedolan/jq"
|
|
|
|
|
"/releases/download/jq-" version
|
|
|
|
|
"/jq-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0wmapfskhzfwranf6515nzmm84r7kwljgfs7dg6bjgxakbicis2x"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Remove bundled onigurama.
|
|
|
|
|
(delete-file-recursively "modules")
|
|
|
|
|
#t))))
|
2016-03-26 21:49:42 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("oniguruma" ,oniguruma)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(;; TODO fix gems to generate documentation
|
|
|
|
|
;;("ruby" ,ruby)
|
|
|
|
|
;;("bundler" ,bundler)
|
|
|
|
|
("valgrind" ,valgrind)))
|
|
|
|
|
(build-system gnu-build-system)
|
2020-01-18 20:59:22 +00:00
|
|
|
|
(home-page "https://stedolan.github.io/jq/")
|
2016-03-26 21:49:42 +00:00
|
|
|
|
(synopsis "Command-line JSON processor")
|
|
|
|
|
(description "jq is like sed for JSON data – you can use it to slice and
|
|
|
|
|
filter and map and transform structured data with the same ease that sed, awk,
|
|
|
|
|
grep and friends let you play with text. It is written in portable C. jq can
|
|
|
|
|
mangle the data format that you have into the one that you want with very
|
|
|
|
|
little effort, and the program to do so is often shorter and simpler than
|
|
|
|
|
you'd expect.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license (list license:expat license:cc-by3.0))))
|
2016-04-14 14:52:51 +00:00
|
|
|
|
|
2021-02-15 19:54:42 +00:00
|
|
|
|
(define-public pup
|
|
|
|
|
(let ((revision "1")
|
|
|
|
|
(commit "681d7bb639334bf485476f5872c5bdab10931f9a"))
|
|
|
|
|
(package
|
|
|
|
|
(name "pup")
|
|
|
|
|
(version (git-version "0.4.0" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/ericchiang/pup")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1hx1k0qlc1bq6gg5d4yprn4d7kvqzagg6mi5mvb39zdq6c4y17vr"))))
|
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:import-path "github.com/ericchiang/pup"))
|
|
|
|
|
(home-page "https://github.com/ericchiang/pup")
|
|
|
|
|
(synopsis "Parse HTML at the command line")
|
|
|
|
|
(description
|
|
|
|
|
"@command{pup} is a command line tool for processing HTML. It reads
|
|
|
|
|
from stdin, prints to stdout, and allows the user to filter parts of the page
|
|
|
|
|
using CSS selectors. Inspired by @command{jq}, @command{pup} aims to be a
|
|
|
|
|
fast and flexible way of exploring HTML from the terminal.")
|
|
|
|
|
(license license:expat))))
|
|
|
|
|
|
2016-04-14 14:52:51 +00:00
|
|
|
|
(define-public uhttpmock
|
|
|
|
|
(package
|
|
|
|
|
(name "uhttpmock")
|
2020-08-11 20:47:07 +00:00
|
|
|
|
(version "0.5.3")
|
2016-04-14 14:52:51 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-08-11 20:46:36 +00:00
|
|
|
|
(uri (string-append "https://tecnocode.co.uk/downloads/uhttpmock/"
|
2020-05-21 02:00:06 +00:00
|
|
|
|
"uhttpmock-" version ".tar.xz"))
|
2016-04-14 14:52:51 +00:00
|
|
|
|
(sha256
|
2020-08-11 20:47:07 +00:00
|
|
|
|
(base32 "0bqizz69hxk8rn4z57asz1d45vizl1rj6i5k3rzxn2x3qcik514h"))))
|
2016-04-14 14:52:51 +00:00
|
|
|
|
(build-system glib-or-gtk-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gobject-introspection" ,gobject-introspection)
|
|
|
|
|
;; For check phase.
|
|
|
|
|
("glib-networking" ,glib-networking)
|
|
|
|
|
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libsoup" ,libsoup)))
|
|
|
|
|
(home-page "https://gitlab.com/groups/uhttpmock")
|
|
|
|
|
(synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
|
|
|
|
|
(description
|
|
|
|
|
"Uhttpmock is a project for mocking web service APIs which use HTTP or
|
|
|
|
|
HTTPS. It provides a library, libuhttpmock, which implements recording and
|
|
|
|
|
playback of HTTP request/response traces.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:lgpl2.1+)))
|
2016-06-08 22:22:14 +00:00
|
|
|
|
|
|
|
|
|
(define-public woof
|
|
|
|
|
(package
|
|
|
|
|
(name "woof")
|
|
|
|
|
(version "2012-05-31")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://www.home.unix-ag.org/simon/woof-"
|
|
|
|
|
version ".py"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(let* ((source (assoc-ref %build-inputs "source"))
|
|
|
|
|
(out (assoc-ref %outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(python (assoc-ref %build-inputs "python")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(with-directory-excursion bin
|
|
|
|
|
(copy-file source "woof")
|
|
|
|
|
(patch-shebang "woof" (list (string-append python "/bin")))
|
|
|
|
|
(chmod "woof" #o555))
|
|
|
|
|
#t))))
|
|
|
|
|
(inputs `(("python" ,python-2)))
|
|
|
|
|
(home-page "http://www.home.unix-ag.org/simon/woof.html")
|
|
|
|
|
(synopsis "Single file web server")
|
|
|
|
|
(description "Woof (Web Offer One File) is a small simple web server that
|
|
|
|
|
can easily be invoked on a single file. Your partner can access the file with
|
|
|
|
|
tools they trust (e.g. wget).")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:gpl2+)))
|
2016-07-07 05:55:41 +00:00
|
|
|
|
|
2017-02-12 03:21:50 +00:00
|
|
|
|
(define netsurf-buildsystem
|
|
|
|
|
(package
|
|
|
|
|
(name "netsurf-buildsystem")
|
2020-05-26 19:40:44 +00:00
|
|
|
|
(version "1.9")
|
2017-02-12 03:21:50 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(uri (string-append "https://download.netsurf-browser.org/libs/releases/"
|
2017-02-12 03:21:50 +00:00
|
|
|
|
"buildsystem-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-26 19:40:44 +00:00
|
|
|
|
"0alsmaig9ln8dgllb3z63gq90fiz75jz0ic71fi0k0k898qix14k"))))
|
2017-02-12 03:21:50 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("perl" ,perl)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:make-flags (list (string-append "PREFIX=" %output))
|
|
|
|
|
#:tests? #f ;no tests
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(delete 'build))))
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(home-page "https://www.netsurf-browser.org")
|
2017-02-12 03:21:50 +00:00
|
|
|
|
(synopsis "Build system for the Netsurf project")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides the shared build system for Netsurf project
|
|
|
|
|
libraries.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
2017-02-12 03:21:50 +00:00
|
|
|
|
|
|
|
|
|
(define netsurf-buildsystem-arguments
|
|
|
|
|
`(#:make-flags `("COMPONENT_TYPE=lib-shared"
|
|
|
|
|
"CC=gcc" "BUILD_CC=gcc"
|
|
|
|
|
,(string-append "PREFIX=" %output)
|
|
|
|
|
,(string-append "NSSHARED="
|
|
|
|
|
(assoc-ref %build-inputs
|
|
|
|
|
"netsurf-buildsystem")
|
|
|
|
|
"/share/netsurf-buildsystem"))
|
|
|
|
|
#:test-target "test"
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
|
|
|
|
|
(define-public libparserutils
|
|
|
|
|
(package
|
|
|
|
|
(name "libparserutils")
|
2018-08-29 18:59:35 +00:00
|
|
|
|
(version "0.2.4")
|
2017-02-12 03:21:50 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(uri (string-append "https://download.netsurf-browser.org/libs/releases/"
|
2017-02-12 03:21:50 +00:00
|
|
|
|
name "-" version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-08-29 18:59:35 +00:00
|
|
|
|
"1n2794y2l0c8nv8z2pxwfnbn882987ifmxjv60zdxkhcndhswarj"))))
|
2017-02-12 03:21:50 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("netsurf-buildsystem" ,netsurf-buildsystem)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("perl" ,perl))) ;for test harness
|
|
|
|
|
(arguments netsurf-buildsystem-arguments)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(home-page "https://www.netsurf-browser.org/projects/libparserutils/")
|
2017-02-12 03:21:50 +00:00
|
|
|
|
(synopsis "Parser building library")
|
|
|
|
|
(description
|
|
|
|
|
"LibParserUtils is a library for building efficient parsers, written in
|
|
|
|
|
C. It is developed as part of the NetSurf project.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
2017-02-12 03:21:50 +00:00
|
|
|
|
|
2017-02-12 03:23:52 +00:00
|
|
|
|
(define-public hubbub
|
|
|
|
|
(package
|
|
|
|
|
(name "hubbub")
|
2020-05-26 19:43:15 +00:00
|
|
|
|
(version "0.3.7")
|
2017-02-12 03:23:52 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(uri (string-append "https://download.netsurf-browser.org/libs/releases/"
|
2019-07-31 00:22:25 +00:00
|
|
|
|
"libhubbub-" version "-src.tar.gz"))
|
2017-02-12 03:23:52 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-26 19:43:15 +00:00
|
|
|
|
"1dimfyblmym98qa1b80c5jslv2zk8r44xbdrgrsrw1n9wr9y4yly"))
|
2017-02-12 03:23:52 +00:00
|
|
|
|
(patches (search-patches "hubbub-sort-entities.patch"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("netsurf-buildsystem" ,netsurf-buildsystem)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("doxygen" ,doxygen)
|
2018-01-03 22:23:38 +00:00
|
|
|
|
("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
|
2017-02-12 03:23:52 +00:00
|
|
|
|
("perl" ,perl)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("libparserutils" ,libparserutils))) ;for libhubbub.pc
|
|
|
|
|
(arguments netsurf-buildsystem-arguments)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(home-page "https://www.netsurf-browser.org/projects/hubbub/")
|
2017-02-12 03:23:52 +00:00
|
|
|
|
(synopsis "HTML5 compliant parsing library")
|
|
|
|
|
(description
|
|
|
|
|
"Hubbub is an HTML5 compliant parsing library, written in C, which can
|
|
|
|
|
parse both valid and invalid web content. It is developed as part of the
|
|
|
|
|
NetSurf project.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
2017-02-12 03:23:52 +00:00
|
|
|
|
|
2017-08-21 10:39:47 +00:00
|
|
|
|
(define-public ikiwiki
|
|
|
|
|
(package
|
|
|
|
|
(name "ikiwiki")
|
2020-04-28 20:32:56 +00:00
|
|
|
|
(version "3.20200202.3")
|
2017-08-21 10:39:47 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-04-24 12:07:07 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "git://git.ikiwiki.info/")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-08-21 10:39:47 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-04-28 20:32:56 +00:00
|
|
|
|
"0fphyqzlk9y8v9s89ypsmrnbhyymzrpc2w0liy0n4knc7kk2pabq"))
|
2020-04-24 12:07:07 +00:00
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; The POT file requires write permission during the build
|
|
|
|
|
;; phase.
|
|
|
|
|
(chmod "po/ikiwiki.pot" #o644)
|
|
|
|
|
#t))))
|
2017-08-21 10:39:47 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(arguments
|
2019-06-11 02:05:28 +00:00
|
|
|
|
`(#:phases
|
2017-08-21 10:39:47 +00:00
|
|
|
|
(modify-phases %standard-phases
|
2020-04-28 16:52:21 +00:00
|
|
|
|
(add-after 'patch-source-shebangs 'patch-Makefiles
|
2018-07-02 11:38:21 +00:00
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile.PL"
|
2020-04-28 16:52:21 +00:00
|
|
|
|
(("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
|
|
|
|
|
(with-directory-excursion "po"
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("PERL5LIB=") "PERL5LIB=${PERL5LIB}:")))
|
2018-07-02 11:38:21 +00:00
|
|
|
|
#t))
|
2020-04-24 12:07:07 +00:00
|
|
|
|
(add-before 'build 'set-modification-times
|
|
|
|
|
;; The wiki '--refresh' steps, which are executed during
|
|
|
|
|
;; the check phase, require recent timestamps on files in
|
|
|
|
|
;; the 'doc' and 'underlays' directories.
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "find" "doc" "underlays" "-type" "f" "-exec"
|
|
|
|
|
"touch" "{}" "+")
|
2018-07-02 11:38:21 +00:00
|
|
|
|
#t))
|
2020-05-21 12:10:08 +00:00
|
|
|
|
(add-before 'check 'pre-check
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2020-06-01 12:12:44 +00:00
|
|
|
|
;; Six tests use IPC::Run. For these tests the PERL5LIB
|
|
|
|
|
;; variable is needed in the runtime environment and also
|
|
|
|
|
;; in the search path list in the setup file.
|
|
|
|
|
(substitute*
|
|
|
|
|
'("t/aggregate-file.t" "t/git-cgi.t" "t/git-untrusted.t"
|
|
|
|
|
"t/passwordauth.t" "t/relativity.t" "t/wrapper-environ.t")
|
|
|
|
|
(("(.*)\"perl\"(.*)$" _ prefix suffix)
|
|
|
|
|
(string-append prefix "qw(env), 'PERL5LIB='.$ENV{PERL5LIB}"
|
|
|
|
|
", qw(perl)" suffix))
|
|
|
|
|
(("(.*) PERL5LIB=(.*) perl(.*)$" _ prefix middle suffix)
|
|
|
|
|
(string-append prefix "), 'PERL5LIB='.$ENV{PERL5LIB}.':"
|
|
|
|
|
middle "', qw(perl" suffix))
|
|
|
|
|
(("(.*)setup(.* )getcwd(.*)$" _ prefix middle suffix)
|
|
|
|
|
(string-append prefix "setup" middle
|
|
|
|
|
"$ENV{PERL5LIB}.':'.getcwd" suffix))
|
|
|
|
|
(("^ENV(.*): '(.*)$" _ middle suffix)
|
|
|
|
|
(string-append "ENV" middle
|
|
|
|
|
": '$ENV{PERL5LIB}:" suffix)))
|
|
|
|
|
;; XDG_DATA_DIRS is needed by the podcast.t test.
|
2020-05-21 12:10:08 +00:00
|
|
|
|
(setenv "XDG_DATA_DIRS"
|
|
|
|
|
(string-append (assoc-ref inputs "shared-mime-info")
|
|
|
|
|
"/share"))
|
2020-06-01 12:12:44 +00:00
|
|
|
|
;; CC is needed by IkiWiki/Wrapper.pm.
|
|
|
|
|
(setenv "CC" "gcc")
|
2020-05-21 12:10:08 +00:00
|
|
|
|
#t))
|
2017-08-21 10:39:47 +00:00
|
|
|
|
(add-after 'install 'wrap-programs
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin/"))
|
|
|
|
|
(path (getenv "PERL5LIB")))
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(wrap-program file
|
|
|
|
|
`("PERL5LIB" ":" prefix (,path))))
|
|
|
|
|
(find-files bin))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("which" ,which)
|
|
|
|
|
("gettext" ,gettext-minimal)
|
|
|
|
|
("subversion" ,subversion)
|
|
|
|
|
("git" ,git)
|
|
|
|
|
("bazaar" ,bazaar)
|
|
|
|
|
("cvs" ,cvs)
|
|
|
|
|
("mercurial" ,mercurial)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python" ,python-wrapper)
|
2020-04-28 15:13:55 +00:00
|
|
|
|
("perl-authen-passphrase" ,perl-authen-passphrase)
|
2017-08-21 10:39:47 +00:00
|
|
|
|
("perl-cgi-simple" ,perl-cgi-simple)
|
2018-06-08 11:52:20 +00:00
|
|
|
|
("perl-db-file" ,perl-db-file)
|
2020-04-28 15:13:55 +00:00
|
|
|
|
("perl-file-mimeinfo" ,perl-file-mimeinfo)
|
2020-04-24 19:46:15 +00:00
|
|
|
|
("perl-html-tagset" ,perl-html-tagset)
|
2018-06-08 11:52:20 +00:00
|
|
|
|
("perl-image-magick" ,perl-image-magick)
|
2020-06-01 12:12:44 +00:00
|
|
|
|
("perl-ipc-run" ,perl-ipc-run)
|
2020-05-14 12:35:33 +00:00
|
|
|
|
("perl-lwpx-paranoidagent" ,perl-lwpx-paranoidagent)
|
2020-05-21 12:10:08 +00:00
|
|
|
|
("perl-xml-feed" ,perl-xml-feed)
|
2020-04-27 10:07:23 +00:00
|
|
|
|
("perl-xml-sax" ,perl-xml-sax)
|
2020-04-28 16:52:21 +00:00
|
|
|
|
("perl-xml-twig" ,perl-xml-twig)
|
2021-01-04 14:14:46 +00:00
|
|
|
|
("perl-yaml-tiny" ,perl-yaml-tiny)
|
2020-04-28 16:52:21 +00:00
|
|
|
|
("po4a" ,po4a)))
|
2020-04-27 10:07:23 +00:00
|
|
|
|
(propagated-inputs
|
2020-05-28 14:53:43 +00:00
|
|
|
|
`(("perl-cgi-formbuilder" ,perl-cgi-formbuilder)
|
|
|
|
|
("perl-cgi-session" ,perl-cgi-session)
|
|
|
|
|
("perl-html-parser" ,perl-html-parser)
|
2017-08-21 10:39:47 +00:00
|
|
|
|
("perl-html-scrubber" ,perl-html-scrubber)
|
|
|
|
|
("perl-html-template" ,perl-html-template)
|
2018-06-08 11:52:20 +00:00
|
|
|
|
("perl-json" ,perl-json)
|
2020-05-28 14:53:43 +00:00
|
|
|
|
("perl-mail-sendmail" ,perl-mail-sendmail)
|
2018-06-08 11:52:20 +00:00
|
|
|
|
("perl-text-markdown-discount" ,perl-text-markdown-discount)
|
2020-05-28 14:53:43 +00:00
|
|
|
|
("perl-timedate" ,perl-timedate)
|
2018-06-08 11:52:20 +00:00
|
|
|
|
("perl-uri" ,perl-uri)
|
2020-05-28 14:53:43 +00:00
|
|
|
|
("perl-xml-simple" ,perl-xml-simple)
|
2017-08-21 10:39:47 +00:00
|
|
|
|
("perl-yaml-libyaml" ,perl-yaml-libyaml)))
|
|
|
|
|
(home-page "https://ikiwiki.info/")
|
|
|
|
|
(synopsis "Wiki compiler, capable of generating HTML")
|
|
|
|
|
(description
|
|
|
|
|
"Ikiwiki is a wiki compiler, capable of generating a static set of web
|
|
|
|
|
pages, but also incorporating dynamic features like a web based editor and
|
|
|
|
|
commenting.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:gpl2+)))
|
2017-08-21 10:39:47 +00:00
|
|
|
|
|
2017-02-12 03:24:49 +00:00
|
|
|
|
(define-public libwapcaplet
|
|
|
|
|
(package
|
|
|
|
|
(name "libwapcaplet")
|
2020-05-26 19:43:46 +00:00
|
|
|
|
(version "0.4.3")
|
2017-02-12 03:24:49 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(uri (string-append "https://download.netsurf-browser.org/libs/releases/"
|
2019-07-31 00:24:49 +00:00
|
|
|
|
"libwapcaplet-" version "-src.tar.gz"))
|
2017-02-12 03:24:49 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-26 19:43:46 +00:00
|
|
|
|
"0p0c2q9lsj4vs97aa7vjllfhw33zv3dpysdkjblzhib6dpfs2alv"))))
|
2017-02-12 03:24:49 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("netsurf-buildsystem" ,netsurf-buildsystem)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
2020-07-24 22:56:31 +00:00
|
|
|
|
("check" ,check-0.14))) ;for tests
|
2017-02-12 03:24:49 +00:00
|
|
|
|
(arguments netsurf-buildsystem-arguments)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(home-page "https://www.netsurf-browser.org/projects/libwapcaplet/")
|
2017-02-12 03:24:49 +00:00
|
|
|
|
(synopsis "String internment library")
|
|
|
|
|
(description
|
|
|
|
|
"LibWapcaplet provides a reference counted string internment system
|
|
|
|
|
designed to store small strings and allow rapid comparison of them. It is
|
|
|
|
|
developed as part of the Netsurf project.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
2017-02-12 03:24:49 +00:00
|
|
|
|
|
2017-02-12 03:25:31 +00:00
|
|
|
|
(define-public libcss
|
|
|
|
|
(package
|
|
|
|
|
(name "libcss")
|
2020-05-26 19:44:13 +00:00
|
|
|
|
(version "0.9.1")
|
2017-02-12 03:25:31 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(uri (string-append "https://download.netsurf-browser.org/libs/releases/"
|
2019-07-31 00:25:23 +00:00
|
|
|
|
"libcss-" version "-src.tar.gz"))
|
2017-02-12 03:25:31 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-26 19:44:13 +00:00
|
|
|
|
"1p66sdiiqm7w4jkq23hsf08khsnmq93hshh9f9m8sbirjdpf3p6j"))))
|
2017-02-12 03:25:31 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("netsurf-buildsystem" ,netsurf-buildsystem)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("perl" ,perl)))
|
|
|
|
|
(propagated-inputs ;needed for libcss.pc
|
|
|
|
|
`(("libparserutils" ,libparserutils)
|
|
|
|
|
("libwapcaplet" ,libwapcaplet)))
|
|
|
|
|
(arguments netsurf-buildsystem-arguments)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(home-page "https://www.netsurf-browser.org/projects/libcss/")
|
2017-02-12 03:25:31 +00:00
|
|
|
|
(synopsis "CSS parser and selection library")
|
|
|
|
|
(description
|
|
|
|
|
"LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
|
|
|
|
|
written in C. It is developed as part of the NetSurf project.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
2017-02-12 03:25:31 +00:00
|
|
|
|
|
2020-02-12 12:51:37 +00:00
|
|
|
|
(define-public libcyaml
|
|
|
|
|
(package
|
|
|
|
|
(name "libcyaml")
|
2020-06-27 14:26:02 +00:00
|
|
|
|
(version "1.1.0")
|
2020-02-12 12:51:37 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/tlsa/libcyaml")
|
2020-02-12 12:51:37 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2020-10-14 07:42:09 +00:00
|
|
|
|
(patches (search-patches "libcyaml-libyaml-compat.patch"))
|
2020-02-12 12:51:37 +00:00
|
|
|
|
(sha256
|
2020-06-27 14:26:02 +00:00
|
|
|
|
(base32 "0428p0rwq71nhh5nzcbapsbrjxa0x5l6h6ns32nxv7j624f0zd93"))))
|
2020-02-12 12:51:37 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
|
(string-append "CC=gcc"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "CC" "gcc")
|
|
|
|
|
(invoke "make" "test"))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libyaml" ,libyaml)))
|
|
|
|
|
(native-inputs
|
gnu: Fix package references.
* gnu/packages/algebra.scm (iml)[inputs]: Correctly refer to package
inputs.
* gnu/packages/astronomy.scm (xplanet),
* gnu/packages/audio.scm (redkite, libaudec, lv2lint, lv2toweb),
* gnu/packages/bioconductor.scm (r-cummerbund),
* gnu/packages/chicken.scm (chicken),
* gnu/packages/conky.scm (conky),
* gnu/packages/cran.scm (r-latex2exp),
* gnu/packages/crates-io.scm (rust-rgb),
* gnu/packages/databases.scm (mariadb),
* gnu/packages/diffoscope.scm (reprotest),
* gnu/packages/file-systems.scm (glusterfs),
* gnu/packages/finance.scm (electron-cash),
* gnu/packages/games.scm (rinutils, ksudoku, kdiamond, kigo),
* gnu/packages/geo.scm (grass),
* gnu/packages/gnome.scm (libmediaart, gnome-contacts, geoclue),
* gnu/packages/gnucash.scm (aqbanking),
* gnu/packages/image.scm (mtpaint),
* gnu/packages/kde-internet.scm (kopete, ktorrent),
* gnu/packages/kde-utils.scm (kmousetool, kmouth, kronometer),
* gnu/packages/linphone.scm (liblinphone),
* gnu/packages/maths.scm (ppl),
* gnu/packages/mercury.scm (mercury-minimal),
* gnu/packages/music.scm (bjumblr, bschaffl, lsp-plugins,
spectacle-analyzer, helm, tap-lv2, wolf-shaper, shiru-lv2),
* gnu/packages/networking.scm (restinio),
* gnu/packages/prolog.scm (swi-prolog),
* gnu/packages/python-web.scm (gunicorn),
* gnu/packages/python-xyz.scm (python-docusign-esign),
* gnu/packages/ruby.scm (ruby-cucumber, ruby_version, ruby-addressable),
* gnu/packages/sagemath.scm (python-cypari2),
* gnu/packages/skarnet.scm (s6-linux-init),
* gnu/packages/vpn.scm (sshuttle),
* gnu/packages/web.scm (libcyaml),
* gnu/packages/xdisorg.scm (kbdd),
* gnu/packages/xorg.scm (xpra): Same.
2020-09-30 05:57:27 +00:00
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2020-02-12 12:51:37 +00:00
|
|
|
|
(synopsis "C library for reading and writing YAML")
|
|
|
|
|
(description
|
|
|
|
|
"LibCYAML is a C library written in ISO C11 for reading and writing
|
|
|
|
|
structured YAML documents. The fundamental idea behind CYAML is to allow
|
|
|
|
|
applications to construct schemas which describe both the permissible
|
|
|
|
|
structure of the YAML documents to read/write, and the C data structure(s)
|
|
|
|
|
in which the loaded data is arranged in memory.")
|
|
|
|
|
(home-page "https://github.com/tlsa/libcyaml")
|
|
|
|
|
(license license:isc)))
|
|
|
|
|
|
2017-02-12 03:27:31 +00:00
|
|
|
|
(define-public libdom
|
|
|
|
|
(package
|
|
|
|
|
(name "libdom")
|
2020-05-26 19:47:14 +00:00
|
|
|
|
(version "0.4.1")
|
2017-02-12 03:27:31 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(uri (string-append "https://download.netsurf-browser.org/libs/releases/"
|
2019-07-31 00:25:57 +00:00
|
|
|
|
"libdom-" version "-src.tar.gz"))
|
2017-02-12 03:27:31 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-26 19:47:14 +00:00
|
|
|
|
"0jpg5hx3y0mdxk5szd47dyijqimd2321brbqk2620pp5f4j0gvlq"))))
|
2017-02-12 03:27:31 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("netsurf-buildsystem" ,netsurf-buildsystem)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("perl" ,perl) ;for test harness
|
|
|
|
|
("perl-libxml" ,perl-libxml)
|
|
|
|
|
("perl-switch" ,perl-switch)
|
|
|
|
|
("perl-xml-xpath" ,perl-xml-xpath)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libparserutils" ,libparserutils)
|
|
|
|
|
("libwapcaplet" ,libwapcaplet)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("expat" ,expat) ;needed for headers and linking
|
|
|
|
|
("hubbub" ,hubbub))) ;for libdom.pc
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;TODO: re-enable. tests take a looong time.
|
|
|
|
|
,@netsurf-buildsystem-arguments))
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(home-page "https://www.netsurf-browser.org/projects/libdom/")
|
2017-02-12 03:27:31 +00:00
|
|
|
|
(synopsis "Implementation of the W3C DOM")
|
|
|
|
|
(description
|
|
|
|
|
"LibDOM is an implementation of the W3C DOM, written in C. It is
|
|
|
|
|
developed as part of the NetSurf project.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
2017-02-12 03:27:31 +00:00
|
|
|
|
|
2017-02-12 03:29:43 +00:00
|
|
|
|
(define-public libsvgtiny
|
|
|
|
|
(package
|
|
|
|
|
(name "libsvgtiny")
|
2018-08-29 19:10:28 +00:00
|
|
|
|
(version "0.1.7")
|
2017-02-12 03:29:43 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(uri (string-append "https://download.netsurf-browser.org/libs/releases/"
|
2017-02-12 03:29:43 +00:00
|
|
|
|
name "-" version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-08-29 19:10:28 +00:00
|
|
|
|
"10bpkmvfpydj74im3r6kqm9vnvgib6afy0alx71q5n0w5yawy39c"))))
|
2017-02-12 03:29:43 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("netsurf-buildsystem" ,netsurf-buildsystem)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
2017-03-26 07:36:00 +00:00
|
|
|
|
("gperf" ,gperf-3.0)))
|
2017-02-12 03:29:43 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("libwapcaplet" ,libwapcaplet)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("libdom" ,libdom))) ;for libsvgtiny.pc
|
|
|
|
|
(arguments netsurf-buildsystem-arguments)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(home-page "https://www.netsurf-browser.org/projects/libsvgtiny/")
|
2017-02-12 03:29:43 +00:00
|
|
|
|
(synopsis "Library for parsing SVG files")
|
|
|
|
|
(description
|
|
|
|
|
"Libsvgtiny takes some SVG as input and returns a list of paths and texts
|
|
|
|
|
which can be rendered easily, as defined in
|
|
|
|
|
@url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
|
|
|
|
|
project.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
2017-02-12 03:29:43 +00:00
|
|
|
|
|
2017-02-12 03:30:40 +00:00
|
|
|
|
(define-public libnsbmp
|
|
|
|
|
(package
|
|
|
|
|
(name "libnsbmp")
|
2020-05-26 19:47:51 +00:00
|
|
|
|
(version "0.1.6")
|
2017-02-12 03:30:40 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(uri (string-append "https://download.netsurf-browser.org/libs/releases/"
|
2017-02-12 03:30:40 +00:00
|
|
|
|
name "-" version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-26 19:47:51 +00:00
|
|
|
|
"0krjg69a2amxjsahdgm3wmy9ngnyr3gfs2a1zhdlbvb0z1jr7i3r"))))
|
2017-02-12 03:30:40 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("netsurf-buildsystem" ,netsurf-buildsystem)))
|
|
|
|
|
(arguments netsurf-buildsystem-arguments)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(home-page "https://www.netsurf-browser.org/projects/libnsbmp/")
|
2017-02-12 03:30:40 +00:00
|
|
|
|
(synopsis "Decoding library for BMP and ICO files")
|
|
|
|
|
(description
|
|
|
|
|
"Libnsbmp is a decoding library for BMP and ICO image file formats,
|
|
|
|
|
written in C. It is developed as part of the NetSurf project.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
2017-02-12 03:30:40 +00:00
|
|
|
|
|
2017-02-12 03:31:11 +00:00
|
|
|
|
(define-public libnsgif
|
|
|
|
|
(package
|
|
|
|
|
(name "libnsgif")
|
2018-08-29 19:11:18 +00:00
|
|
|
|
(version "0.2.1")
|
2017-02-12 03:31:11 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(uri (string-append "https://download.netsurf-browser.org/libs/releases/"
|
2017-02-12 03:31:11 +00:00
|
|
|
|
name "-" version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-08-29 19:11:18 +00:00
|
|
|
|
"0jwshypgmx16xlsbx3d8njk8a5khazlplca5mxd3rdbhrlsabbly"))))
|
2017-02-12 03:31:11 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("netsurf-buildsystem" ,netsurf-buildsystem)))
|
|
|
|
|
(arguments netsurf-buildsystem-arguments)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(home-page "https://www.netsurf-browser.org/projects/libnsgif/")
|
2017-02-12 03:31:11 +00:00
|
|
|
|
(synopsis "Decoding library for GIF files")
|
|
|
|
|
(description
|
|
|
|
|
"Libnsgif is a decoding library for the GIF image file format, written in
|
|
|
|
|
C. It is developed as part of the NetSurf project.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
2017-02-12 03:31:11 +00:00
|
|
|
|
|
2019-07-31 03:36:44 +00:00
|
|
|
|
(define-public libnslog
|
|
|
|
|
(package
|
|
|
|
|
(name "libnslog")
|
2020-05-26 19:48:18 +00:00
|
|
|
|
(version "0.1.3")
|
2019-07-31 03:36:44 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(uri (string-append "https://download.netsurf-browser.org/libs/releases/"
|
2019-07-31 03:36:44 +00:00
|
|
|
|
"libnslog-" version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-26 19:48:18 +00:00
|
|
|
|
"1l2k0kdv9iv18svhv360vszjavhl4g09cp8a8yb719pgsylxr67w"))))
|
2019-07-31 03:36:44 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("netsurf-buildsystem" ,netsurf-buildsystem)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
2020-05-27 22:35:20 +00:00
|
|
|
|
("check" ,check) ; For tests
|
2019-07-31 03:36:44 +00:00
|
|
|
|
("bison" ,bison)
|
|
|
|
|
("flex" ,flex)))
|
|
|
|
|
(arguments netsurf-buildsystem-arguments)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(home-page "https://www.netsurf-browser.org/")
|
2019-07-31 03:36:44 +00:00
|
|
|
|
(synopsis "Logging library")
|
|
|
|
|
(description
|
|
|
|
|
"Libnslog provides a category-based logging library which supports
|
|
|
|
|
complex logging filters, multiple log levels, and provides context through to
|
|
|
|
|
client applications. It is developed as part of the NetSurf project.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2017-02-12 03:31:52 +00:00
|
|
|
|
(define-public libnsutils
|
|
|
|
|
(package
|
|
|
|
|
(name "libnsutils")
|
2020-05-26 19:48:41 +00:00
|
|
|
|
(version "0.1.0")
|
2017-02-12 03:31:52 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(uri (string-append "https://download.netsurf-browser.org/libs/releases/"
|
2017-02-12 03:31:52 +00:00
|
|
|
|
name "-" version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-26 19:48:41 +00:00
|
|
|
|
"1w5fyy2i60a3v3if3iqcn9sy9sycx6966rcx53v85gja6hb6a33r"))))
|
2017-02-12 03:31:52 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("netsurf-buildsystem" ,netsurf-buildsystem)))
|
|
|
|
|
(arguments netsurf-buildsystem-arguments)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(home-page "https://www.netsurf-browser.org/")
|
2017-02-12 03:31:52 +00:00
|
|
|
|
(synopsis "Utility library for NetSurf")
|
|
|
|
|
(description
|
|
|
|
|
"Libnsutils provides a small number of useful utility routines. It is
|
|
|
|
|
developed as part of the NetSurf project.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
2017-02-12 03:31:52 +00:00
|
|
|
|
|
2017-02-12 03:32:20 +00:00
|
|
|
|
(define-public libnspsl
|
|
|
|
|
(package
|
|
|
|
|
(name "libnspsl")
|
2020-05-26 19:49:16 +00:00
|
|
|
|
(version "0.1.6")
|
2017-02-12 03:32:20 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(uri (string-append "https://download.netsurf-browser.org/libs/releases/"
|
2019-07-31 00:26:33 +00:00
|
|
|
|
"libnspsl-" version "-src.tar.gz"))
|
2017-02-12 03:32:20 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-26 19:49:16 +00:00
|
|
|
|
"02q28n5i6fwqcz1nn167rb71k1q95mx38mfah6zi1lvqrc2q5ifk"))))
|
2017-02-12 03:32:20 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("netsurf-buildsystem" ,netsurf-buildsystem)))
|
|
|
|
|
(arguments netsurf-buildsystem-arguments)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(home-page "https://www.netsurf-browser.org/")
|
2017-02-12 03:32:20 +00:00
|
|
|
|
(synopsis "Library to generate a static Public Suffix List")
|
|
|
|
|
(description
|
|
|
|
|
"Libnspsl is a library to generate a static code representation of the
|
|
|
|
|
Public Suffix List. It is developed as part of the NetSurf project.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
2017-02-12 03:32:20 +00:00
|
|
|
|
|
2017-02-12 03:33:20 +00:00
|
|
|
|
(define-public nsgenbind
|
|
|
|
|
(package
|
|
|
|
|
(name "nsgenbind")
|
2020-05-26 19:49:48 +00:00
|
|
|
|
(version "0.8")
|
2017-02-12 03:33:20 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(uri (string-append "https://download.netsurf-browser.org/libs/releases/"
|
2019-07-31 00:27:08 +00:00
|
|
|
|
"nsgenbind-" version "-src.tar.gz"))
|
2017-02-12 03:33:20 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-26 19:49:48 +00:00
|
|
|
|
"1cqwgwca49jvmijwiyaab2bwxicgxdrnlpinf8kp3nha02nm73ad"))))
|
2017-02-12 03:33:20 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("netsurf-buildsystem" ,netsurf-buildsystem)
|
|
|
|
|
("bison" ,bison)
|
|
|
|
|
("flex" ,flex)))
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments netsurf-buildsystem-arguments
|
|
|
|
|
((#:make-flags flags)
|
|
|
|
|
`(delete "COMPONENT_TYPE=lib-shared" ,flags))))
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(home-page "https://www.netsurf-browser.org/")
|
2017-02-12 03:33:20 +00:00
|
|
|
|
(synopsis "Generate JavaScript to DOM bindings")
|
|
|
|
|
(description
|
|
|
|
|
"@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
|
|
|
|
|
w3c webidl files and a binding configuration file.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
2017-02-12 03:33:20 +00:00
|
|
|
|
|
2017-04-30 19:07:30 +00:00
|
|
|
|
(define-public netsurf
|
|
|
|
|
(package
|
|
|
|
|
(name "netsurf")
|
2020-05-26 19:50:10 +00:00
|
|
|
|
(version "3.10")
|
2017-04-30 19:07:30 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(uri (string-append "https://download.netsurf-browser.org/netsurf/"
|
2017-04-30 19:07:30 +00:00
|
|
|
|
"releases/source/netsurf-" version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-26 19:50:10 +00:00
|
|
|
|
"0plra64c5xyiw12yx2q13brxsv8apmany97zqa2lcqckw4ll8j1n"))
|
2017-04-30 19:07:30 +00:00
|
|
|
|
(patches (search-patches "netsurf-system-utf8proc.patch"
|
|
|
|
|
"netsurf-y2038-tests.patch"
|
2018-08-29 19:12:58 +00:00
|
|
|
|
"netsurf-longer-test-timeout.patch"
|
|
|
|
|
"netsurf-message-timestamp.patch"))))
|
2017-04-30 19:07:30 +00:00
|
|
|
|
(build-system glib-or-gtk-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("netsurf-buildsystem" ,netsurf-buildsystem)
|
|
|
|
|
("nsgenbind" ,nsgenbind)
|
|
|
|
|
("libidn" ,libidn) ;only for tests
|
|
|
|
|
("check" ,check)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("perl-html-parser" ,perl-html-parser)
|
2019-07-31 00:27:47 +00:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("xxd" ,xxd)))
|
2017-04-30 19:07:30 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("curl" ,curl)
|
2020-02-04 12:09:17 +00:00
|
|
|
|
("gtk+" ,gtk+)
|
2017-04-30 19:07:30 +00:00
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("utf8proc" ,utf8proc)
|
|
|
|
|
("libpng" ,libpng)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 18:27:01 +00:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2017-04-30 19:07:30 +00:00
|
|
|
|
("libcss" ,libcss)
|
|
|
|
|
("libdom" ,libdom)
|
|
|
|
|
("libnsbmp" ,libnsbmp)
|
|
|
|
|
("libnsgif" ,libnsgif)
|
2019-07-31 03:37:27 +00:00
|
|
|
|
("libnslog" ,libnslog)
|
2017-04-30 19:07:30 +00:00
|
|
|
|
("libnspsl" ,libnspsl)
|
|
|
|
|
("libnsutils" ,libnsutils)
|
|
|
|
|
("libsvgtiny" ,libsvgtiny)
|
|
|
|
|
("miscfiles" ,miscfiles)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
|
2020-02-04 12:09:17 +00:00
|
|
|
|
"TARGET=gtk3"
|
2017-04-30 19:07:30 +00:00
|
|
|
|
,(string-append "PREFIX=" %output)
|
|
|
|
|
,(string-append "NSSHARED="
|
|
|
|
|
(assoc-ref %build-inputs
|
|
|
|
|
"netsurf-buildsystem")
|
|
|
|
|
"/share/netsurf-buildsystem"))
|
|
|
|
|
#:test-target "test"
|
|
|
|
|
#:modules ((ice-9 rdelim)
|
|
|
|
|
(ice-9 match)
|
|
|
|
|
(srfi srfi-1)
|
|
|
|
|
(sxml simple)
|
|
|
|
|
,@%glib-or-gtk-build-system-modules)
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'build 'adjust-welcome
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "frontends/gtk/res/welcome.html"
|
2020-01-30 17:16:54 +00:00
|
|
|
|
;; Close some XHTML tags.
|
2017-04-30 19:07:30 +00:00
|
|
|
|
(("<(img|input)([^>]*)>" _ tag contents)
|
|
|
|
|
(string-append "<" tag contents " />"))
|
2020-01-30 17:16:54 +00:00
|
|
|
|
;; Increase freedom.
|
2017-04-30 19:07:30 +00:00
|
|
|
|
((" open source") ", free software")
|
2020-01-30 17:16:54 +00:00
|
|
|
|
;; Prefer a more privacy-respecting default search engine.
|
2017-04-30 19:07:30 +00:00
|
|
|
|
(("www.google.co.uk") "www.duckduckgo.com/html")
|
|
|
|
|
(("Google Search") "DuckDuckGo Search")
|
|
|
|
|
(("name=\"btnG\"") ""))
|
2020-01-30 17:16:54 +00:00
|
|
|
|
;; Remove default links so it doesn't seem we're endorsing them.
|
2017-04-30 19:07:30 +00:00
|
|
|
|
(with-atomic-file-replacement "frontends/gtk/res/welcome.html"
|
|
|
|
|
(lambda (in out)
|
2020-01-30 17:16:54 +00:00
|
|
|
|
;; Leave the DOCTYPE header as is.
|
2017-04-30 19:07:30 +00:00
|
|
|
|
(display (read-line in 'concat) out)
|
|
|
|
|
(sxml->xml
|
2020-02-04 05:06:09 +00:00
|
|
|
|
(let rec ((sxml (xml->sxml in
|
2020-05-26 20:15:10 +00:00
|
|
|
|
#:default-entity-handler
|
|
|
|
|
(lambda (port name)
|
|
|
|
|
(string-append "<ENTITY>"
|
|
|
|
|
(symbol->string name)
|
|
|
|
|
"</ENTITY>")))))
|
2017-04-30 19:07:30 +00:00
|
|
|
|
;; We'd like to use sxml-match here, but it can't
|
|
|
|
|
;; match against generic tag symbols...
|
|
|
|
|
(match sxml
|
|
|
|
|
(`(div (@ (class "links")) . ,rest)
|
|
|
|
|
'())
|
2020-05-26 20:15:10 +00:00
|
|
|
|
(`(ENTITY ,ent)
|
|
|
|
|
`(*ENTITY* ,ent))
|
2017-04-30 19:07:30 +00:00
|
|
|
|
((x ...)
|
|
|
|
|
(map rec x))
|
|
|
|
|
(x x)))
|
|
|
|
|
out)))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'check 'patch-check
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* '("test/bloom.c" "test/hashtable.c")
|
|
|
|
|
(("/usr/share/dict/words")
|
|
|
|
|
(string-append (assoc-ref inputs "miscfiles") "/share/web2")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'install-more
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(desktop (string-append out "/share/applications/"
|
|
|
|
|
"netsurf.desktop")))
|
|
|
|
|
(mkdir-p (dirname desktop))
|
|
|
|
|
(copy-file "frontends/gtk/res/netsurf-gtk.desktop"
|
|
|
|
|
desktop)
|
|
|
|
|
(substitute* desktop
|
2020-02-14 04:08:33 +00:00
|
|
|
|
(("netsurf-gtk") (string-append out "/bin/netsurf-gtk3"))
|
2017-04-30 19:07:30 +00:00
|
|
|
|
(("netsurf.png") (string-append out "/share/netsurf/"
|
|
|
|
|
"netsurf.xpm")))
|
2017-11-05 17:56:59 +00:00
|
|
|
|
(install-file "docs/netsurf-gtk.1"
|
2017-04-30 19:07:30 +00:00
|
|
|
|
(string-append out "/share/man/man1/"))
|
|
|
|
|
#t))))))
|
gnu: netsurf: Use https.
* gnu/packages/web.scm (netsurf-buildsystem, libparserutils, hubbub,
libwapcaplet, libcss, libdom, libsvgtiny, libnsbmp, libnsgif, libnslog,
libnsutils, libnspsl, nsgenbind, netsurf, netsurf-buildsystem)
[source, home-page]: Use https.
2020-02-04 12:12:16 +00:00
|
|
|
|
(home-page "https://www.netsurf-browser.org")
|
2017-04-30 19:07:30 +00:00
|
|
|
|
(synopsis "Web browser")
|
|
|
|
|
(description
|
|
|
|
|
"NetSurf is a lightweight web browser that has its own layout and
|
|
|
|
|
rendering engine entirely written from scratch. It is small and capable of
|
|
|
|
|
handling many of the web standards in use today.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:gpl2+)))
|
2017-04-30 19:07:30 +00:00
|
|
|
|
|
2016-09-06 10:40:37 +00:00
|
|
|
|
(define-public surfraw
|
|
|
|
|
(package
|
|
|
|
|
(name "surfraw")
|
2019-04-11 01:59:58 +00:00
|
|
|
|
(version "2.3.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://gitlab.com/surfraw/Surfraw/uploads/"
|
|
|
|
|
"2de827b2786ef2fe43b6f07913ca7b7f/"
|
|
|
|
|
"surfraw-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "099nbif0x5cbcf18snc58nx1a3q7z0v9br9p2jiq9pcc7ic2015d"))))
|
2016-09-06 10:40:37 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2017-05-20 09:07:27 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-01-04 17:17:38 +00:00
|
|
|
|
(add-before 'configure 'patch-perl
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((perl (assoc-ref inputs "perl")))
|
|
|
|
|
(substitute* "surfraw.IN"
|
|
|
|
|
(("perl -e")
|
|
|
|
|
(string-append perl "/bin/perl -e")))
|
|
|
|
|
#t)))
|
2017-05-20 09:07:27 +00:00
|
|
|
|
(add-after 'install 'compress-elvi.1sr
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; The manpages of the elvis are symlinks to elvi.1sr.gz
|
|
|
|
|
;; but elvi.1sr does not get compressed by our manpage phase.
|
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(man (string-append out "/share/man/man1")))
|
|
|
|
|
(with-directory-excursion man
|
2018-04-01 05:44:15 +00:00
|
|
|
|
(invoke "gzip" "elvi.1sr"))))))))
|
2016-09-06 10:40:37 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("perl-www-opensearch" ,perl-www-opensearch)
|
|
|
|
|
("perl-html-parser" ,perl-html-parser)
|
|
|
|
|
("perl-libwww" ,perl-libwww)))
|
|
|
|
|
(synopsis "Unix command line interface to the www")
|
|
|
|
|
(description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
|
|
|
|
|
provides a unix command line interface to a variety of popular www search engines
|
|
|
|
|
and similar services.")
|
|
|
|
|
(home-page "https://surfraw.alioth.debian.org/")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:public-domain)))
|
2016-09-14 06:01:59 +00:00
|
|
|
|
|
|
|
|
|
(define-public darkhttpd
|
|
|
|
|
(package
|
|
|
|
|
(name "darkhttpd")
|
|
|
|
|
(version "1.12")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2017-04-12 09:59:45 +00:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
|
|
|
|
|
version ".tar.bz2"))
|
2016-09-14 06:01:59 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-12 09:59:45 +00:00
|
|
|
|
"0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
|
2016-09-14 06:01:59 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags '("CC=gcc")
|
|
|
|
|
#:tests? #f ; No test suite
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(install-file "darkhttpd"
|
|
|
|
|
(string-append (assoc-ref outputs "out")
|
|
|
|
|
"/bin"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(synopsis "Simple static web server")
|
|
|
|
|
(description "darkhttpd is a simple static web server. It is
|
|
|
|
|
standalone and does not need inetd or ucspi-tcp. It does not need any
|
|
|
|
|
config files---you only have to specify the www root.")
|
|
|
|
|
(home-page "https://unix4lyfe.org/darkhttpd/")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:isc)))
|
2016-10-04 15:43:01 +00:00
|
|
|
|
|
|
|
|
|
(define-public goaccess
|
|
|
|
|
(package
|
|
|
|
|
(name "goaccess")
|
|
|
|
|
(version "1.0.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://tar.goaccess.io/goaccess-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
|
|
|
|
|
(modules '((guix build utils)))
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 11:47:34 +00:00
|
|
|
|
(snippet '(begin
|
|
|
|
|
(substitute* "src/error.h"
|
|
|
|
|
(("__DATE__") "\"1970-01-01\"")
|
2018-03-17 04:16:43 +00:00
|
|
|
|
(("__TIME__") "\"00:00:00\""))
|
|
|
|
|
#t))))
|
2016-10-04 15:43:01 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
;; TODO: Add dependency on geoip-tools.
|
|
|
|
|
`(("glib" ,glib)
|
|
|
|
|
("ncurses" ,ncurses)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://goaccess.io")
|
|
|
|
|
(synopsis "Analyze Web server logs in real time")
|
|
|
|
|
(description
|
|
|
|
|
"GoAccess is a real-time web log analyzer and interactive viewer that
|
|
|
|
|
runs in a terminal or through your browser. It provides fast and valuable
|
|
|
|
|
HTTP statistics for system administrators that require a visual server report
|
|
|
|
|
on the fly.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:x11)))
|
2016-11-14 23:08:11 +00:00
|
|
|
|
|
2020-05-19 12:51:06 +00:00
|
|
|
|
(define-public hitch
|
|
|
|
|
(package
|
|
|
|
|
(name "hitch")
|
2020-11-09 19:53:32 +00:00
|
|
|
|
(version "1.7.0")
|
2020-05-19 12:51:06 +00:00
|
|
|
|
(home-page "https://hitch-tls.org/")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append home-page "source/hitch-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-11-09 19:53:32 +00:00
|
|
|
|
"1i75giwyr66ip8xsvk3gg5xdbxnmcabgxz8dqi06c58mw7qzhzn9"))))
|
2020-05-19 12:51:06 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'pre-check
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Most tests attempts to access hitch-tls.org which is
|
|
|
|
|
;; unavailable in the build container. Run them against
|
|
|
|
|
;; a dummy local web server instead.
|
|
|
|
|
(for-each (lambda (test)
|
|
|
|
|
(substitute* test
|
|
|
|
|
(("\\[hitch-tls\\.org\\]:80")
|
|
|
|
|
"[localhost]:8000")))
|
|
|
|
|
(find-files "src/tests" "\\.sh$"))
|
|
|
|
|
(system "python3 -m http.server &")
|
|
|
|
|
|
|
|
|
|
;; The build container does not reap zombie processes,
|
|
|
|
|
;; causing stop_hitch to hang indefinitely while waiting
|
|
|
|
|
;; for the process to terminate because 'kill -0' never
|
|
|
|
|
;; succeeds. Use a different test to see whether the
|
|
|
|
|
;; process has shut down.
|
|
|
|
|
(substitute* "src/tests/hitch_test.sh"
|
|
|
|
|
(("kill -0 \"\\$HITCH_PID\"")
|
|
|
|
|
"$(ps -p $HITCH_PID -o state= | grep -qv '^Z$')"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
|
|
|
|
|
;; For tests.
|
|
|
|
|
("curl" ,curl)
|
|
|
|
|
("egrep" ,grep)
|
|
|
|
|
("lsof" ,lsof)
|
|
|
|
|
("python" ,python)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libev" ,libev)
|
|
|
|
|
("openssl" ,openssl)))
|
|
|
|
|
(synopsis "Scalable TLS proxy")
|
|
|
|
|
(description
|
|
|
|
|
"Hitch is a performant TLS proxy based on @code{libev}. It terminates
|
|
|
|
|
SSL/TLS connections and forwards the unencrypted traffic to a backend such
|
|
|
|
|
as a web server. It is designed to handle many thousand connections on
|
|
|
|
|
multicore machines.")
|
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
|
2016-11-14 23:08:11 +00:00
|
|
|
|
(define-public httptunnel
|
|
|
|
|
(package
|
|
|
|
|
(name "httptunnel")
|
|
|
|
|
(version "3.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.nocrew.org/software/httptunnel/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
|
|
|
|
|
(modules '((guix build utils)))
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 11:47:34 +00:00
|
|
|
|
(snippet '(begin
|
|
|
|
|
;; Remove non-free IETF RFC documentation.
|
2018-03-17 04:16:43 +00:00
|
|
|
|
(delete-file-recursively "doc")
|
|
|
|
|
#t))))
|
2016-11-14 23:08:11 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The default configure phase tries to pass environment variables as
|
|
|
|
|
;; command-line arguments, which confuses the ./configure script.
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out")))
|
|
|
|
|
(setenv "CONFIG_SHELL" (which "bash"))
|
2018-04-01 05:46:17 +00:00
|
|
|
|
(invoke "./configure"
|
|
|
|
|
(string-append "--prefix=" out))))))))
|
2016-11-14 23:08:11 +00:00
|
|
|
|
(home-page "http://www.nocrew.org/software/httptunnel.html")
|
|
|
|
|
(synopsis "Tunnel data connections through HTTP requests")
|
|
|
|
|
(description "httptunnel creates a bidirectional virtual data connection
|
|
|
|
|
tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
|
|
|
|
|
useful for users behind restrictive firewalls. As long as Web traffic is
|
|
|
|
|
allowed, even through a HTTP-only proxy, httptunnel can be combined with other
|
|
|
|
|
tools like SSH (Secure Shell) to reach the outside world.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:gpl2+)))
|
2017-01-25 07:50:30 +00:00
|
|
|
|
|
|
|
|
|
(define-public stunnel
|
|
|
|
|
(package
|
|
|
|
|
(name "stunnel")
|
2021-04-06 22:54:05 +00:00
|
|
|
|
(version "5.59")
|
2017-01-25 07:50:30 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.stunnel.org/downloads/stunnel-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2021-04-06 22:54:05 +00:00
|
|
|
|
(base32 "17yf2n47j5hw2y9527mrkx3j7q9jk5vvg46m3hgp1wg8dggpcxqk"))))
|
2017-01-25 07:50:30 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2018-06-26 02:09:58 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
;; For tests.
|
|
|
|
|
`(("iproute" ,iproute)
|
|
|
|
|
("netcat" ,netcat)
|
|
|
|
|
("procps" ,procps)))
|
2017-01-25 07:50:30 +00:00
|
|
|
|
(inputs `(("openssl" ,openssl)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
2018-06-26 02:09:58 +00:00
|
|
|
|
(list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-output-directories
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Some (not all) Makefiles have a hard-coded incorrect docdir.
|
|
|
|
|
(substitute* (list "Makefile.in"
|
|
|
|
|
"doc/Makefile.in"
|
|
|
|
|
"tools/Makefile.in")
|
|
|
|
|
(("/doc/stunnel")
|
|
|
|
|
(string-append "/doc/" ,name "-" ,version)))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'check 'patch-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "tests/make_test"
|
|
|
|
|
(("/bin/sh ")
|
|
|
|
|
(string-append (which "sh") " ")))
|
2021-03-01 04:30:55 +00:00
|
|
|
|
;; test requires networking
|
|
|
|
|
(delete-file "tests/recipes/055_socket_closed")
|
2018-06-26 02:09:58 +00:00
|
|
|
|
#t)))))
|
2017-01-25 07:50:30 +00:00
|
|
|
|
(home-page "https://www.stunnel.org")
|
|
|
|
|
(synopsis "TLS proxy for clients or servers")
|
|
|
|
|
(description "Stunnel is a proxy designed to add TLS encryption
|
|
|
|
|
functionality to existing clients and servers without any changes in the
|
|
|
|
|
programs' code. Its architecture is optimized for security, portability, and
|
|
|
|
|
scalability (including load-balancing), making it suitable for large
|
|
|
|
|
deployments.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:gpl2+)))
|
2017-01-26 10:35:50 +00:00
|
|
|
|
|
2016-11-07 21:25:31 +00:00
|
|
|
|
(define-public varnish
|
|
|
|
|
(package
|
|
|
|
|
(name "varnish")
|
|
|
|
|
(home-page "https://varnish-cache.org/")
|
2020-11-09 19:53:50 +00:00
|
|
|
|
(version "6.5.1")
|
2016-11-07 21:25:31 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append home-page "_downloads/varnish-" version ".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-11-09 19:53:50 +00:00
|
|
|
|
"1dfdswri6lkfk6kml3szvffm91y49pajgqy1k5y26llqixl4r5hi"))))
|
2016-11-07 21:25:31 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
|
|
|
|
|
;; Use absolute path of GCC so it's found at runtime.
|
|
|
|
|
(string-append "PTHREAD_CC="
|
|
|
|
|
(assoc-ref %build-inputs "gcc")
|
|
|
|
|
"/bin/gcc")
|
|
|
|
|
"--localstatedir=/var")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-08-26 21:31:10 +00:00
|
|
|
|
(add-after 'unpack 'use-absolute-file-names
|
2016-11-07 21:25:31 +00:00
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* '("bin/varnishtest/vtc_varnish.c"
|
|
|
|
|
"bin/varnishtest/vtc_process.c"
|
2019-09-23 14:46:50 +00:00
|
|
|
|
"bin/varnishd/mgt/mgt_vcc.c"
|
|
|
|
|
"bin/varnishtest/tests/u00014.vtc")
|
2016-11-07 21:25:31 +00:00
|
|
|
|
(("/bin/sh") (which "sh")))
|
2018-08-26 21:31:10 +00:00
|
|
|
|
(substitute* "bin/varnishd/mgt/mgt_shmem.c"
|
|
|
|
|
(("rm -rf") (string-append (which "rm") " -rf")))
|
2019-03-18 16:05:40 +00:00
|
|
|
|
(substitute* "bin/varnishtest/vtc_main.c"
|
|
|
|
|
(("/bin/rm") (which "rm")))
|
2016-11-07 21:25:31 +00:00
|
|
|
|
#t))
|
|
|
|
|
(add-before 'install 'patch-Makefile
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
;; Do not create /var/varnish during install.
|
|
|
|
|
(("^install-data-am: install-data-local") "install-data-am: "))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'wrap-varnishd
|
|
|
|
|
;; Varnish uses GCC to compile VCL, so wrap it with required GCC
|
|
|
|
|
;; environment variables to avoid propagating them to profiles.
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(varnishd (string-append out "/sbin/varnishd"))
|
|
|
|
|
(PATH (string-append (assoc-ref inputs "binutils") "/bin"))
|
|
|
|
|
(LIBRARY_PATH (string-append (assoc-ref inputs "libc") "/lib")))
|
|
|
|
|
(wrap-program varnishd
|
|
|
|
|
;; Add binutils to PATH so gcc finds the 'as' executable.
|
|
|
|
|
`("PATH" ":" prefix (,PATH))
|
|
|
|
|
;; Make sure 'crti.o' et.al is found.
|
|
|
|
|
`("LIBRARY_PATH" ":" prefix (,LIBRARY_PATH)))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
2019-02-13 16:39:36 +00:00
|
|
|
|
("python-sphinx" ,python-sphinx)
|
2016-11-07 21:25:31 +00:00
|
|
|
|
("rst2man" ,python-docutils)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("jemalloc" ,jemalloc)
|
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
("pcre" ,pcre)
|
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
("readline" ,readline)))
|
|
|
|
|
(synopsis "Web application accelerator")
|
|
|
|
|
(description
|
|
|
|
|
"Varnish is a high-performance HTTP accelerator. It acts as a caching
|
|
|
|
|
reverse proxy and load balancer. You install it in front of any server that
|
|
|
|
|
speaks HTTP and configure it to cache the contents through an extensive
|
|
|
|
|
configuration language.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license (list license:bsd-2 ;main distribution
|
|
|
|
|
license:zlib ;lib/libvgz/*
|
|
|
|
|
license:public-domain ;bin/varnishncsa/as64.c, include/miniobj.h
|
|
|
|
|
license:bsd-3)))) ;include/vqueue.h, lib/libvarnishcompat/daemon.c
|
2016-11-07 21:25:31 +00:00
|
|
|
|
|
2018-08-17 21:45:15 +00:00
|
|
|
|
(define-public varnish-modules
|
|
|
|
|
(package
|
|
|
|
|
(name "varnish-modules")
|
|
|
|
|
(home-page "https://github.com/varnish/varnish-modules")
|
2021-03-16 17:41:34 +00:00
|
|
|
|
(version "0.17.1")
|
2018-08-17 21:45:15 +00:00
|
|
|
|
(source (origin
|
2020-11-09 19:54:08 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference (url home-page) (commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-08-17 21:45:15 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-03-16 17:41:34 +00:00
|
|
|
|
"1mzkad9r4rpm1fi7j7skwrsyzzbwcapfnlvvl1ls3rng2djcqb5j"))))
|
2018-08-17 21:45:15 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2020-11-09 19:54:08 +00:00
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
|
|
|
|
|
;; For bootstrapping.
|
|
|
|
|
("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
|
|
|
|
|
;; For generating manuals.
|
|
|
|
|
("rst2man" ,python-docutils)))
|
2018-08-17 21:45:15 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("python" ,python)
|
|
|
|
|
("varnish" ,varnish)))
|
|
|
|
|
(synopsis "Collection of Varnish modules")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a collection of modules (@dfn{vmods}) for the Varnish
|
2020-05-20 18:06:29 +00:00
|
|
|
|
cache server, extending the @acronym{VCL, Varnish Configuration Language} with
|
2018-08-17 21:45:15 +00:00
|
|
|
|
additional capabilities.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:bsd-2)))
|
2018-08-17 21:45:15 +00:00
|
|
|
|
|
2017-01-26 10:35:50 +00:00
|
|
|
|
(define-public xinetd
|
|
|
|
|
(package
|
|
|
|
|
(name "xinetd")
|
2019-11-29 05:04:47 +00:00
|
|
|
|
;; This is the maintenance fork currently used by openSUSE and Debian.
|
|
|
|
|
(version "2.3.15.4")
|
2017-01-26 10:35:50 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-02-09 20:46:50 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/openSUSE/xinetd")
|
2019-11-29 05:04:47 +00:00
|
|
|
|
(commit version)))
|
2019-02-09 20:46:50 +00:00
|
|
|
|
(file-name (git-file-name name version))
|
2017-01-26 10:35:50 +00:00
|
|
|
|
(sha256
|
2019-11-29 05:04:47 +00:00
|
|
|
|
(base32 "0lrp3lcj6azhjplwxws2rx40bkyp6i6bp7n77ndcisb7ninad30q"))))
|
2017-01-26 10:35:50 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("--with-loadavg")
|
2018-02-19 03:17:22 +00:00
|
|
|
|
#:tests? #f)) ; no tests
|
2019-11-29 05:04:47 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://github.com/openSUSE/xinetd")
|
2017-01-26 10:35:50 +00:00
|
|
|
|
(synopsis "Internet services daemon")
|
|
|
|
|
(description "@code{xinetd}, a more secure replacement for @code{inetd},
|
|
|
|
|
listens for incoming requests over a network and launches the appropriate
|
|
|
|
|
service for that request. Requests are made using port numbers as identifiers
|
|
|
|
|
and xinetd usually launches another daemon to handle the request. It can be
|
|
|
|
|
used to start services with both privileged and non-privileged port numbers.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license (license:fsf-free "file://COPYRIGHT"))))
|
2017-02-09 13:37:01 +00:00
|
|
|
|
|
|
|
|
|
(define-public tidy-html
|
|
|
|
|
(package
|
|
|
|
|
(name "tidy-html")
|
2020-07-28 09:13:10 +00:00
|
|
|
|
(version "5.7.28")
|
2017-02-09 13:37:01 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-12-24 16:22:21 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/htacg/tidy-html5")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-02-09 13:37:01 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-07-28 09:13:10 +00:00
|
|
|
|
"01k5sqwgcsr26i8031v1yr2r8qcy9a5w7sj800660haszgfbjz2f"))))
|
2017-02-09 13:37:01 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(outputs '("out"
|
2019-12-24 16:22:21 +00:00
|
|
|
|
"static")) ; 1.3MiB of .a files
|
2017-02-09 13:37:01 +00:00
|
|
|
|
(arguments
|
2018-03-17 11:23:59 +00:00
|
|
|
|
`(#:tests? #f ; no tests available
|
|
|
|
|
#:build-type "Release"
|
2017-02-09 13:37:01 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'move-static-libraries
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Move static libraries to the "static" output.
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib"))
|
|
|
|
|
(static (assoc-ref outputs "static"))
|
|
|
|
|
(slib (string-append static "/lib")))
|
|
|
|
|
(mkdir-p slib)
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file file slib)
|
|
|
|
|
(delete-file file))
|
|
|
|
|
(find-files lib "\\.a$"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("libxslt" ,libxslt)))
|
|
|
|
|
(home-page "http://www.html-tidy.org/")
|
|
|
|
|
(synopsis "HTML Tidy with HTML5 support")
|
|
|
|
|
(description
|
|
|
|
|
"Tidy is a console application which corrects and cleans up
|
|
|
|
|
HTML and XML documents by fixing markup errors and upgrading
|
|
|
|
|
legacy code to modern standards.
|
|
|
|
|
|
|
|
|
|
Tidy also provides @code{libtidy}, a C static and dynamic library that
|
|
|
|
|
developers can integrate into their applications to make use of the
|
|
|
|
|
functions of Tidy.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:bsd-3)))
|
2017-02-03 16:01:39 +00:00
|
|
|
|
|
2017-02-14 19:09:35 +00:00
|
|
|
|
(define-public hiawatha
|
|
|
|
|
(package
|
|
|
|
|
(name "hiawatha")
|
2020-07-14 01:07:44 +00:00
|
|
|
|
(version "10.11")
|
2017-02-14 19:09:35 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.hiawatha-webserver.org/files/"
|
|
|
|
|
"hiawatha-" version ".tar.gz"))
|
|
|
|
|
(modules '((guix build utils)))
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 11:47:34 +00:00
|
|
|
|
(snippet '(begin
|
2018-10-04 15:26:57 +00:00
|
|
|
|
;; We use packaged libraries, so delete the bundled copies.
|
|
|
|
|
(for-each delete-file-recursively
|
2019-02-19 08:02:15 +00:00
|
|
|
|
(list "extra/nghttp2.tgz" "mbedtls"))
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 11:47:34 +00:00
|
|
|
|
#t))
|
2017-02-14 19:09:35 +00:00
|
|
|
|
(sha256
|
2020-07-14 01:07:44 +00:00
|
|
|
|
(base32 "09wpgilbv13zal71v9lbsqr8c3fignygadykpd1p1pb8blb5vn3r"))))
|
2017-02-14 19:09:35 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2018-10-04 15:26:57 +00:00
|
|
|
|
`(#:tests? #f ; no tests included
|
2017-02-14 19:09:35 +00:00
|
|
|
|
#:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
|
2018-10-04 17:04:37 +00:00
|
|
|
|
(string-append "-DENABLE_HTTP2=on")
|
|
|
|
|
(string-append "-DUSE_SYSTEM_NGHTTP2=on")
|
2017-02-14 19:09:35 +00:00
|
|
|
|
(string-append "-DENABLE_TOMAHAWK=on")
|
2018-10-04 17:52:03 +00:00
|
|
|
|
(string-append "-DLOG_DIR=/var/log/hiawatha")
|
|
|
|
|
(string-append "-DPID_DIR=/run")
|
2017-02-14 19:09:35 +00:00
|
|
|
|
(string-append "-DWEBROOT_DIR="
|
|
|
|
|
(assoc-ref %outputs "out")
|
2018-10-04 17:52:03 +00:00
|
|
|
|
"/share/hiawatha/html")
|
|
|
|
|
(string-append "-DWORK_DIR=/var/lib/hiawatha"))
|
2017-02-14 19:09:35 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-10-04 17:52:03 +00:00
|
|
|
|
(add-after 'unpack 'install-no-empty-directories
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("install\\(DIRECTORY DESTINATION" match)
|
|
|
|
|
(string-append "#" match)))
|
|
|
|
|
#t))
|
2017-02-14 19:09:35 +00:00
|
|
|
|
(add-after 'install 'wrap
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
;; Make sure 'hiawatha' finds 'mbedtls'.
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(sbin (string-append out "/sbin"))
|
|
|
|
|
(mbed (assoc-ref inputs "mbedtls-apache")))
|
|
|
|
|
(wrap-program (string-append sbin "/hiawatha")
|
|
|
|
|
`("PATH" ":" prefix (,mbed)))))))))
|
|
|
|
|
(inputs
|
2018-10-04 15:26:57 +00:00
|
|
|
|
;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha".
|
2018-10-04 17:04:37 +00:00
|
|
|
|
`(("libxslt" ,libxslt)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("mbedtls-apache" ,mbedtls-for-hiawatha)
|
|
|
|
|
("nghttp2" ,nghttp2 "lib")
|
|
|
|
|
("zlib" ,zlib)))
|
2017-02-14 19:09:35 +00:00
|
|
|
|
(home-page "https://www.hiawatha-webserver.org")
|
|
|
|
|
(synopsis "Webserver with focus on security")
|
|
|
|
|
(description
|
2017-03-09 21:46:13 +00:00
|
|
|
|
"Hiawatha has been written with security in mind.
|
|
|
|
|
Features include the ability to stop SQL injections, XSS and CSRF attacks and
|
|
|
|
|
exploit attempts.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:gpl2)))
|
2017-05-07 02:29:41 +00:00
|
|
|
|
|
|
|
|
|
(define-public python-httpbin
|
|
|
|
|
(package
|
|
|
|
|
(name "python-httpbin")
|
|
|
|
|
(version "0.5.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "httpbin" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-decorator" ,python-decorator)
|
|
|
|
|
("python-flask" ,python-flask)
|
|
|
|
|
("python-itsdangerous" ,python-itsdangerous)
|
|
|
|
|
("python-markupsafe" ,python-markupsafe)
|
|
|
|
|
("python-six" ,python-six)))
|
|
|
|
|
(home-page "https://github.com/Runscope/httpbin")
|
|
|
|
|
(synopsis "HTTP request and response service")
|
|
|
|
|
(description "Testing an HTTP Library can become difficult sometimes.
|
|
|
|
|
@code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
|
|
|
|
|
response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
|
|
|
|
|
JSON-encoded.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:isc)))
|
2017-05-07 02:29:41 +00:00
|
|
|
|
|
2017-05-07 02:29:42 +00:00
|
|
|
|
(define-public python-pytest-httpbin
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pytest-httpbin")
|
|
|
|
|
(version "0.2.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pytest-httpbin" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-six" ,python-six)
|
|
|
|
|
("python-httpbin" ,python-httpbin)
|
|
|
|
|
("python-pytest" ,python-pytest)))
|
|
|
|
|
(home-page
|
|
|
|
|
"https://github.com/kevin1024/pytest-httpbin")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Test your HTTP library against a local copy of httpbin")
|
|
|
|
|
(description
|
|
|
|
|
"@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
|
|
|
|
|
into your tests. It automatically starts up a HTTP server in a separate thread running
|
|
|
|
|
@code{httpbin} and provides your test with the URL in the fixture.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
2017-05-07 02:29:42 +00:00
|
|
|
|
|
2017-05-15 14:01:20 +00:00
|
|
|
|
(define-public http-parser
|
2021-02-16 22:28:58 +00:00
|
|
|
|
(let ((commit "ec8b5ee63f0e51191ea43bb0c6eac7bfbff3141d")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "http-parser")
|
|
|
|
|
(version (git-version "2.9.4" revision commit))
|
|
|
|
|
(home-page "https://github.com/nodejs/http-parser")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference (url home-page)
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0f297hrbx0kvy3qwgm9rhmbnjww6iljlcz9grsc9d4km1qj1071i"))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(patches
|
|
|
|
|
(append
|
|
|
|
|
(search-patches "http-parser-CVE-2020-8287.patch")
|
|
|
|
|
(list
|
|
|
|
|
(origin
|
|
|
|
|
;; Treat an empty port (e.g. `http://hostname:/`) when parsing
|
|
|
|
|
;; URLs as if no port were specified. This patch is applied
|
|
|
|
|
;; to Fedora's http-parser and to libgit2's bundled version.
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://src.fedoraproject.org/rpms/http-parser/raw/"
|
|
|
|
|
"e89b4c4e2874c19079a5a1a2d2ccc61b551aa289/"
|
|
|
|
|
"f/0001-url-treat-empty-port-as-default.patch"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-02-24 15:33:18 +00:00
|
|
|
|
"0pbxf2nq9pcn299k2b2ls8ldghaqln9glnp79gi57mamx4iy0f6g"))))))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; This assertion fails when building for i686-linux.
|
|
|
|
|
(substitute* "test.c"
|
|
|
|
|
(("assert\\(sizeof\\(http_parser\\) == 32\\);")
|
|
|
|
|
"assert(1);"))
|
|
|
|
|
#t))))
|
2021-02-16 22:28:58 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "test"
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "PREFIX="
|
|
|
|
|
(assoc-ref %outputs "out"))
|
|
|
|
|
"library"
|
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
'()
|
|
|
|
|
'("CC=gcc")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
'((replace 'configure
|
|
|
|
|
(lambda* (#:key target #:allow-other-keys)
|
|
|
|
|
(substitute* (find-files "." "Makefile")
|
|
|
|
|
(("CC\\?=.*$")
|
|
|
|
|
(string-append "CC=" target "-gcc\n"))
|
|
|
|
|
(("AR\\?=.*$")
|
|
|
|
|
(string-append "AR=" target "-ar\n")))
|
|
|
|
|
#t)))
|
|
|
|
|
'((delete 'configure))))))
|
|
|
|
|
(synopsis "HTTP request/response parser for C")
|
2021-02-24 15:33:18 +00:00
|
|
|
|
(description "This is a parser for HTTP messages written in C. It
|
|
|
|
|
parses both requests and responses. The parser is designed to be used in
|
2017-05-15 14:01:20 +00:00
|
|
|
|
high-performance HTTP applications. It does not make any syscalls nor
|
|
|
|
|
allocations, it does not buffer data, it can be interrupted at anytime.
|
|
|
|
|
Depending on your architecture, it only requires about 40 bytes of data per
|
|
|
|
|
message stream (in a web server that is per connection).")
|
2021-02-16 22:28:58 +00:00
|
|
|
|
(license license:expat))))
|
2017-06-15 16:05:26 +00:00
|
|
|
|
|
2019-04-11 02:16:18 +00:00
|
|
|
|
(define-public python-httpretty
|
|
|
|
|
(package
|
|
|
|
|
(name "python-httpretty")
|
2021-03-21 20:18:51 +00:00
|
|
|
|
(version "1.0.5")
|
2019-04-11 02:16:18 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "httpretty" version))
|
|
|
|
|
(sha256
|
2021-03-21 20:18:51 +00:00
|
|
|
|
(base32 "1dg0nfl7i9kjnq98ww98x2afzav4mpgiwzvjc43ily1x9my94g75"))))
|
2019-04-11 02:16:18 +00:00
|
|
|
|
(build-system python-build-system)
|
2021-03-21 20:18:51 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; Tests require network access.
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "nosetests"))
|
|
|
|
|
#t)))))
|
2019-04-11 02:16:18 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-coverage" ,python-coverage)
|
2021-03-21 20:18:51 +00:00
|
|
|
|
("python-eventlet" ,python-eventlet)
|
2019-04-11 02:16:18 +00:00
|
|
|
|
("python-nose" ,python-nose)
|
|
|
|
|
("python-rednose" ,python-rednose)
|
|
|
|
|
("python-requests" ,python-requests)
|
|
|
|
|
("python-sure" ,python-sure)
|
2021-03-21 20:18:51 +00:00
|
|
|
|
("python-tornado" ,python-tornado)))
|
2019-04-11 02:16:18 +00:00
|
|
|
|
(home-page "https://httpretty.readthedocs.io")
|
|
|
|
|
(synopsis "HTTP client mock for Python")
|
|
|
|
|
(description "@code{httpretty} is a helper for faking web requests,
|
|
|
|
|
inspired by Ruby's @code{fakeweb}.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
2017-06-29 06:40:03 +00:00
|
|
|
|
|
|
|
|
|
(define-public jo
|
|
|
|
|
(package
|
|
|
|
|
(name "jo")
|
2020-07-23 17:17:59 +00:00
|
|
|
|
(version "1.4")
|
2017-06-29 06:40:03 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-02-04 00:34:25 +00:00
|
|
|
|
(uri (string-append "https://github.com/jpmens/jo/releases/download/"
|
2017-06-29 06:40:03 +00:00
|
|
|
|
version "/jo-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-07-23 17:17:59 +00:00
|
|
|
|
(base32 "18jna9xlpxci3cak3z85c448zv2zr41baclgym3hk433p0p4vii4"))))
|
2017-06-29 06:40:03 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "https://github.com/jpmens/jo")
|
|
|
|
|
(synopsis "Output JSON from a shell")
|
|
|
|
|
(description "jo is a command-line utility to create JSON objects or
|
|
|
|
|
arrays. It creates a JSON string on stdout from words provided as
|
|
|
|
|
command-line arguments or read from stdin.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license (list license:gpl2+
|
|
|
|
|
license:expat)))) ; json.c, json.h
|
2017-07-15 07:19:37 +00:00
|
|
|
|
|
|
|
|
|
(define-public python-internetarchive
|
|
|
|
|
(package
|
|
|
|
|
(name "python-internetarchive")
|
2019-07-09 12:35:51 +00:00
|
|
|
|
(version "1.8.5")
|
2017-07-15 07:19:37 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-07-09 12:35:51 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/jjjake/internetarchive")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-07-15 07:19:37 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-07-09 12:35:51 +00:00
|
|
|
|
"0ih7hplv92wbv6cmgc1gs0v35qkajwicalwcq8vcljw30plr24fp"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Python 3.7 removed `_pattern_type'.
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(chmod file #o644)
|
|
|
|
|
(substitute* file
|
|
|
|
|
(("^import re\n" line)
|
|
|
|
|
(string-append line "re._pattern_type = re.Pattern\n"))))
|
|
|
|
|
(find-files "." "\\.py$"))
|
|
|
|
|
#t))))
|
2017-07-15 07:19:37 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2017-11-25 08:12:08 +00:00
|
|
|
|
`(#:phases
|
2017-07-15 07:19:37 +00:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'check)
|
|
|
|
|
(add-after 'install 'check
|
2017-11-25 08:12:08 +00:00
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(add-installed-pythonpath inputs outputs)
|
|
|
|
|
(setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
|
|
|
|
|
":" (getenv "PATH")))
|
2018-04-01 05:47:52 +00:00
|
|
|
|
(invoke "py.test" "-v" "-k"
|
|
|
|
|
(string-append
|
|
|
|
|
;; These tests attempt to make a connection to
|
|
|
|
|
;; an external web service.
|
|
|
|
|
"not test_get_item_with_kwargs"
|
|
|
|
|
" and not test_ia")))))))
|
2017-07-15 07:19:37 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-requests" ,python-requests)
|
|
|
|
|
("python-jsonpatch" ,python-jsonpatch-0.4)
|
|
|
|
|
("python-docopt" ,python-docopt)
|
|
|
|
|
("python-clint" ,python-clint)
|
|
|
|
|
("python-six" ,python-six)
|
|
|
|
|
("python-schema" ,python-schema-0.5)
|
|
|
|
|
("python-backports-csv" ,python-backports-csv)))
|
|
|
|
|
(native-inputs
|
gnu: Remove python-pytest@2.
* gnu/packages/python.scm (python-pytest): Update to 3.0.7.
[source]: Move substitution to ...
[arguments]: ... here. Incorporate phase from pytest-3.0.
[native-inputs]: Add PYTHON-HYPOTHESIS.
(python-pytest-3.0): Remove variable.
(python2-pytest-3.0): Rename to ...
(python2-pytest): ... this.
[native-inputs]: Add PYTHON2-ENUM34.
* gnu/packages/backup.scm (borg)[native-inputs]: Replace PYTHON-PYTEST-3.0
with PYTHON-PYTEST.
* gnu/packages/calendar.scm (khal): Likewise.
* gnu/packages/databases.scm (python-orator): Likewise.
* gnu/packages/python.scm (python-sphinx-1.6, python-sphinx-1.5.3,
python-pexpect, python-cryptography, python-pyopenssl, python-pytest-warnings,
python-pytest-capturelog, python-pytest-catchlog, python-marshmallow,
python-apispec, python-flasgger, python-pyjwt, python-grako,
python-honcho): Likewise.
* gnu/packages/web.scm (python-internetarchive): Likewise.
2017-07-30 17:25:26 +00:00
|
|
|
|
`(("python-pytest" ,python-pytest)
|
2017-07-15 07:19:37 +00:00
|
|
|
|
("python-pytest-capturelog" ,python-pytest-capturelog)
|
|
|
|
|
("python-responses" ,python-responses)))
|
|
|
|
|
(home-page "https://github.com/jjjake/internetarchive")
|
|
|
|
|
(synopsis "Command-line interface to archive.org")
|
|
|
|
|
(description "@code{ia} is a command-line tool for using
|
2020-12-16 08:58:34 +00:00
|
|
|
|
@url{archive.org} from the command-line. It also implements the
|
2019-05-23 00:41:56 +00:00
|
|
|
|
internetarchive python module for programmatic access to archive.org.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:agpl3+)))
|
2017-07-15 07:19:37 +00:00
|
|
|
|
|
2017-11-03 15:39:17 +00:00
|
|
|
|
(define-public python-clf
|
|
|
|
|
(let ((commit-test-clf "d01d25923c599d3261910f79fb948825b4270d07")) ; 0.5.7
|
|
|
|
|
(package
|
|
|
|
|
(name "python-clf")
|
|
|
|
|
(version "0.5.7")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "clf" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-docopt" ,python-docopt)
|
|
|
|
|
("python-pygments" ,python-pygments)
|
|
|
|
|
("python-requests" ,python-requests)
|
|
|
|
|
("python-nose" ,python-nose)
|
|
|
|
|
("python-lxml" ,python-lxml)
|
|
|
|
|
("python-pyaml" ,python-pyaml)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("test-clf"
|
|
|
|
|
,(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://raw.githubusercontent.com"
|
|
|
|
|
"/ncrocfer/clf/" commit-test-clf
|
|
|
|
|
"/test_clf.py"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"19lr5zdzsmxgkg7wrjq1yzkiahd03wi4k3dskssyhmjls8c10nqd"))))))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'get-tests
|
|
|
|
|
(lambda _
|
2018-04-01 05:48:34 +00:00
|
|
|
|
(copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")
|
|
|
|
|
#t))
|
2017-11-03 15:39:17 +00:00
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
2018-04-01 05:48:34 +00:00
|
|
|
|
(invoke "nosetests"
|
|
|
|
|
;; These tests require an Internet connection.
|
|
|
|
|
"--exclude=test_browse"
|
|
|
|
|
"--exclude=test_command"
|
|
|
|
|
"--exclude=test_search"))))))
|
2017-11-03 15:39:17 +00:00
|
|
|
|
(home-page "https://github.com/ncrocfer/clf")
|
|
|
|
|
(synopsis "Search code snippets on @url{https://commandlinefu.com}")
|
|
|
|
|
(description "@code{clf} is a command line tool for searching code
|
|
|
|
|
snippets on @url{https://commandlinefu.com}.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat))))
|
2017-11-03 15:39:17 +00:00
|
|
|
|
|
|
|
|
|
(define-public python2-clf
|
|
|
|
|
(package-with-python2 python-clf))
|
|
|
|
|
|
2017-08-05 16:58:24 +00:00
|
|
|
|
(define-public rss-bridge
|
|
|
|
|
(package
|
|
|
|
|
(name "rss-bridge")
|
2021-04-15 04:12:07 +00:00
|
|
|
|
(version "2020-11-10")
|
2017-08-05 16:58:24 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-01-31 10:38:17 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/RSS-Bridge/rss-bridge")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-08-05 16:58:24 +00:00
|
|
|
|
(sha256
|
2021-04-15 04:12:07 +00:00
|
|
|
|
(base32 "1mir6mcm37sbdrhl5kgs6schpp3l4r5mfamhiic0yfbz4hqwmg44"))))
|
|
|
|
|
(build-system copy-build-system)
|
2017-08-05 16:58:24 +00:00
|
|
|
|
(arguments
|
2021-04-15 04:12:07 +00:00
|
|
|
|
'(#:install-plan
|
|
|
|
|
'(("." "share/rss-bridge"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;;Change paths to not use source directory.
|
|
|
|
|
(add-before 'install 'patch-paths
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "lib/rssbridge.php"
|
|
|
|
|
(("PATH_ROOT . 'cache/'")
|
|
|
|
|
"'/var/cache/rss-bridge/'")
|
|
|
|
|
(("PATH_ROOT . 'whitelist.txt'")
|
|
|
|
|
"'/etc/rss-bridge/whitelist.txt'")
|
|
|
|
|
(("PATH_ROOT . 'config.ini.php'")
|
|
|
|
|
"'/etc/rss-bridge/config.ini.php'")))))))
|
2017-08-05 16:58:24 +00:00
|
|
|
|
(home-page "https://github.com/RSS-Bridge/rss-bridge")
|
|
|
|
|
(synopsis "Generate Atom feeds for social networking websites")
|
|
|
|
|
(description "rss-bridge generates Atom feeds for social networking
|
|
|
|
|
websites lacking feeds. Supported websites include Facebook, Twitter,
|
|
|
|
|
Instagram and YouTube.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license (list license:public-domain
|
2019-10-25 15:46:21 +00:00
|
|
|
|
license:expat)))) ; vendor/simplehtmldom/simple_html_dom.php
|
2017-06-24 00:07:45 +00:00
|
|
|
|
|
|
|
|
|
(define-public linkchecker
|
|
|
|
|
(package
|
|
|
|
|
(name "linkchecker")
|
2018-06-05 23:13:56 +00:00
|
|
|
|
(version "9.4.0")
|
2017-06-24 00:07:45 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-06-05 23:13:56 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/linkchecker/linkchecker")
|
|
|
|
|
(commit (string-append "v" version))))
|
2019-01-03 21:20:33 +00:00
|
|
|
|
(patches
|
2019-04-19 15:02:28 +00:00
|
|
|
|
(search-patches "linkchecker-tests-require-network.patch"))
|
2018-11-18 09:54:53 +00:00
|
|
|
|
(file-name (git-file-name name version))
|
2017-06-24 00:07:45 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-06-05 23:13:56 +00:00
|
|
|
|
"03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187"))))
|
2017-06-24 00:07:45 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs
|
2020-12-08 02:46:40 +00:00
|
|
|
|
`(("python2-dnspython" ,python2-dnspython-1.16)
|
2018-06-05 23:13:56 +00:00
|
|
|
|
("python2-pyxdg" ,python2-pyxdg)
|
|
|
|
|
("python2-requests" ,python2-requests)))
|
2019-01-03 21:20:33 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gettext" ,gettext-minimal)
|
|
|
|
|
("python2-pytest" ,python2-pytest)
|
|
|
|
|
("python2-miniboa" ,python2-miniboa)
|
|
|
|
|
("python2-parameterized" ,python2-parameterized)))
|
2017-06-24 00:07:45 +00:00
|
|
|
|
(arguments
|
2019-01-03 21:20:33 +00:00
|
|
|
|
`(#:python ,python-2
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; Move the 'check phase to after 'install, so that the installed
|
|
|
|
|
;; library can be used
|
|
|
|
|
(delete 'check)
|
|
|
|
|
(add-after 'install 'check
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
;; Set PYTHONPATH so that the installed linkchecker is used
|
|
|
|
|
(setenv "PYTHONPATH"
|
|
|
|
|
(string-append out "/lib/python2.7/site-packages"
|
|
|
|
|
":"
|
|
|
|
|
(getenv "PYTHONPATH")))
|
|
|
|
|
;; Remove this directory to avoid it being used when running
|
|
|
|
|
;; the tests
|
|
|
|
|
(delete-file-recursively "linkcheck")
|
|
|
|
|
|
|
|
|
|
(invoke "py.test" "tests"))
|
|
|
|
|
#t)))))
|
2017-06-24 00:07:45 +00:00
|
|
|
|
(home-page "https://linkcheck.github.io/linkchecker")
|
|
|
|
|
(synopsis "Check websites for broken links")
|
|
|
|
|
(description "LinkChecker is a website validator. It checks for broken
|
|
|
|
|
links in websites. It is recursive and multithreaded providing output in
|
|
|
|
|
colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It
|
|
|
|
|
supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
|
|
|
|
|
file links.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license (list license:gpl2+
|
|
|
|
|
license:bsd-2 ; linkcheck/better_exchook2.py
|
|
|
|
|
license:bsd-3 ; linkcheck/colorama.py
|
|
|
|
|
license:psfl ; linkcheck/gzip2.py
|
|
|
|
|
license:expat)))) ; linkcheck/mem.py
|
2017-02-01 23:14:56 +00:00
|
|
|
|
|
|
|
|
|
(define-public cadaver
|
|
|
|
|
(package
|
|
|
|
|
(name "cadaver")
|
|
|
|
|
(version "0.23.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.webdav.org/cadaver/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
;; TODO: Unbundle libneon and make build succeed with new neon.
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags (list "--with-ssl=openssl")
|
|
|
|
|
#:tests? #f)) ;No tests included
|
|
|
|
|
(native-inputs
|
2020-04-04 13:48:44 +00:00
|
|
|
|
`(("gettext" ,gettext-minimal)
|
2017-02-01 23:14:56 +00:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("intltool" ,intltool)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("expat" ,expat)
|
2020-04-04 13:48:31 +00:00
|
|
|
|
("openssl" ,openssl-1.0)))
|
2020-03-13 12:26:22 +00:00
|
|
|
|
(home-page "http://www.webdav.org/cadaver/")
|
2017-02-01 23:14:56 +00:00
|
|
|
|
(synopsis "Command-line WebDAV client")
|
|
|
|
|
(description
|
2020-03-13 12:26:22 +00:00
|
|
|
|
"Cadaver is a command-line WebDAV client for Unix. It supports
|
2017-02-01 23:14:56 +00:00
|
|
|
|
file upload, download, on-screen display, namespace operations (move/copy),
|
|
|
|
|
collection creation and deletion, and locking operations.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:gpl2)))
|
2017-10-11 09:59:36 +00:00
|
|
|
|
|
2020-12-05 13:10:32 +00:00
|
|
|
|
(define-public castor
|
|
|
|
|
(package
|
|
|
|
|
(name "castor")
|
|
|
|
|
(version "0.8.16")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://git.sr.ht/~julienxx/castor")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0rwg1w7srjwa23mkypl8zk6674nhph4xsc6nc01f6g5k959szylr"))))
|
|
|
|
|
(build-system cargo-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:cargo-inputs
|
|
|
|
|
(("rust-ansi-parser" ,rust-ansi-parser-0.6)
|
2021-01-29 22:59:25 +00:00
|
|
|
|
("rust-dirs" ,rust-dirs-2)
|
2020-12-05 13:10:32 +00:00
|
|
|
|
("rust-gdk" ,rust-gdk-0.13)
|
|
|
|
|
("rust-gtk" ,rust-gtk-0.8)
|
|
|
|
|
("rust-linkify" ,rust-linkify-0.4)
|
|
|
|
|
("rust-native-tls" ,rust-native-tls-0.2)
|
|
|
|
|
("rust-open" ,rust-open-1)
|
|
|
|
|
("rust-percent-encoding" ,rust-percent-encoding-2)
|
|
|
|
|
("rust-url" ,rust-url-2))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("atk" ,atk)
|
|
|
|
|
("cairo" ,cairo)
|
|
|
|
|
("gdk-pixbuf" ,gdk-pixbuf)
|
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("libressl" ,libressl)
|
|
|
|
|
("pango" ,pango)))
|
|
|
|
|
(home-page "https://git.sr.ht/~julienxx/castor")
|
|
|
|
|
(synopsis "Graphical client for plain-text protocols")
|
|
|
|
|
(description
|
|
|
|
|
"Castor is a graphical client for plain-text protocols written in
|
|
|
|
|
Rust with GTK. It currently supports the Gemini, Gopher and Finger
|
|
|
|
|
protocols.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2017-10-11 09:59:36 +00:00
|
|
|
|
(define-public python-py-ubjson
|
|
|
|
|
(package
|
|
|
|
|
(name "python-py-ubjson")
|
|
|
|
|
(version "0.10.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "py-ubjson" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"03l9m9w5ip4hw0y69wlys5gzsfb7zcq3a77blj88grgiqhn5vm5n"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(home-page "https://github.com/Iotic-Labs/py-ubjson")
|
|
|
|
|
(synopsis "Universal Binary JSON encoder/decoder")
|
|
|
|
|
(description
|
|
|
|
|
"Py-ubjson is a Python module providing an Universal Binary JSON
|
|
|
|
|
encoder/decoder based on the draft-12 specification for UBJSON.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:asl2.0)))
|
2017-10-23 19:54:44 +00:00
|
|
|
|
|
|
|
|
|
(define-public java-tomcat
|
|
|
|
|
(package
|
|
|
|
|
(name "java-tomcat")
|
2021-03-02 01:17:35 +00:00
|
|
|
|
(version "8.5.63")
|
2017-10-23 19:54:44 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://apache/tomcat/tomcat-8/v"
|
|
|
|
|
version "/src/apache-tomcat-" version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-03-02 01:17:35 +00:00
|
|
|
|
"1wr6mpgbk2gs18vp8mdggiq6vifj68a875dd1fkdf7cs31q54rns"))
|
2018-07-21 08:25:10 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
;; Delete bundled jars.
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(for-each delete-file (find-files "." "\\.jar$"))
|
2019-03-06 23:58:05 +00:00
|
|
|
|
(for-each delete-file (find-files "." "\\.bat$"))
|
2018-07-21 08:25:10 +00:00
|
|
|
|
#t))))
|
2017-10-23 19:54:44 +00:00
|
|
|
|
(build-system ant-build-system)
|
|
|
|
|
(inputs
|
2019-03-06 23:58:05 +00:00
|
|
|
|
`(("java-commons-daemon" ,java-commons-daemon)
|
|
|
|
|
("java-ecj" ,java-ecj)))
|
2017-10-23 19:54:44 +00:00
|
|
|
|
(arguments
|
2019-03-06 23:58:05 +00:00
|
|
|
|
`(#:build-target "deploy"
|
2017-10-23 19:54:44 +00:00
|
|
|
|
#:tests? #f; requires downloading some files.
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'prevent-download
|
|
|
|
|
(lambda _
|
|
|
|
|
;; This directory must exist
|
|
|
|
|
(mkdir "downloads")
|
|
|
|
|
;; We patch build.xml so it doesn't download any dependency, because
|
|
|
|
|
;; we already have all of them.
|
|
|
|
|
(substitute* "build.xml"
|
|
|
|
|
(("download-compile,") "")
|
|
|
|
|
(("depends=\"validate\"") "depends=\"build-prepare\"")
|
|
|
|
|
((",download-validate") ""))
|
|
|
|
|
#t))
|
2018-07-21 08:25:32 +00:00
|
|
|
|
(add-after 'unpack 'strip-timestamps
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "build.xml"
|
|
|
|
|
(("<filter token=\"YEAR\" value=.*")
|
|
|
|
|
"<filter token=\"YEAR\" value=\"1970\"/>")
|
|
|
|
|
(("<filter token=\"VERSION_BUILT\" value=.*")
|
|
|
|
|
"<filter token=\"VERSION_BUILT\" value=\"Jan 1 1970 00:00:00 UTC\"/>"))
|
|
|
|
|
#t))
|
2019-03-06 23:58:05 +00:00
|
|
|
|
(add-after 'unpack 'modify-deploy
|
|
|
|
|
(lambda _
|
|
|
|
|
;; The Tomcat build downloads and copies these files to the
|
|
|
|
|
;; bin and lib directory.
|
|
|
|
|
;; We instead symlink to the input (see below).
|
|
|
|
|
(substitute* "build.xml"
|
|
|
|
|
(("<copy tofile=\"\\$\\{tomcat.build\\}/bin/commons-daemon.jar.*") "")
|
|
|
|
|
(("<copy file=\"\\$\\{jdt.jar\\}\" todir=\"\\$\\{tomcat.build\\}/lib\"/>")
|
|
|
|
|
""))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'symlink-commons-daemon
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((commons-daemon (assoc-ref inputs "java-commons-daemon"))
|
|
|
|
|
(files (find-files commons-daemon "commons-daemon-.*\\.jar"))
|
|
|
|
|
(daemon-jar (car files))
|
|
|
|
|
(out-bin (string-append (assoc-ref outputs "out") "/bin"))
|
|
|
|
|
(target (string-append out-bin "/commons-daemon.jar")))
|
|
|
|
|
(symlink daemon-jar target)
|
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'install 'symlink-java-ecj
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((java-ecj (assoc-ref inputs "java-ecj"))
|
|
|
|
|
(files (find-files java-ecj "ecj.*\\.jar"))
|
|
|
|
|
(java-ecj-jar (car files))
|
|
|
|
|
(out-lib (string-append (assoc-ref outputs "out") "/lib"))
|
|
|
|
|
(target (string-append out-lib "/java-ecj.jar")))
|
|
|
|
|
(symlink java-ecj-jar target)
|
|
|
|
|
#t)))
|
2017-10-23 19:54:44 +00:00
|
|
|
|
(add-after 'unpack 'generate-properties
|
|
|
|
|
(lambda _
|
|
|
|
|
;; This could have been passed to make-flags, but getcwd returns
|
|
|
|
|
;; a different directory then.
|
|
|
|
|
(with-output-to-file "build.properties"
|
|
|
|
|
(lambda _
|
|
|
|
|
(display
|
|
|
|
|
(string-append "base.path=" (getcwd) "/downloads\n"))))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'install
|
2019-03-06 23:58:05 +00:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(copy-recursively "output/build" out))
|
|
|
|
|
#t)))))
|
2020-03-22 12:34:01 +00:00
|
|
|
|
(properties '((cpe-name . "tomcat")))
|
2017-10-23 19:54:44 +00:00
|
|
|
|
(home-page "https://tomcat.apache.org")
|
|
|
|
|
(synopsis "Java Servlet, JavaServer Pages, Java Expression Language and Java
|
|
|
|
|
WebSocket")
|
|
|
|
|
(description "Apache Tomcat is a free implementation of the Java
|
|
|
|
|
Servlet, JavaServer Pages, Java Expression Language and Java WebSocket
|
|
|
|
|
technologies.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:asl2.0)))
|
2017-10-14 22:07:09 +00:00
|
|
|
|
|
|
|
|
|
(define-public java-eclipse-jetty-test-helper
|
|
|
|
|
(package
|
|
|
|
|
(name "java-eclipse-jetty-test-helper")
|
|
|
|
|
(version "4.2")
|
|
|
|
|
(source (origin
|
2020-04-24 11:44:57 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/eclipse/jetty.toolchain/")
|
|
|
|
|
(commit (string-append "jetty-test-helper-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-10-14 22:07:09 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-04-24 11:44:57 +00:00
|
|
|
|
"1g7cdh03nfwbdxzvwm84ysgvw08xx7431lsjryj2gmf3lrqpizgb"))))
|
2017-10-14 22:07:09 +00:00
|
|
|
|
(build-system ant-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "eclipse-jetty-test-helper.jar"
|
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
|
#:test-dir "src/test"
|
|
|
|
|
#:jdk ,icedtea-8
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'chdir
|
|
|
|
|
(lambda _
|
2019-03-01 21:43:32 +00:00
|
|
|
|
(chdir "jetty-test-helper")
|
|
|
|
|
#t))
|
2017-10-14 22:07:09 +00:00
|
|
|
|
(add-before 'build 'fix-paths
|
|
|
|
|
(lambda _
|
|
|
|
|
;; TODO:
|
|
|
|
|
;; This file assumes that the build directory is named "target"
|
|
|
|
|
;; but it is not the case with our ant-build-system. Once we have
|
|
|
|
|
;; maven though, we will have to rebuild this package because this
|
|
|
|
|
;; assumption is correct with maven-build-system.
|
|
|
|
|
(substitute*
|
|
|
|
|
"src/main/java/org/eclipse/jetty/toolchain/test/MavenTestingUtils.java"
|
|
|
|
|
(("\"target\"") "\"build\"")
|
|
|
|
|
(("\"tests\"") "\"test-classes\""))
|
|
|
|
|
;; Tests assume we are building with maven, so that the build
|
|
|
|
|
;; directory is named "target", and not "build".
|
|
|
|
|
(with-directory-excursion "src/test/java/org/eclipse/jetty/toolchain/test"
|
|
|
|
|
(substitute* '("FSTest.java" "OSTest.java" "TestingDirTest.java"
|
|
|
|
|
"MavenTestingUtilsTest.java")
|
|
|
|
|
(("target/tests") "build/test-classes")
|
|
|
|
|
(("\"target") "\"build")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("junit" ,java-junit)
|
|
|
|
|
("hamcrest" ,java-hamcrest-all)))
|
|
|
|
|
(home-page "https://www.eclipse.org/jetty/")
|
|
|
|
|
(synopsis "Helper classes for jetty tests")
|
2019-05-22 22:38:27 +00:00
|
|
|
|
(description "This package contains helper classes for testing the Jetty
|
2017-10-14 22:07:09 +00:00
|
|
|
|
Web Server.")
|
|
|
|
|
;; This program is licensed under both epl and asl.
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license (list license:epl1.0 license:asl2.0))))
|
2017-10-23 18:57:23 +00:00
|
|
|
|
|
|
|
|
|
(define-public java-eclipse-jetty-perf-helper
|
|
|
|
|
(package
|
|
|
|
|
(inherit java-eclipse-jetty-test-helper)
|
|
|
|
|
(name "java-eclipse-jetty-perf-helper")
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "eclipse-jetty-perf-helper.jar"
|
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
|
#:tests? #f; no tests
|
|
|
|
|
#:jdk ,icedtea-8
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'chdir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "jetty-perf-helper")
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("hdrhistogram" ,java-hdrhistogram)))))
|
2017-10-10 21:10:42 +00:00
|
|
|
|
|
|
|
|
|
(define-public java-eclipse-jetty-util
|
|
|
|
|
(package
|
|
|
|
|
(name "java-eclipse-jetty-util")
|
2021-04-02 10:55:16 +00:00
|
|
|
|
(version "9.4.39")
|
2017-10-10 21:10:42 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/eclipse/jetty.project/"
|
2021-04-02 10:55:16 +00:00
|
|
|
|
"archive/jetty-" version ".v20210325.tar.gz"))
|
2017-10-10 21:10:42 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-04-02 10:55:16 +00:00
|
|
|
|
"0b4hy4zmdmfbqk9bzmxk7v75y2ysqiappkip4z3hb9lxjvjh0b19"))))
|
2017-10-10 21:10:42 +00:00
|
|
|
|
(build-system ant-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "eclipse-jetty-util.jar"
|
|
|
|
|
#:source-dir "src/main/java"
|
2021-04-02 10:55:16 +00:00
|
|
|
|
#:tests? #f; require junit 5
|
2017-10-10 21:10:42 +00:00
|
|
|
|
#:test-exclude
|
|
|
|
|
(list "**/Abstract*.java"
|
|
|
|
|
;; requires network
|
|
|
|
|
"**/InetAddressSetTest.java"
|
|
|
|
|
;; Assumes we are using maven
|
|
|
|
|
"**/TypeUtilTest.java"
|
|
|
|
|
;; Error on the style of log
|
|
|
|
|
"**/StdErrLogTest.java")
|
|
|
|
|
#:jdk ,icedtea-8
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'chdir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "jetty-util")
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("slf4j" ,java-slf4j-api)
|
2019-03-04 19:53:43 +00:00
|
|
|
|
("servlet" ,java-javaee-servletapi)))
|
2017-10-10 21:10:42 +00:00
|
|
|
|
(home-page "https://www.eclipse.org/jetty/")
|
|
|
|
|
(synopsis "Utility classes for Jetty")
|
|
|
|
|
(description "The Jetty Web Server provides an HTTP server and Servlet
|
|
|
|
|
container capable of serving static and dynamic content either from a standalone
|
|
|
|
|
or embedded instantiation. This package provides utility classes.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license (list license:epl1.0 license:asl2.0))))
|
2017-10-10 21:12:14 +00:00
|
|
|
|
|
|
|
|
|
;; This version is required by maven-wagon
|
|
|
|
|
(define-public java-eclipse-jetty-util-9.2
|
|
|
|
|
(package
|
|
|
|
|
(inherit java-eclipse-jetty-util)
|
|
|
|
|
(version "9.2.22")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/eclipse/jetty.project/"
|
|
|
|
|
"archive/jetty-" version ".v20170606.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "eclipse-jetty-util.jar"
|
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
|
#:jdk ,icedtea-8
|
|
|
|
|
#:test-exclude
|
|
|
|
|
(list "**/Abstract*.java"
|
|
|
|
|
;; requires network
|
|
|
|
|
"**/InetAddressSetTest.java"
|
|
|
|
|
;; Assumes we are using maven
|
|
|
|
|
"**/TypeUtilTest.java"
|
|
|
|
|
;; We don't have an implementation for slf4j
|
|
|
|
|
"**/LogTest.java"
|
|
|
|
|
;; Error on the style of log
|
|
|
|
|
"**/StdErrLogTest.java")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'chdir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "jetty-util")
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'build 'fix-test-sources
|
|
|
|
|
(lambda _
|
|
|
|
|
;; We need to fix issues caused by changes in newer versions of
|
|
|
|
|
;; jetty-test-helper
|
|
|
|
|
(let ((src "src/test/java/org/eclipse/jetty/util/resource"))
|
|
|
|
|
(substitute* (string-append src "/AbstractFSResourceTest.java")
|
|
|
|
|
(("testdir.getDir\\(\\)") "testdir.getPath().toFile()")
|
|
|
|
|
(("testdir.getFile\\(\"foo\"\\)")
|
|
|
|
|
"testdir.getPathFile(\"foo\").toFile()")
|
|
|
|
|
(("testdir.getFile\\(name\\)")
|
|
|
|
|
"testdir.getPathFile(name).toFile()")))
|
2021-05-09 01:39:29 +00:00
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("java-junit" ,java-junit)
|
|
|
|
|
("java-hamcrest-all" ,java-hamcrest-all)
|
|
|
|
|
("perf-helper" ,java-eclipse-jetty-perf-helper)
|
|
|
|
|
("test-helper" ,java-eclipse-jetty-test-helper)))))
|
2017-10-14 20:35:49 +00:00
|
|
|
|
|
|
|
|
|
(define-public java-eclipse-jetty-io
|
|
|
|
|
(package
|
|
|
|
|
(inherit java-eclipse-jetty-util)
|
|
|
|
|
(name "java-eclipse-jetty-io")
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "eclipse-jetty-io.jar"
|
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
|
#:jdk ,icedtea-8
|
2021-04-02 10:55:16 +00:00
|
|
|
|
#:tests? #f; require junit 5
|
2017-10-14 20:35:49 +00:00
|
|
|
|
#:test-exclude (list "**/Abstract*.java"
|
|
|
|
|
;; Abstract class
|
|
|
|
|
"**/EndPointTest.java")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'chdir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "jetty-io")
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("slf4j" ,java-slf4j-api)
|
2018-07-21 08:24:25 +00:00
|
|
|
|
("servlet" ,java-javaee-servletapi)
|
2017-10-14 20:35:49 +00:00
|
|
|
|
("util" ,java-eclipse-jetty-util)))
|
|
|
|
|
(synopsis "Jetty :: IO Utility")
|
|
|
|
|
(description "The Jetty Web Server provides an HTTP server and Servlet
|
|
|
|
|
container capable of serving static and dynamic content either from a standalone
|
|
|
|
|
or embedded instantiation. This package provides IO-related utility classes.")))
|
2017-10-14 20:36:23 +00:00
|
|
|
|
|
|
|
|
|
(define-public java-eclipse-jetty-io-9.2
|
|
|
|
|
(package
|
|
|
|
|
(inherit java-eclipse-jetty-io)
|
|
|
|
|
(version (package-version java-eclipse-jetty-util-9.2))
|
|
|
|
|
(source (package-source java-eclipse-jetty-util-9.2))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("util" ,java-eclipse-jetty-util-9.2)
|
|
|
|
|
,@(package-inputs java-eclipse-jetty-util-9.2)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("mockito" ,java-mockito-1)
|
|
|
|
|
("cglib" ,java-cglib)
|
|
|
|
|
("objenesis" ,java-objenesis)
|
|
|
|
|
("asm" ,java-asm)
|
|
|
|
|
,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
|
2017-10-14 20:37:33 +00:00
|
|
|
|
|
|
|
|
|
(define-public java-eclipse-jetty-http
|
|
|
|
|
(package
|
|
|
|
|
(inherit java-eclipse-jetty-util)
|
|
|
|
|
(name "java-eclipse-jetty-http")
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "eclipse-jetty-http.jar"
|
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
|
#:jdk ,icedtea-8
|
2021-04-02 10:55:16 +00:00
|
|
|
|
#:tests? #f; require junit 5
|
2017-10-14 20:37:33 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'chdir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "jetty-http")
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'build 'copy-resources
|
|
|
|
|
(lambda _
|
|
|
|
|
(mkdir-p "build/classes")
|
|
|
|
|
(copy-recursively "src/main/resources/" "build/classes/")
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("slf4j" ,java-slf4j-api)
|
2018-07-21 08:24:25 +00:00
|
|
|
|
("servlet" ,java-javaee-servletapi)
|
2017-10-14 20:37:33 +00:00
|
|
|
|
("io" ,java-eclipse-jetty-io)
|
|
|
|
|
("util" ,java-eclipse-jetty-util)))
|
|
|
|
|
(synopsis "Jetty :: Http Utility")
|
|
|
|
|
(description "The Jetty Web Server provides an HTTP server and Servlet
|
|
|
|
|
container capable of serving static and dynamic content either from a standalone
|
|
|
|
|
or embedded instantiation. This package provides HTTP-related utility classes.")))
|
2017-10-14 20:38:21 +00:00
|
|
|
|
|
|
|
|
|
(define-public java-eclipse-jetty-http-9.2
|
|
|
|
|
(package
|
|
|
|
|
(inherit java-eclipse-jetty-http)
|
|
|
|
|
(version (package-version java-eclipse-jetty-util-9.2))
|
|
|
|
|
(source (package-source java-eclipse-jetty-util-9.2))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("util" ,java-eclipse-jetty-util-9.2)
|
|
|
|
|
("io" ,java-eclipse-jetty-io-9.2)
|
|
|
|
|
,@(package-inputs java-eclipse-jetty-util-9.2)))))
|
2017-10-14 20:40:30 +00:00
|
|
|
|
|
|
|
|
|
(define-public java-eclipse-jetty-jmx
|
|
|
|
|
(package
|
|
|
|
|
(inherit java-eclipse-jetty-util)
|
|
|
|
|
(name "java-eclipse-jetty-jmx")
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "eclipse-jetty-jmx.jar"
|
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
|
#:jdk ,icedtea-8
|
|
|
|
|
#:tests? #f; FIXME: requires com.openpojo.validation
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'chdir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "jetty-jmx")
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("slf4j" ,java-slf4j-api)
|
2018-07-21 08:24:25 +00:00
|
|
|
|
("servlet" ,java-javaee-servletapi)
|
2017-10-14 20:40:30 +00:00
|
|
|
|
("util" ,java-eclipse-jetty-util)))
|
|
|
|
|
(synopsis "Jetty :: JMX Management")
|
|
|
|
|
(description "The Jetty Web Server provides an HTTP server and Servlet
|
|
|
|
|
container capable of serving static and dynamic content either from a standalone
|
|
|
|
|
or embedded instantiation. This package provides the JMX management.")))
|
2017-10-14 20:41:01 +00:00
|
|
|
|
|
|
|
|
|
(define-public java-eclipse-jetty-jmx-9.2
|
|
|
|
|
(package
|
|
|
|
|
(inherit java-eclipse-jetty-jmx)
|
|
|
|
|
(version (package-version java-eclipse-jetty-util-9.2))
|
|
|
|
|
(source (package-source java-eclipse-jetty-util-9.2))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("util" ,java-eclipse-jetty-util-9.2)
|
|
|
|
|
,@(package-inputs java-eclipse-jetty-util-9.2)))))
|
2017-10-14 20:45:46 +00:00
|
|
|
|
|
|
|
|
|
(define java-eclipse-jetty-http-test-classes
|
|
|
|
|
(package
|
|
|
|
|
(inherit java-eclipse-jetty-util)
|
|
|
|
|
(name "java-eclipse-jetty-http-test-classes")
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "eclipse-jetty-http.jar"
|
|
|
|
|
#:source-dir "src/test"
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:jdk ,icedtea-8
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'chdir
|
|
|
|
|
(lambda _
|
2019-03-01 21:47:37 +00:00
|
|
|
|
(chdir "jetty-http")
|
|
|
|
|
#t)))))
|
2017-10-14 20:45:46 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("slf4j" ,java-slf4j-api)
|
2019-03-04 19:53:43 +00:00
|
|
|
|
("java-javaee-servletapi" ,java-javaee-servletapi)
|
2017-10-14 20:45:46 +00:00
|
|
|
|
("http" ,java-eclipse-jetty-http)
|
|
|
|
|
("io" ,java-eclipse-jetty-io)
|
|
|
|
|
("util" ,java-eclipse-jetty-util)))))
|
|
|
|
|
|
2017-10-14 20:48:10 +00:00
|
|
|
|
(define java-eclipse-jetty-http-test-classes-9.2
|
|
|
|
|
(package
|
|
|
|
|
(inherit java-eclipse-jetty-http-test-classes)
|
|
|
|
|
(version (package-version java-eclipse-jetty-util-9.2))
|
|
|
|
|
(source (package-source java-eclipse-jetty-util-9.2))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("http" ,java-eclipse-jetty-http-9.2)
|
2021-05-09 01:45:10 +00:00
|
|
|
|
,@(package-inputs java-eclipse-jetty-http-9.2)))
|
|
|
|
|
(native-inputs (package-native-inputs java-eclipse-jetty-util-9.2))))
|
2017-10-14 20:48:10 +00:00
|
|
|
|
|
2017-10-14 20:45:46 +00:00
|
|
|
|
(define-public java-eclipse-jetty-server
|
|
|
|
|
(package
|
|
|
|
|
(inherit java-eclipse-jetty-util)
|
|
|
|
|
(name "java-eclipse-jetty-server")
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "eclipse-jetty-server.jar"
|
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
|
#:jdk ,icedtea-8
|
|
|
|
|
#:tests? #f; requires a mockito version we don't have
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'chdir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "jetty-server")
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'build 'fix-source
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Explicit casts to prevent build failures
|
|
|
|
|
(substitute* "src/main/java/org/eclipse/jetty/server/Request.java"
|
|
|
|
|
(("append\\(LazyList")
|
|
|
|
|
"append((CharSequence)LazyList"))
|
|
|
|
|
(substitute*
|
|
|
|
|
"src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java"
|
|
|
|
|
(((string-append
|
|
|
|
|
"Class<\\? extends EventListener> clazz = _classLoader==null"
|
|
|
|
|
"\\?Loader.loadClass\\(ContextHandler.class,className\\):"
|
|
|
|
|
"_classLoader.loadClass\\(className\\);"))
|
|
|
|
|
(string-append "Class<? extends EventListener> clazz = "
|
|
|
|
|
"(Class<? extends EventListener>) "
|
|
|
|
|
"(_classLoader==null?Loader.loadClass("
|
|
|
|
|
"ContextHandler.class,className):"
|
|
|
|
|
"_classLoader.loadClass(className));")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("slf4j" ,java-slf4j-api)
|
2018-07-21 08:24:25 +00:00
|
|
|
|
("servlet" ,java-javaee-servletapi)
|
2017-10-14 20:45:46 +00:00
|
|
|
|
("http" ,java-eclipse-jetty-http)
|
|
|
|
|
("io" ,java-eclipse-jetty-io)
|
|
|
|
|
("jmx" ,java-eclipse-jetty-jmx)
|
|
|
|
|
("util" ,java-eclipse-jetty-util)))
|
|
|
|
|
(synopsis "Core jetty server artifact")
|
|
|
|
|
(description "The Jetty Web Server provides an HTTP server and Servlet
|
|
|
|
|
container capable of serving static and dynamic content either from a standalone
|
|
|
|
|
or embedded instantiation. This package provides the core jetty server
|
|
|
|
|
artifact.")))
|
2017-10-14 20:48:10 +00:00
|
|
|
|
|
|
|
|
|
(define-public java-eclipse-jetty-server-9.2
|
|
|
|
|
(package
|
|
|
|
|
(inherit java-eclipse-jetty-server)
|
|
|
|
|
(version (package-version java-eclipse-jetty-util-9.2))
|
|
|
|
|
(source (package-source java-eclipse-jetty-util-9.2))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("util" ,java-eclipse-jetty-util-9.2)
|
|
|
|
|
("jmx" ,java-eclipse-jetty-jmx-9.2)
|
|
|
|
|
("io" ,java-eclipse-jetty-io-9.2)
|
|
|
|
|
("http" ,java-eclipse-jetty-http-9.2)
|
|
|
|
|
,@(package-inputs java-eclipse-jetty-util-9.2)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
|
|
|
|
|
,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
|
2017-10-14 20:51:00 +00:00
|
|
|
|
|
|
|
|
|
(define-public java-eclipse-jetty-security
|
|
|
|
|
(package
|
|
|
|
|
(inherit java-eclipse-jetty-util)
|
|
|
|
|
(name "java-eclipse-jetty-security")
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "eclipse-jetty-security.jar"
|
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
|
#:jdk ,icedtea-8
|
2021-04-02 10:55:16 +00:00
|
|
|
|
#:tests? #f; require junit 5
|
2018-06-28 08:29:53 +00:00
|
|
|
|
#:test-exclude (list "**/ConstraintTest.*") ; This test fails
|
2017-10-14 20:51:00 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'chdir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "jetty-security")
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("slf4j" ,java-slf4j-api)
|
2019-03-04 19:53:43 +00:00
|
|
|
|
("servlet" ,java-javaee-servletapi)
|
2017-10-14 20:51:00 +00:00
|
|
|
|
("http" ,java-eclipse-jetty-http)
|
|
|
|
|
("server" ,java-eclipse-jetty-server)
|
|
|
|
|
("util" ,java-eclipse-jetty-util)))
|
|
|
|
|
(synopsis "Jetty security infrastructure")
|
|
|
|
|
(description "The Jetty Web Server provides an HTTP server and Servlet
|
|
|
|
|
container capable of serving static and dynamic content either from a standalone
|
|
|
|
|
or embedded instantiation. This package provides the core jetty security
|
|
|
|
|
infrastructure")))
|
2017-10-14 20:51:54 +00:00
|
|
|
|
|
|
|
|
|
(define-public java-eclipse-jetty-security-9.2
|
|
|
|
|
(package
|
|
|
|
|
(inherit java-eclipse-jetty-security)
|
|
|
|
|
(version (package-version java-eclipse-jetty-util-9.2))
|
|
|
|
|
(source (package-source java-eclipse-jetty-util-9.2))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("util" ,java-eclipse-jetty-util-9.2)
|
|
|
|
|
("http" ,java-eclipse-jetty-http-9.2)
|
|
|
|
|
("server" ,java-eclipse-jetty-server-9.2)
|
|
|
|
|
,@(package-inputs java-eclipse-jetty-util-9.2)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("io" ,java-eclipse-jetty-io-9.2)
|
|
|
|
|
,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
|
2017-10-14 20:55:57 +00:00
|
|
|
|
|
2021-04-02 10:55:16 +00:00
|
|
|
|
(define-public java-eclipse-jetty-util-ajax
|
|
|
|
|
(package
|
|
|
|
|
(inherit java-eclipse-jetty-util)
|
|
|
|
|
(name "java-eclipse-jetty-util-ajax")
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "eclipse-jetty-util-ajax.jar"
|
|
|
|
|
#:source-dir "jetty-util-ajax/src/main/java"
|
|
|
|
|
#:tests? #f)); require junit 5
|
|
|
|
|
(inputs
|
|
|
|
|
`(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)
|
|
|
|
|
("java-javaee-servletapi" ,java-javaee-servletapi)))))
|
|
|
|
|
|
2017-10-14 20:55:57 +00:00
|
|
|
|
(define-public java-eclipse-jetty-servlet
|
|
|
|
|
(package
|
|
|
|
|
(inherit java-eclipse-jetty-util)
|
|
|
|
|
(name "java-eclipse-jetty-servlet")
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "eclipse-jetty-servlet.jar"
|
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
|
#:jdk ,icedtea-8
|
2021-04-02 10:55:16 +00:00
|
|
|
|
#:tests? #f; require junit 5
|
2017-10-14 20:55:57 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'chdir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "jetty-servlet")
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("slf4j" ,java-slf4j-api)
|
2019-03-04 19:53:43 +00:00
|
|
|
|
("java-javaee-servletapi" ,java-javaee-servletapi)
|
2021-04-02 10:55:16 +00:00
|
|
|
|
("java-eclipse-jetty-util-ajax" ,java-eclipse-jetty-util-ajax)
|
2017-10-14 20:55:57 +00:00
|
|
|
|
("http" ,java-eclipse-jetty-http)
|
|
|
|
|
("io" ,java-eclipse-jetty-io)
|
|
|
|
|
("jmx" ,java-eclipse-jetty-jmx)
|
|
|
|
|
("security" ,java-eclipse-jetty-security)
|
|
|
|
|
("server" ,java-eclipse-jetty-server)
|
|
|
|
|
("util" ,java-eclipse-jetty-util)))
|
|
|
|
|
(synopsis "Jetty Servlet Container")
|
|
|
|
|
(description "The Jetty Web Server provides an HTTP server and Servlet
|
|
|
|
|
container capable of serving static and dynamic content either from a standalone
|
|
|
|
|
or embedded instantiation. This package provides the core jetty servlet
|
|
|
|
|
container.")))
|
2017-10-14 21:00:30 +00:00
|
|
|
|
|
|
|
|
|
(define-public java-eclipse-jetty-servlet-9.2
|
|
|
|
|
(package
|
|
|
|
|
(inherit java-eclipse-jetty-servlet)
|
|
|
|
|
(version (package-version java-eclipse-jetty-util-9.2))
|
|
|
|
|
(source (package-source java-eclipse-jetty-util-9.2))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "eclipse-jetty-servlet.jar"
|
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
|
#:jdk ,icedtea-8
|
|
|
|
|
#:tests? #f; doesn't work
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'chdir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "jetty-servlet")
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("util" ,java-eclipse-jetty-util-9.2)
|
|
|
|
|
("jmx" ,java-eclipse-jetty-jmx-9.2)
|
|
|
|
|
("io" ,java-eclipse-jetty-io-9.2)
|
|
|
|
|
("http" ,java-eclipse-jetty-http-9.2)
|
|
|
|
|
("security" ,java-eclipse-jetty-security-9.2)
|
|
|
|
|
("http-test" ,java-eclipse-jetty-http-test-classes-9.2)
|
|
|
|
|
("server" ,java-eclipse-jetty-server-9.2)
|
|
|
|
|
,@(package-inputs java-eclipse-jetty-util-9.2)))))
|
2017-10-23 08:05:57 +00:00
|
|
|
|
|
2018-03-17 11:58:23 +00:00
|
|
|
|
(define-public java-eclipse-jetty-xml
|
|
|
|
|
(package
|
|
|
|
|
(inherit java-eclipse-jetty-util)
|
|
|
|
|
(name "java-eclipse-jetty-xml")
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "eclipse-jetty-xml.jar"
|
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
|
#:jdk ,icedtea-8
|
|
|
|
|
#:tests? #f; most tests require network
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'chdir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "jetty-xml")
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
|
|
|
|
|
,@(package-native-inputs java-eclipse-jetty-util)))))
|
|
|
|
|
|
2018-03-17 11:59:28 +00:00
|
|
|
|
(define-public java-eclipse-jetty-xml-9.2
|
|
|
|
|
(package
|
|
|
|
|
(inherit java-eclipse-jetty-xml)
|
|
|
|
|
(version (package-version java-eclipse-jetty-util-9.2))
|
|
|
|
|
(source (package-source java-eclipse-jetty-util-9.2))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "eclipse-jetty-xml.jar"
|
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
|
#:jdk ,icedtea-8
|
|
|
|
|
#:tests? #f; most tests require network
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'chdir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "jetty-xml")
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
|
|
|
|
|
,@(package-inputs java-eclipse-jetty-util-9.2)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
|
|
|
|
|
,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
|
|
|
|
|
|
2018-03-17 12:00:06 +00:00
|
|
|
|
(define-public java-eclipse-jetty-webapp
|
|
|
|
|
(package
|
|
|
|
|
(inherit java-eclipse-jetty-util)
|
|
|
|
|
(name "java-eclipse-jetty-webapp")
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "eclipse-jetty-webapp.jar"
|
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
|
#:jdk ,icedtea-8
|
2021-04-02 10:55:16 +00:00
|
|
|
|
#:tests? #f; require junit 5
|
2018-03-17 12:00:06 +00:00
|
|
|
|
;; One test fails
|
|
|
|
|
#:test-exclude (list "**/WebAppContextTest.java")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'chdir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "jetty-webapp")
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)
|
|
|
|
|
("java-eclipse-jetty-http" ,java-eclipse-jetty-http)
|
2021-04-02 10:55:16 +00:00
|
|
|
|
("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
|
2018-03-17 12:00:06 +00:00
|
|
|
|
("java-eclipse-jetty-server" ,java-eclipse-jetty-server)
|
|
|
|
|
("java-eclipse-jetty-servlet" ,java-eclipse-jetty-servlet)
|
|
|
|
|
("java-eclipse-jetty-security" ,java-eclipse-jetty-security)
|
|
|
|
|
("java-eclipse-jetty-xml" ,java-eclipse-jetty-xml)
|
2021-04-02 10:55:16 +00:00
|
|
|
|
("java-javaee-servletapi" ,java-javaee-servletapi)))))
|
2018-03-17 12:00:06 +00:00
|
|
|
|
|
2018-03-17 12:00:43 +00:00
|
|
|
|
(define-public java-eclipse-jetty-webapp-9.2
|
|
|
|
|
(package
|
|
|
|
|
(inherit java-eclipse-jetty-webapp)
|
|
|
|
|
(version (package-version java-eclipse-jetty-util-9.2))
|
|
|
|
|
(source (package-source java-eclipse-jetty-util-9.2))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "eclipse-jetty-webapp.jar"
|
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
|
#:jdk ,icedtea-8
|
|
|
|
|
#:test-exclude (list "**/WebAppContextTest.java")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'chdir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "jetty-webapp")
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
|
|
|
|
|
("java-eclipse-jetty-http-9.2" ,java-eclipse-jetty-http-9.2)
|
|
|
|
|
("java-eclipse-jetty-server-9.2" ,java-eclipse-jetty-server-9.2)
|
|
|
|
|
("java-eclipse-jetty-servlet-9.2" ,java-eclipse-jetty-servlet-9.2)
|
|
|
|
|
("java-eclipse-jetty-security-9.2" ,java-eclipse-jetty-security-9.2)
|
|
|
|
|
("java-eclipse-jetty-xml-9.2" ,java-eclipse-jetty-xml-9.2)
|
2019-03-04 19:53:43 +00:00
|
|
|
|
("java-javaee-servletapi" ,java-javaee-servletapi)
|
2018-03-17 12:00:43 +00:00
|
|
|
|
,@(package-inputs java-eclipse-jetty-util-9.2)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
|
|
|
|
|
,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
|
|
|
|
|
|
2017-11-18 13:54:06 +00:00
|
|
|
|
(define-public java-jsoup
|
|
|
|
|
(package
|
|
|
|
|
(name "java-jsoup")
|
|
|
|
|
(version "1.10.3")
|
|
|
|
|
(source (origin
|
2019-12-24 16:26:31 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/jhy/jsoup")
|
|
|
|
|
(commit (string-append "jsoup-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-11-18 13:54:06 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-12-24 16:26:31 +00:00
|
|
|
|
"1hdpdx0x140r5x3yc251v7dj1h4j5a7nh9k885aw9q5vvz49lkf4"))))
|
2017-11-18 13:54:06 +00:00
|
|
|
|
(build-system ant-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "jsoup.jar"
|
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'copy-resources
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((classes-dir (string-append (getcwd) "/build/classes")))
|
|
|
|
|
(with-directory-excursion "src/main/java"
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(let ((dist (string-append classes-dir "/" file)))
|
|
|
|
|
(mkdir-p (dirname dist))
|
|
|
|
|
(copy-file file dist)))
|
|
|
|
|
(find-files "." ".*.properties"))))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("java-junit" ,java-junit)
|
|
|
|
|
("java-hamcrest-core" ,java-hamcrest-core)
|
|
|
|
|
("java-gson" ,java-gson)))
|
|
|
|
|
(home-page "https://jsoup.org")
|
|
|
|
|
(synopsis "HTML parser")
|
|
|
|
|
(description "Jsoup is a Java library for working with real-world HTML. It
|
|
|
|
|
provides a very convenient API for extracting and manipulating data, using the
|
|
|
|
|
best of DOM, CSS, and jQuery-like methods.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
2017-11-18 13:54:06 +00:00
|
|
|
|
|
2019-05-03 10:11:58 +00:00
|
|
|
|
(define-public java-signpost-core
|
|
|
|
|
(package
|
|
|
|
|
(name "java-signpost-core")
|
|
|
|
|
(version "1.2.1.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/mttkay/signpost")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1l04yj2znch3hpyw90c4g4jan453w7d88l84bgl0c72i2kbb8z7h"))))
|
|
|
|
|
(build-system ant-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "signpost-core.jar"
|
|
|
|
|
#:source-dir "signpost-core/src/main/java"
|
|
|
|
|
#:test-dir "signpost-core/src/test"
|
|
|
|
|
;; Tests all fail with InstantiationException from mockito
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("java-commons-codec" ,java-commons-codec)))
|
|
|
|
|
(home-page "https://github.com/mttkay/signpost")
|
|
|
|
|
(synopsis "Lightweight client-side OAuth library for Java")
|
|
|
|
|
(description "Signpost is the easy and intuitive solution for signing
|
|
|
|
|
HTTP messages on the Java platform in conformance with the OAuth Core 1.0a
|
|
|
|
|
standard. Signpost follows a modular and flexible design, allowing you to
|
|
|
|
|
combine it with different HTTP messaging layers.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2017-10-23 08:05:57 +00:00
|
|
|
|
(define-public tidyp
|
|
|
|
|
(package
|
|
|
|
|
(name "tidyp")
|
|
|
|
|
(version "1.04")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/downloads/petdance/tidyp/tidyp-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
;; ./test-thing.sh tries to run ./testall.sh, which is not included.
|
|
|
|
|
(arguments `(#:tests? #f))
|
|
|
|
|
(home-page "http://www.tidyp.com/")
|
|
|
|
|
(synopsis "Validate HTML")
|
|
|
|
|
(description "Tidyp is a program that can validate your HTML, as well as
|
|
|
|
|
modify it to be more clean and standard. tidyp does not validate HTML 5.
|
|
|
|
|
|
|
|
|
|
libtidyp is the library on which the program is based. It can be used by any
|
|
|
|
|
other program that can interface to it. The Perl module @code{HTML::Tidy} is
|
|
|
|
|
based on this library, allowing Perl programmers to easily validate HTML.")
|
|
|
|
|
;; See htmldoc/license.html
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:bsd-3)))
|
2017-10-23 21:16:21 +00:00
|
|
|
|
|
|
|
|
|
(define-public perl-html-tidy
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-html-tidy")
|
|
|
|
|
(version "1.60")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tidy-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1iyp2fd6j75cn1xvcwl2lxr8qpjxssy2360cyqn6g3kzd1fzdyxw"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-tidyp-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "Makefile.PL"
|
|
|
|
|
(("^my \\$inc = \"" line)
|
|
|
|
|
(string-append line
|
|
|
|
|
"-I" (assoc-ref inputs "tidyp") "/include/tidyp "))
|
|
|
|
|
(("-L/usr/lib")
|
|
|
|
|
(string-append
|
|
|
|
|
"-L" (assoc-ref inputs "tidyp") "/lib")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("perl-libwww" ,perl-libwww)
|
|
|
|
|
("tidyp" ,tidyp)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-test-exception" ,perl-test-exception)))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/HTML-Tidy")
|
2017-10-23 21:16:21 +00:00
|
|
|
|
(synopsis "(X)HTML validation in a Perl object")
|
|
|
|
|
(description "@code{HTML::Tidy} is an HTML checker in a handy dandy
|
|
|
|
|
object. It's meant as a replacement for @code{HTML::Lint}, which is written
|
|
|
|
|
in Perl but is not nearly as capable as @code{HTML::Tidy}.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:artistic2.0)))
|
2017-05-09 18:52:31 +00:00
|
|
|
|
|
|
|
|
|
(define-public geomyidae
|
|
|
|
|
(package
|
|
|
|
|
(name "geomyidae")
|
2019-03-19 14:09:39 +00:00
|
|
|
|
(version "0.34")
|
2017-05-09 18:52:31 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-03-19 14:06:52 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "git://r-36.net/geomyidae")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-05-09 18:52:31 +00:00
|
|
|
|
(sha256
|
2019-03-19 14:09:39 +00:00
|
|
|
|
(base32 "02afgrk36wkdkflyqr2xgh49v9zq6ma454jshk7igvhpxfb5l3ks"))))
|
2017-05-09 18:52:31 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags (list "CC=gcc"
|
|
|
|
|
(string-append "PREFIX="
|
|
|
|
|
(assoc-ref %outputs "out")))
|
2019-03-19 14:06:52 +00:00
|
|
|
|
#:tests? #f ; no tests
|
2017-05-09 18:52:31 +00:00
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
2019-03-19 14:07:58 +00:00
|
|
|
|
(home-page "http://r-36.net/scm/geomyidae/file/README.html")
|
2017-05-09 18:52:31 +00:00
|
|
|
|
(synopsis "Small Gopher server")
|
|
|
|
|
(description
|
|
|
|
|
"Geomyidae is a server for distributed hypertext protocol Gopher. Its
|
|
|
|
|
features include:
|
|
|
|
|
|
|
|
|
|
@enumerate
|
|
|
|
|
@item Gopher menus (see @file{index.gph} for an example);
|
|
|
|
|
@item directory listings (if no @file{index.gph} was found);
|
|
|
|
|
@item CGI support (@file{.cgi} files are executed);
|
|
|
|
|
@item search support in CGI files;
|
|
|
|
|
@item logging with multiple log levels.
|
|
|
|
|
@end enumerate\n")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
2018-01-12 22:08:50 +00:00
|
|
|
|
|
|
|
|
|
(define-public cat-avatar-generator
|
|
|
|
|
(package
|
|
|
|
|
(name "cat-avatar-generator")
|
|
|
|
|
(version "1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://framagit.org/Deevad/cat-avatar-generator.git")
|
|
|
|
|
(commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
|
|
|
|
|
(file-name (string-append name "-" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
2020-02-05 13:35:39 +00:00
|
|
|
|
`(#:modules ((guix build utils))
|
2018-01-12 22:08:50 +00:00
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils)
|
|
|
|
|
(srfi srfi-1)
|
|
|
|
|
(srfi srfi-26))
|
2020-02-05 13:35:39 +00:00
|
|
|
|
|
2018-01-12 22:08:50 +00:00
|
|
|
|
(let ((source (assoc-ref %build-inputs "source"))
|
|
|
|
|
(php-dir (string-append %output "/share/web/" ,name "/")))
|
|
|
|
|
;; The cache directory must not be in the store, but in a writable
|
|
|
|
|
;; location. The webserver will give us this location.
|
|
|
|
|
(copy-recursively source php-dir)
|
|
|
|
|
(substitute* (string-append php-dir "/cat-avatar-generator.php")
|
|
|
|
|
(("\\$cachepath = .*")
|
|
|
|
|
"if(isset($_SERVER['CACHE_DIR']))
|
|
|
|
|
$cachepath = $_SERVER['CACHE_DIR'];
|
|
|
|
|
else
|
gnu: Use invoke and return #t from all builders.
* gnu/packages/admin.scm, gnu/packages/android.scm, gnu/packages/audio.scm,
gnu/packages/avr.scm, gnu/packages/base.scm, gnu/packages/bioinformatics.scm,
gnu/packages/certs.scm, gnu/packages/check.scm, gnu/packages/code.scm,
gnu/packages/commencement.scm, gnu/packages/dictionaries.scm,
gnu/packages/docbook.scm, gnu/packages/emacs.scm, gnu/packages/embedded.scm,
gnu/packages/fonts.scm, gnu/packages/games.scm, gnu/packages/gnome.scm,
gnu/packages/gnu-doc.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm,
gnu/packages/javascript.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lxde.scm,
gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm,
gnu/packages/pkg-config.scm, gnu/packages/qt.scm, gnu/packages/rust.scm,
gnu/packages/scheme.scm, gnu/packages/sdl.scm, gnu/packages/statistics.scm,
gnu/packages/syncthing.scm, gnu/packages/tex.scm, gnu/packages/web.scm,
gnu/packages/wine.scm, gnu/packages/xfce.scm: In the builders of packages
using 'trivial-build-system', use invoke where appropriate, raise exceptions
on errors, and otherwise return #t.
2018-03-28 00:14:05 +00:00
|
|
|
|
die('You need to set the CACHE_DIR variable first.');"))
|
|
|
|
|
#t))))
|
2018-01-12 22:08:50 +00:00
|
|
|
|
(home-page "https://framagit.org/Deevad/cat-avatar-generator")
|
|
|
|
|
(synopsis "Random avatar generator")
|
|
|
|
|
(description "Cat avatar generator is a generator of cat pictures optimised
|
|
|
|
|
to generate random avatars, or defined avatar from a \"seed\". This is a
|
|
|
|
|
derivation by David Revoy from the original MonsterID by Andreas Gohr.")
|
|
|
|
|
;; expat for the code, CC-BY 4.0 for the artwork
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license (list license:expat
|
|
|
|
|
license:cc-by4.0))))
|
2018-02-25 16:46:16 +00:00
|
|
|
|
|
|
|
|
|
(define-public nghttp2
|
|
|
|
|
(package
|
|
|
|
|
(name "nghttp2")
|
2020-12-08 15:12:44 +00:00
|
|
|
|
(version "1.41.0")
|
2018-02-25 16:46:16 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/nghttp2/nghttp2/"
|
|
|
|
|
"releases/download/v" version "/"
|
2019-09-11 18:03:49 +00:00
|
|
|
|
"nghttp2-" version ".tar.xz"))
|
2018-02-25 16:46:16 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-12-08 15:12:44 +00:00
|
|
|
|
"1hk77vngjmvvzb5y1gi1aqwf6qywrc7yak08zvzb7x81qs6mphmb"))))
|
2018-02-25 16:46:16 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(outputs (list "out"
|
|
|
|
|
"lib")) ; only libnghttp2
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
|
|
|
|
|
;; Required by tests.
|
|
|
|
|
("cunit" ,cunit)
|
2018-03-08 11:40:22 +00:00
|
|
|
|
("tzdata" ,tzdata-for-tests)))
|
2018-02-25 16:46:16 +00:00
|
|
|
|
(inputs
|
|
|
|
|
;; Required to build the tools (i.e. without ‘--enable-lib-only’).
|
|
|
|
|
`(("c-ares" ,c-ares)
|
|
|
|
|
("jansson" ,jansson) ; for HPACK tools
|
2020-03-07 08:36:51 +00:00
|
|
|
|
,@(if (hurd-target?) '()
|
|
|
|
|
`(("jemalloc" ,jemalloc))) ; fight nghttpd{,x} heap fragmentation
|
2018-02-25 16:46:16 +00:00
|
|
|
|
("libev" ,libev)
|
|
|
|
|
("libxml2" ,libxml2) ; for ‘nghttp -a’
|
2020-06-28 13:22:43 +00:00
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
,@(if (hurd-target?)
|
|
|
|
|
`(("openssl-static" ,openssl "static"))
|
|
|
|
|
'())))
|
2018-02-25 16:46:16 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list (string-append "--libdir=" (assoc-ref %outputs "lib") "/lib")
|
|
|
|
|
"--enable-app" ; build all the tools
|
|
|
|
|
"--enable-hpack-tools" ; ...all the tools
|
|
|
|
|
"--disable-examples"
|
|
|
|
|
"--disable-static") ; don't bother building .a files
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'break-circular-reference
|
|
|
|
|
;; libnghttp2.pc by default retains a reference to the ‘out’ output,
|
|
|
|
|
;; which is not allowed. Break this cycle. While we could install
|
|
|
|
|
;; only the library to ‘out’ and move everything else to a separate
|
|
|
|
|
;; output, this would inconvenience the majority of (human) users.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "lib/libnghttp2.pc.in"
|
|
|
|
|
(("@prefix@")
|
|
|
|
|
(assoc-ref outputs "lib")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'check 'set-timezone-directory
|
2019-07-31 11:18:08 +00:00
|
|
|
|
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
|
|
|
|
(setenv "TZDIR" (string-append
|
|
|
|
|
(assoc-ref (or native-inputs inputs) "tzdata")
|
|
|
|
|
"/share/zoneinfo"))
|
2018-02-25 16:46:16 +00:00
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "https://nghttp2.org/")
|
|
|
|
|
(synopsis "HTTP/2 protocol client, proxy, server, and library")
|
|
|
|
|
(description
|
|
|
|
|
"nghttp2 implements the Hypertext Transfer Protocol, version
|
|
|
|
|
2 (@dfn{HTTP/2}).
|
|
|
|
|
|
|
|
|
|
A reusable C library provides the HTTP/2 framing layer, with several tools built
|
|
|
|
|
on top of it:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item @command{nghttp}, a command-line HTTP/2 client. It exposes many advanced
|
|
|
|
|
and low-level aspects of the protocol and is useful for debugging.
|
|
|
|
|
@item @command{nghttpd}, a fast, multi-threaded HTTP/2 static web server that
|
|
|
|
|
serves files from a local directory.
|
|
|
|
|
@item @command{nghttpx}, a fast, multi-threaded HTTP/2 reverse proxy that can be
|
|
|
|
|
deployed in front of existing web servers that don't support HTTP/2.
|
|
|
|
|
Both @command{nghttpd} and @command{nghttpx} can fall back to HTTP/1.1 for
|
2019-05-23 00:43:23 +00:00
|
|
|
|
backwards compatibility with clients that don't speak HTTP/2.
|
2018-02-25 16:46:16 +00:00
|
|
|
|
@item @command{h2load} for benchmarking (only!) your own HTTP/2 servers.
|
|
|
|
|
@item HTTP/2 uses a header compression method called @dfn{HPACK}.
|
|
|
|
|
nghttp2 provides a HPACK encoder and decoder as part of its public API.
|
|
|
|
|
@item @command{deflatehd} converts JSON data or HTTP/1-style header fields to
|
|
|
|
|
compressed JSON header blocks.
|
|
|
|
|
@item @command{inflatehd} converts such compressed headers back to JSON pairs.
|
|
|
|
|
@end itemize\n")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:expat)))
|
2018-05-30 09:41:46 +00:00
|
|
|
|
|
|
|
|
|
(define-public hpcguix-web
|
2020-04-28 08:11:22 +00:00
|
|
|
|
(let ((commit "9de63562b06b4aef3a3afe5ecb18d3c91e57ee74")
|
|
|
|
|
(revision "5"))
|
2018-05-30 09:41:46 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "hpcguix-web")
|
2018-09-06 08:46:07 +00:00
|
|
|
|
(version (git-version "0.0.1" revision commit))
|
2018-05-30 09:41:46 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/UMCUGenetics/hpcguix-web")
|
2018-05-30 09:41:46 +00:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-04-28 08:11:22 +00:00
|
|
|
|
"0wjgj2s7v2cyz6dx24c111rxs99i84sfvxl4ch8brnh02j2606jz"))))
|
2018-05-30 09:41:46 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build gnu-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(srfi srfi-26)
|
|
|
|
|
(ice-9 popen)
|
|
|
|
|
(ice-9 rdelim))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-11-11 11:27:01 +00:00
|
|
|
|
(add-before 'configure 'set-variables
|
2018-05-30 09:41:46 +00:00
|
|
|
|
(lambda _
|
2018-11-11 11:27:01 +00:00
|
|
|
|
;; This prevents a few warnings
|
2018-05-30 09:41:46 +00:00
|
|
|
|
(setenv "GUILE_AUTO_COMPILE" "0")
|
|
|
|
|
(setenv "XDG_CACHE_HOME" (getcwd))
|
2018-11-11 11:27:01 +00:00
|
|
|
|
#t))
|
2018-05-30 09:41:46 +00:00
|
|
|
|
(add-after 'install 'wrap-program
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(guix (assoc-ref inputs "guix"))
|
|
|
|
|
(guile (assoc-ref inputs "guile"))
|
2018-09-06 08:46:07 +00:00
|
|
|
|
(gcrypt (assoc-ref inputs "guile-gcrypt"))
|
|
|
|
|
(git (assoc-ref inputs "guile-git"))
|
|
|
|
|
(bs (assoc-ref inputs "guile-bytestructures"))
|
2018-05-30 09:41:46 +00:00
|
|
|
|
(json (assoc-ref inputs "guile-json"))
|
|
|
|
|
(guile-cm (assoc-ref inputs
|
|
|
|
|
"guile-commonmark"))
|
2018-09-06 08:46:07 +00:00
|
|
|
|
(deps (list guile gcrypt git bs guile-cm guix json))
|
2018-05-30 09:41:46 +00:00
|
|
|
|
(effective
|
|
|
|
|
(read-line
|
|
|
|
|
(open-pipe* OPEN_READ
|
|
|
|
|
(string-append guile "/bin/guile")
|
|
|
|
|
"-c" "(display (effective-version))")))
|
|
|
|
|
(path (string-join
|
|
|
|
|
(map (cut string-append <>
|
|
|
|
|
"/share/guile/site/"
|
|
|
|
|
effective)
|
|
|
|
|
deps)
|
|
|
|
|
":"))
|
|
|
|
|
(gopath (string-join
|
|
|
|
|
(map (cut string-append <>
|
|
|
|
|
"/lib/guile/" effective
|
|
|
|
|
"/site-ccache")
|
|
|
|
|
deps)
|
|
|
|
|
":")))
|
|
|
|
|
(wrap-program (string-append out "/bin/run")
|
|
|
|
|
`("GUILE_LOAD_PATH" ":" prefix (,path))
|
|
|
|
|
`("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath)))
|
|
|
|
|
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("uglify-js" ,uglify-js)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2020-07-03 20:43:17 +00:00
|
|
|
|
`(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
|
|
|
|
|
("guix" ,guix)))
|
2018-05-30 09:41:46 +00:00
|
|
|
|
(propagated-inputs
|
2020-06-23 23:02:33 +00:00
|
|
|
|
`(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
|
2018-05-30 09:41:46 +00:00
|
|
|
|
("guile-commonmark" ,guile-commonmark)
|
2020-06-02 16:27:49 +00:00
|
|
|
|
("guile-json" ,guile-json-4)))
|
2019-03-27 21:18:46 +00:00
|
|
|
|
(home-page "https://github.com/UMCUGenetics/hpcguix-web")
|
2018-05-30 09:41:46 +00:00
|
|
|
|
(synopsis "Web interface for cluster deployments of Guix")
|
|
|
|
|
(description "Hpcguix-web provides a web interface to the list of packages
|
|
|
|
|
provided by Guix. The list of packages is searchable and provides
|
|
|
|
|
instructions on how to use Guix in a shared HPC environment.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:agpl3+))))
|
2019-04-05 12:12:48 +00:00
|
|
|
|
|
|
|
|
|
(define-public httrack
|
|
|
|
|
(package
|
|
|
|
|
(name "httrack")
|
|
|
|
|
(version "3.49.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://mirror.httrack.com/historical/"
|
|
|
|
|
"httrack-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"09a0gm67nml86qby1k1gh7rdxamnrnzwr6l9r5iiq94favjs0xrl"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libressl" ,libressl)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "https://www.httrack.com/")
|
|
|
|
|
(synopsis "Easy-to-use offline browser utility")
|
|
|
|
|
(description "HTTrack allows you to download a World Wide Web site from
|
|
|
|
|
the Internet to a local directory, building recursively all directories,
|
|
|
|
|
getting HTML, images, and other files from the server to your computer.
|
|
|
|
|
|
|
|
|
|
HTTrack arranges the original site's relative link-structure. Simply open
|
2020-03-17 10:10:45 +00:00
|
|
|
|
a page of the @emph{mirrored} website in your browser, and you can browse the
|
2019-04-05 12:12:48 +00:00
|
|
|
|
site from link to link, as if you were viewing it online. HTTrack can also
|
|
|
|
|
update an existing mirrored site, and resume interrupted downloads.
|
|
|
|
|
|
|
|
|
|
HTTrack is fully configurable, and has an integrated help system.")
|
2019-04-27 09:36:34 +00:00
|
|
|
|
(license license:gpl3+)))
|
2019-07-02 14:19:18 +00:00
|
|
|
|
|
2020-09-10 15:54:52 +00:00
|
|
|
|
(define-public buku
|
|
|
|
|
(package
|
|
|
|
|
(name "buku")
|
2021-01-03 14:31:25 +00:00
|
|
|
|
(version "4.5")
|
2020-09-10 15:54:52 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "buku" version))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-01-03 14:31:25 +00:00
|
|
|
|
(base32 "1bk3h2ya34a5livyf6p7kawh50ikbix5szsq2rkb8cp5bwrzsj5i"))))
|
2020-09-10 15:54:52 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ;FIXME: many tests need network access
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python-beautifulsoup4" ,python-beautifulsoup4)
|
|
|
|
|
("python-certifi" ,python-certifi)
|
|
|
|
|
("python-cryptography" ,python-cryptography)
|
|
|
|
|
("python-html5lib" ,python-html5lib)
|
|
|
|
|
("python-urllib3" ,python-urllib3)))
|
|
|
|
|
(home-page "https://github.com/jarun/buku")
|
|
|
|
|
(synopsis "Bookmark manager")
|
|
|
|
|
(description
|
|
|
|
|
"buku is a powerful bookmark manager written in Python3 and SQLite3.
|
|
|
|
|
@command{buku} can auto-import bookmarks from your browser and present them
|
|
|
|
|
in an interactive command-line interface that lets you compose and update
|
|
|
|
|
bookmarks directly. It can also present them in a web interface with
|
|
|
|
|
@command{bukuserver}.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2019-07-02 14:19:18 +00:00
|
|
|
|
(define-public anonip
|
|
|
|
|
(package
|
|
|
|
|
(name "anonip")
|
|
|
|
|
(version "1.0.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "anonip" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0ckn9nnfhpdnz8b92q8pkysdqj6pdh71ckfqvfj0z01cq0hzbhd2"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(home-page "https://github.com/DigitaleGesellschaft/Anonip")
|
|
|
|
|
(synopsis "Anonymize IP addresses in log files")
|
|
|
|
|
(description
|
|
|
|
|
"Anonip masks the last bits of IPv4 and IPv6 addresses in log files.
|
|
|
|
|
That way most of the relevant information is preserved, while the IP address
|
|
|
|
|
does not match a particular individuum anymore.
|
|
|
|
|
|
|
|
|
|
Depending on your Web server, the log entries may be piped to Anonip directly
|
|
|
|
|
or via a FIFO (named pipe). Thus the unmasked IP addresses will never be
|
|
|
|
|
written to any file.
|
|
|
|
|
|
|
|
|
|
It's also possible to rewrite existing log files.
|
|
|
|
|
|
|
|
|
|
Anonip can also be uses as a Python module in your own Python application.")
|
|
|
|
|
(license license:bsd-3)))
|
2019-08-19 11:58:22 +00:00
|
|
|
|
|
|
|
|
|
(define-public poussetaches
|
|
|
|
|
(package
|
|
|
|
|
(name "poussetaches")
|
2019-09-07 18:28:44 +00:00
|
|
|
|
(version "0.0.2")
|
2019-08-19 11:58:22 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/tsileo/poussetaches")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-09-07 18:28:44 +00:00
|
|
|
|
"0kckcwvqklavd855np9aq5js6mg84isrlwchr504yigwma0sm7hm"))))
|
2019-08-19 11:58:22 +00:00
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("go-github-com-robfig-cron" ,go-github-com-robfig-cron)
|
gnu: Go standard library 'x' packages: Consolidate.
* gnu/packages/golang.scm (go-golang-org-x-text, go-golang-org-x-sys, go-golang-org-x-net,
go-golang-org-x-time): New variables.
(go-golang.org-x-crypto-ssh-terminal, go-golang-org-x-crypto-bcrypt,
go-golang-org-x-crypto-blowfish, go-golang-org-x-crypto-pbkdf2,
go-golang-org-x-crypto-tea, go-golang-org-x-crypto-salsa20,
go-golang-org-x-crypto-cast5, go-golang-org-x-crypto-twofish,
go-golang-org-x-crypto-xtea, go-golang-org-x-crypto-ed25519,
go-golang-org-x-crypto-ripemd160, go-golang-org-x-crypto-blake2s,
go-golang-org-x-crypto-sha3, go-golang-org-x-text-encoding,
go-golang-org-x-text-transform, go-golang-org-x-text-unicode-norm,
go-golang-org-x-net-ipv4, go-golang-org-x-net-bpf, go-golang-org-x-net-context,
go-golang-org-x-net-internal-socks, go-golang-org-x-net-internal-socket,
go-golang-org-x-net-internal-iana, go-golang-org-x-net-ipv6,
go-golang-org-x-net-proxy, go-golang-org-x-sys-cpu, go-golang-org-x-sys-unix,
go-golang-org-x-time-rate): Remove variables.
(go-github-com-sirupsen-logrus, go-github-com-docker-distribution,
go-github-com-libp2p-go-libp2p-crypto,
go-github-com-multiformats-go-multihash,
go-github-com-libp2p-go-libp2p-peer,
go-github-com-libp2p-go-libp2p-metrics,
go-github-com-multiformats-go-multiaddr,
go-github-com-multiformats-go-multiaddr-net,
go-github-com-mattn-go-isatty, go-github-com-gdamore-encoding,
go-github-com-gdamore-tcell): Adjust accordingly.
* gnu/packages/docker.scm (docker-libnetwork-cmd-proxy): Likewise.
* gnu/packages/databases.scm (mongo-tools): Likewise.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-api, gx, gx-go): Likewise.
* gnu/packages/web.scm (poussetaches): Likewise.
* gnu/packages/terminals.scm (go-github-com-junegunn-fzf,
go-github.com-howeyc-gopass): Likewise.
(go-golang.org-x-crypto-ssh-terminal): Remove variable.
* gnu/packages/syncthing.scm (syncthing,
go-github-com-oschwald-geoip2-golang,
go-github-com-oschwald-maxminddb-golang,
go-github-com-syncthing-notify): Adjust accordingly.
* gnu/packages/linux.scm (go-netlink): Likewise.
2019-08-14 18:42:50 +00:00
|
|
|
|
("go-golang-org-x-time" ,go-golang-org-x-time)))
|
2019-08-19 11:58:22 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:import-path "github.com/tsileo/poussetaches"))
|
|
|
|
|
(home-page "https://github.com/tsileo/poussetaches")
|
|
|
|
|
(synopsis "Lightweight asynchronous task execution service")
|
|
|
|
|
(description "Poussetaches (which literally means \"push tasks\" in
|
|
|
|
|
French) is a lightweight asynchronous task execution service that aims to
|
|
|
|
|
replace Celery and RabbitMQ for small Python applications.
|
|
|
|
|
|
|
|
|
|
The app posts base64-encoded payload to poussetaches and specifies the
|
|
|
|
|
endpoint that will be used to trigger the task. Poussetaches makes HTTP
|
|
|
|
|
requests with the registered payload until the right status code is
|
|
|
|
|
returned.")
|
|
|
|
|
(license license:isc)))
|
2019-12-14 18:34:59 +00:00
|
|
|
|
|
|
|
|
|
(define-public htmlcxx
|
|
|
|
|
(package
|
|
|
|
|
(name "htmlcxx")
|
|
|
|
|
(version "0.87")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "mirror://sourceforge/htmlcxx/v"
|
|
|
|
|
version "/htmlcxx-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1j3mzjlczjrk4ahc43s6kzpvzypzjmqz4sillnca5yadrwwgjf2x"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "http://htmlcxx.sourceforge.net/")
|
|
|
|
|
(synopsis "Simple non-validating CSS1 and HTML parser for C++")
|
|
|
|
|
(description "htmlcxx is a simple non-validating CSS1 and HTML parser for
|
|
|
|
|
C++. Although there are several other HTML parsers available, htmlcxx has some
|
|
|
|
|
characteristics that make it unique:
|
|
|
|
|
@itemize
|
|
|
|
|
@item STL like navigation of DOM tree, using excelent's tree.hh library from
|
|
|
|
|
Kasper Peeters
|
|
|
|
|
@item It is possible to reproduce exactly, character by character, the original
|
|
|
|
|
document from the parse tree
|
|
|
|
|
@item Bundled CSS parser
|
|
|
|
|
@item Optional parsing of attributes
|
|
|
|
|
@item C++ code that looks like C++ (not so true anymore)
|
|
|
|
|
@item Offsets of tags/elements in the original document are stored in the nodes
|
|
|
|
|
of the DOM tree
|
|
|
|
|
@end itemize")
|
|
|
|
|
(license (list license:lgpl2.0
|
|
|
|
|
license:gpl2
|
|
|
|
|
license:asl2.0))))
|
2020-02-14 16:45:21 +00:00
|
|
|
|
|
|
|
|
|
(define-public librocket
|
|
|
|
|
(package
|
|
|
|
|
(name "librocket")
|
|
|
|
|
(version "1.3.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
|
|
|
|
(url "https://github.com/libRocket/libRocket")
|
|
|
|
|
(commit (string-append "release-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1n6gq007vqijyfasfnfg6c8d2rc9qarl4bhzbgkz062m4h5izlfs"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; No tests.
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'chdir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "Build"))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("freetype" ,freetype)))
|
|
|
|
|
(home-page "https://github.com/libRocket/libRocket") ; http://librocket.com/ is down.
|
|
|
|
|
(synopsis "HTML/CSS user interface library")
|
|
|
|
|
(description "libRocket is a C++ user interface package based on the HTML
|
|
|
|
|
and CSS standards. libRocket uses the open standards XHTML1.0 and
|
|
|
|
|
CSS2.0 (while borrowing features from HTML5 and CSS3), and extends them with
|
|
|
|
|
features suited towards real-time applications. It is designed as a complete
|
|
|
|
|
solution for any project's interface needs:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Dynamic layout system.
|
|
|
|
|
@item Efficient application-wide styling, with a custom-built templating engine.
|
|
|
|
|
@item Fully featured control set: buttons, sliders, drop-downs, etc.
|
|
|
|
|
@item Runtime visual debugging suite.
|
|
|
|
|
@item Easily integrated and extensible with Python or Lua scripting.
|
|
|
|
|
@end itemize\n")
|
|
|
|
|
(license license:expat)))
|
2020-10-20 19:17:38 +00:00
|
|
|
|
|
|
|
|
|
(define-public gmnisrv
|
2020-11-03 19:19:18 +00:00
|
|
|
|
(let ((commit "d484ba0ab0020866535a44be5948c9482b8f2b8d")
|
|
|
|
|
(revision "1"))
|
2020-10-20 19:17:38 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "gmnisrv")
|
2020-11-03 19:19:18 +00:00
|
|
|
|
(version (git-version "0" revision commit))
|
2020-10-20 19:17:38 +00:00
|
|
|
|
(home-page "https://git.sr.ht/~sircmpwn/gmnisrv")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-11-03 19:19:18 +00:00
|
|
|
|
"11phipixsxx1jgm42agp76p5s68l0zj65kgb41vzaymgwcq79ivn"))
|
2020-10-20 19:17:38 +00:00
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'set-variables
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "CC" "gcc")
|
|
|
|
|
#t))
|
2020-11-03 19:19:18 +00:00
|
|
|
|
(delete 'check))))
|
2020-10-20 19:17:38 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("openssl" ,openssl)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("scdoc" ,scdoc)))
|
2020-11-03 19:19:18 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("mailcap" ,mailcap)))
|
2020-10-20 19:17:38 +00:00
|
|
|
|
(synopsis "Simple Gemini protocol server")
|
|
|
|
|
(description "gmnisrv is a simple Gemini protocol server written in C.")
|
|
|
|
|
(license (list license:gpl3+
|
|
|
|
|
license:bsd-3))))) ;; for ini.c and ini.h
|
2020-12-09 17:08:28 +00:00
|
|
|
|
|
|
|
|
|
(define-public libzim
|
|
|
|
|
(package
|
|
|
|
|
(name "libzim")
|
2020-12-26 19:28:11 +00:00
|
|
|
|
(version "6.3.0")
|
2020-12-09 17:08:28 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/openzim/libzim")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-12-26 19:28:11 +00:00
|
|
|
|
"0iy0f1clhihq277x218ccx3mszgpr3h9l0by48b9ykr115nffw3s"))
|
2020-12-09 17:08:28 +00:00
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; TODO: Find out why tests fail.
|
|
|
|
|
'(#:tests? #f))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("icu4c" ,icu4c)
|
|
|
|
|
("liblzma" ,xz)
|
|
|
|
|
("libuuid" ,util-linux "lib")
|
|
|
|
|
("xapian" ,xapian)
|
|
|
|
|
("zstd" ,zstd "lib")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("googletest" ,googletest)))
|
|
|
|
|
(home-page "https://wiki.openzim.org/wiki/Main_Page")
|
|
|
|
|
(synopsis "Reference implementation of the ZIM specification")
|
|
|
|
|
(description "The openZIM project proposes offline storage solutions for
|
|
|
|
|
content coming from the Web. The zimlib is the standard implementation of the
|
|
|
|
|
ZIM specification. It is a library which implements the read and write method
|
|
|
|
|
for ZIM files.")
|
|
|
|
|
(license license:gpl2)))
|
2020-12-09 17:09:47 +00:00
|
|
|
|
|
|
|
|
|
(define-public kiwix-lib
|
|
|
|
|
(package
|
|
|
|
|
(name "kiwix-lib")
|
2020-12-26 19:36:12 +00:00
|
|
|
|
(version "9.4.1")
|
2020-12-09 17:09:47 +00:00
|
|
|
|
(home-page "https://github.com/kiwix/kiwix-lib/")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit version)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-12-26 19:36:12 +00:00
|
|
|
|
"034nk6l623v78clrs2d0k1vg69sbzrd8c0q79qiqmlkinck1nkxw"))
|
2020-12-09 17:09:47 +00:00
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'fix-paths-and-includes
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "CPPFLAGS" (string-append "-I" (assoc-ref inputs "mustache")))
|
|
|
|
|
(substitute* "src/aria2.cpp"
|
|
|
|
|
(("ARIA2_CMD \"aria2c\"")
|
|
|
|
|
(string-append "ARIA2_CMD \""
|
|
|
|
|
(assoc-ref inputs "aria2")
|
|
|
|
|
"/bin/aria2c\"")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("aria2" ,aria2)
|
|
|
|
|
("curl" ,curl)
|
|
|
|
|
("icu4c" ,icu4c)
|
|
|
|
|
("libmicrohttpd" ,libmicrohttpd)
|
|
|
|
|
("libzim" ,libzim)
|
|
|
|
|
("pugixml" ,pugixml)
|
|
|
|
|
("xapian" ,xapian)
|
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("zstd" ,zstd "lib")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("mustache" ,(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/kainjow/Mustache")
|
|
|
|
|
;; XXX: Readme says to use version 3. Can we use 3.2.1?
|
|
|
|
|
(commit "v4.1")))
|
|
|
|
|
(file-name (git-file-name "mustache" "4.1"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0r9rbk6v1wpld2ismfsk2lkhbyv3dkf0p03hkjivbj05qkfhvlbb"))))
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(synopsis "Common code base for all Kiwix ports")
|
|
|
|
|
(description "The Kiwix library provides the Kiwix software suite core.
|
|
|
|
|
It contains the code shared by all Kiwix ports.")
|
|
|
|
|
(license license:gpl3)))
|
2020-12-09 17:20:26 +00:00
|
|
|
|
|
|
|
|
|
(define-public kiwix-desktop
|
|
|
|
|
(package
|
|
|
|
|
(name "kiwix-desktop")
|
|
|
|
|
(version "2.0.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://download.kiwix.org/release/kiwix-desktop/kiwix-desktop-"
|
|
|
|
|
version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1a9h4qmh6fkfscyp6lax0ri07dvvzw2wp4kr1sm86n0bdk3cwwha"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(invoke "qmake"
|
|
|
|
|
(string-append "PREFIX="
|
|
|
|
|
(assoc-ref outputs "out")))))
|
2020-12-26 19:29:11 +00:00
|
|
|
|
(add-before 'configure 'enable-print-support
|
2020-12-09 17:20:26 +00:00
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "kiwix-desktop.pro"
|
|
|
|
|
(("webenginewidgets") "webenginewidgets printsupport"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'configure 'substitute-source
|
|
|
|
|
;; Looks like .pro file is missing a feature.
|
|
|
|
|
;; See https://github.com/kiwix/kiwix-desktop/issues/556.
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "kiwix-desktop.pro"
|
|
|
|
|
(("webenginewidgets" all) (string-append all " printsupport")))
|
2020-12-25 16:36:14 +00:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'wrap-qt-process-path
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin/kiwix-desktop"))
|
|
|
|
|
(qt-process-path (string-append
|
|
|
|
|
(assoc-ref inputs "qtwebengine")
|
|
|
|
|
"/lib/qt5/libexec/QtWebEngineProcess")))
|
|
|
|
|
(wrap-program bin
|
|
|
|
|
`("QTWEBENGINEPROCESS_PATH" = (,qt-process-path)))
|
|
|
|
|
#t))))))
|
2020-12-09 17:20:26 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("curl" ,curl)
|
|
|
|
|
("icu4c" ,icu4c)
|
|
|
|
|
("kiwix-lib" ,kiwix-lib)
|
2020-12-26 19:39:08 +00:00
|
|
|
|
("libmicrohttpd" ,libmicrohttpd)
|
2020-12-09 17:20:26 +00:00
|
|
|
|
("libzim" ,libzim)
|
|
|
|
|
("pugixml" ,pugixml)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtwebchannel" ,qtwebchannel)
|
|
|
|
|
("qtwebengine" ,qtwebengine)
|
|
|
|
|
("xapian" ,xapian)
|
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("zstd" ,zstd "lib")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("qmake" ,qtbase)))
|
|
|
|
|
(home-page "https://wiki.kiwix.org/wiki/Software")
|
|
|
|
|
(synopsis "Viewer and manager of ZIM files")
|
|
|
|
|
(description "Kiwix Desktop allows you to enjoy a lot of different content
|
|
|
|
|
offline (such as Wikipedia), without any access to Internet.")
|
|
|
|
|
(license license:gpl3)))
|
2020-11-17 16:50:06 +00:00
|
|
|
|
|
|
|
|
|
(define-public uriparser
|
|
|
|
|
(let ((commit "25dddb16cf044a7df27884e7ad3911baaaca3d7c")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "uriparser")
|
|
|
|
|
(version (git-version "0.9.4" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/uriparser/uriparser")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1ffzia679axcsccx2fxjpxhb0i5xc42zxn446x6c1170w6v69qf6"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs `(("gtest" ,googletest)
|
|
|
|
|
("doxygen" ,doxygen)
|
|
|
|
|
("graphviz" ,graphviz)))
|
|
|
|
|
(synopsis "Strictly RFC 3986 compliant URI parsing and handling library")
|
|
|
|
|
(description "uriparser is a strictly RFC 3986 compliant URI parsing and
|
|
|
|
|
handling library written in C89 (\"ANSI C\"). uriparser is fast and supports
|
|
|
|
|
Unicode.")
|
|
|
|
|
(home-page "https://uriparser.github.io/")
|
|
|
|
|
(license license:bsd-3))))
|
2021-01-25 19:00:23 +00:00
|
|
|
|
|
|
|
|
|
(define-public quark
|
|
|
|
|
;; No releases yet
|
|
|
|
|
(let ((revision "0")
|
|
|
|
|
(commit "c6a9055e5a30be570e30da8d216c39662c3a3f99"))
|
|
|
|
|
(package
|
|
|
|
|
(name "quark")
|
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://git.suckless.org/quark/")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1znvnr30xi5vgd6n3wvgv9pwj992zpzzjk0fmq28ydf1l6kqvkm7"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "CC=" ,(cc-for-target))
|
|
|
|
|
(string-append "PREFIX=" %output))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)))) ; no configure script
|
|
|
|
|
(home-page "https://tools.suckless.org/quark/")
|
|
|
|
|
(synopsis "Small and simple HTTP GET/HEAD-only web server for static
|
|
|
|
|
content")
|
|
|
|
|
(description "Quark is an extremely small and simple HTTP GET/HEAD only
|
|
|
|
|
web server for static content. TLS is not natively supported and should be
|
|
|
|
|
provided by a TLS reverse proxy (e.g. tlstunnel, hitch or stunnel).")
|
|
|
|
|
(license license:isc)
|
|
|
|
|
|
|
|
|
|
;; XXX: Ignore this CVE to work around a name clash with the unrelated
|
|
|
|
|
;; "cpe:2.3:a:comelz:quark" package. The proper fix is for (guix cve)
|
|
|
|
|
;; to account for "vendor names".
|
|
|
|
|
(properties '((lint-hidden-cve . ("CVE-2019-15520")))))))
|