2013-09-29 20:55:47 +02:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2015-02-15 11:41:58 +01:00
|
|
|
|
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
|
2013-09-29 20:55:47 +02:00
|
|
|
|
;;; Copyright © 2013 Aljosha Papsch <misc@rpapsch.de>
|
gnu: Move Kerberos implemetations to (gnu packages kerberos).
* gnu/packages/mit-krb5.scm: Remove.
* gnu/packages/shishi.scm: Remove.
* gnu/packages/kerberos.scm: New file, from the concatenation of these
two.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/admin.scm, gnu/packages/cyrus-sasl.scm,
gnu/packages/gnome.scm, gnu/packages/gnuzilla.scm,
gnu/packages/gsasl.scm, gnu/packages/java.scm,
gnu/packages/networking.scm, gnu/packages/nfs.scm,
gnu/packages/onc-rpc.scm, gnu/packages/ssh.scm,
gnu/packages/web.scm: Adjust accordingly.
2017-01-18 09:57:43 +01:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
|
2016-01-31 21:22:17 +01:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
|
2017-04-06 11:12:16 +02:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
|
2015-02-01 00:03:19 +01:00
|
|
|
|
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
|
2017-02-12 04:21:50 +01:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017 Eric Bavier <bavier@member.fsf.org>
|
2015-08-17 22:06:01 +02:00
|
|
|
|
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
|
2016-03-28 14:25:24 +02:00
|
|
|
|
;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
|
2016-03-26 22:49:42 +01:00
|
|
|
|
;;; Copyright © 2016 Jelle Licht <jlicht@fsfe.org>
|
2017-03-30 22:20:07 +02:00
|
|
|
|
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
2016-04-14 16:52:51 +02:00
|
|
|
|
;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
|
2016-04-25 05:03:17 +02:00
|
|
|
|
;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
|
2016-06-09 00:22:14 +02:00
|
|
|
|
;;; Copyright © 2016 Clément Lassieur <clement@lassieur.org>
|
2017-05-20 11:07:27 +02:00
|
|
|
|
;;; Copyright © 2016, 2017 ng0 <ng0@no-reply.pragmatique.xyz>
|
2017-04-12 11:59:45 +02:00
|
|
|
|
;;; Copyright © 2016, 2017 Arun Isaac <arunisaac@systemreboot.net>
|
2016-11-15 00:08:11 +01:00
|
|
|
|
;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
|
2016-12-22 04:52:14 +01:00
|
|
|
|
;;; Copyright © 2016 Bake Timmons <b3timmons@speedymail.org>
|
2017-01-25 08:50:30 +01:00
|
|
|
|
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
|
2017-04-27 17:48:28 +02:00
|
|
|
|
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
|
2017-05-26 05:17:04 +02:00
|
|
|
|
;;; Copyright © 2017 Kei Kebreau <kei@openmailbox.org>
|
2013-09-29 20:55:47 +02: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 23:39:48 +01:00
|
|
|
|
#:use-module (ice-9 match)
|
Use #:prefix instead of #:renamer with 'symbol-prefix-proc'.
* gnu/packages/abiword.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm,
gnu/packages/backup.scm, gnu/packages/bittorrent.scm,
gnu/packages/boost.scm, gnu/packages/compression.scm,
gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/dc.scm, gnu/packages/emacs.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/geeqie.scm,
gnu/packages/ghostscript.scm, gnu/packages/gimp.scm,
gnu/packages/gkrellm.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm, gnu/packages/gnuzilla.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/gv.scm, gnu/packages/image.scm,
gnu/packages/indent.scm, gnu/packages/inkscape.scm,
gnu/packages/lesstif.scm, gnu/packages/links.scm, gnu/packages/lisp.scm,
gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/maths.scm,
gnu/packages/mp3.scm, gnu/packages/openssl.scm, gnu/packages/ots.scm,
gnu/packages/pciutils.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm, gnu/packages/slim.scm,
gnu/packages/ssh.scm, gnu/packages/texlive.scm, gnu/packages/vim.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wv.scm,
gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm,
gnu/packages/yasm.scm, gnu/packages/zip.scm,
guix/build/cmake-build-system.scm, guix/build/perl-build-system.scm,
guix/build/python-build-system.scm, guix/download.scm: Replaces uses of
#:renamer and 'symbol-prefix-proc' with #:prefix.
2014-09-23 22:44:22 +02:00
|
|
|
|
#:use-module ((guix licenses) #:prefix l:)
|
2013-09-29 20:55:47 +02:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2014-02-27 19:49:12 +01:00
|
|
|
|
#:use-module (guix git-download)
|
2015-02-07 03:14:11 +01:00
|
|
|
|
#:use-module (guix cvs-download)
|
2015-12-26 17:47:07 +01:00
|
|
|
|
#:use-module (guix utils)
|
2013-09-29 20:55:47 +02:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2016-04-14 16:52:51 +02:00
|
|
|
|
#:use-module (guix build-system glib-or-gtk)
|
2014-08-28 11:38:12 +02:00
|
|
|
|
#:use-module (guix build-system perl)
|
|
|
|
|
#:use-module (guix build-system cmake)
|
2015-09-21 11:20:32 +02:00
|
|
|
|
#:use-module (guix build-system r)
|
2016-06-09 00:22:14 +02:00
|
|
|
|
#:use-module (guix build-system trivial)
|
2016-09-18 15:58:25 +02:00
|
|
|
|
#:use-module (guix build-system python)
|
2015-04-08 00:03:04 +02:00
|
|
|
|
#:use-module (gnu packages)
|
2013-09-29 20:55:47 +02:00
|
|
|
|
#:use-module (gnu packages apr)
|
2017-02-12 04:24:49 +01:00
|
|
|
|
#:use-module (gnu packages check)
|
gnu: Update module imports for asciidoc and doxygen.
This is a followup to commit 0573a923def01e54bf104e0015ade44ab42f694f.
* gnu/packages/algebra.scm, gnu/packages/bioinformatics.scm,
gnu/packages/fcitx.scm, gnu/packages/fish.scm,
gnu/packages/freedesktop.scm, gnu/packages/game-development.scm,
gnu/packages/gcc.scm, gnu/packages/graphics.scm, gnu/packages/image.scm,
gnu/packages/kodi.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/messaging.scm,
gnu/packages/mpd.scm, gnu/packages/music.scm, gnu/packages/rdf.scm,
gnu/packages/serialization.scm, gnu/packages/version-control.scm,
gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm,
gnu/packages/xiph.scm: Change imports of (gnu packages asciidoc) or
(gnu packages doxygen) to (gnu packages documentation).
2016-05-13 02:18:15 +02:00
|
|
|
|
#:use-module (gnu packages documentation)
|
2014-06-12 13:03:53 +02:00
|
|
|
|
#:use-module (gnu packages docbook)
|
2014-02-27 19:49:12 +01:00
|
|
|
|
#:use-module (gnu packages autotools)
|
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 17:21:21 +01:00
|
|
|
|
#:use-module (gnu packages compression)
|
2015-03-07 12:18:32 +01:00
|
|
|
|
#:use-module (gnu packages cyrus-sasl)
|
2015-03-18 16:01:31 +01:00
|
|
|
|
#:use-module (gnu packages databases)
|
2016-07-07 07:55:41 +02:00
|
|
|
|
#:use-module (gnu packages bison)
|
|
|
|
|
#:use-module (gnu packages flex)
|
gnu: Move Kerberos implemetations to (gnu packages kerberos).
* gnu/packages/mit-krb5.scm: Remove.
* gnu/packages/shishi.scm: Remove.
* gnu/packages/kerberos.scm: New file, from the concatenation of these
two.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/admin.scm, gnu/packages/cyrus-sasl.scm,
gnu/packages/gnome.scm, gnu/packages/gnuzilla.scm,
gnu/packages/gsasl.scm, gnu/packages/java.scm,
gnu/packages/networking.scm, gnu/packages/nfs.scm,
gnu/packages/onc-rpc.scm, gnu/packages/ssh.scm,
gnu/packages/web.scm: Adjust accordingly.
2017-01-18 09:57:43 +01:00
|
|
|
|
#:use-module (gnu packages kerberos)
|
2015-04-03 18:03:30 +02:00
|
|
|
|
#:use-module (gnu packages gd)
|
2014-10-30 22:15:13 +01:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2016-04-14 16:52:51 +02:00
|
|
|
|
#:use-module (gnu packages glib)
|
|
|
|
|
#:use-module (gnu packages gnome)
|
2017-02-13 02:51:43 +01:00
|
|
|
|
#:use-module (gnu packages gnu-doc)
|
2016-12-22 04:52:14 +01:00
|
|
|
|
#:use-module (gnu packages gnupg)
|
2017-05-26 05:17:04 +02:00
|
|
|
|
#:use-module (gnu packages gnuzilla)
|
2016-07-07 07:55:41 +02:00
|
|
|
|
#:use-module (gnu packages gperf)
|
2017-04-30 21:07:30 +02:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2016-07-07 07:55:41 +02:00
|
|
|
|
#:use-module (gnu packages image)
|
2017-04-30 21:07:30 +02:00
|
|
|
|
#:use-module (gnu packages libidn)
|
2017-07-21 05:14:32 +02:00
|
|
|
|
#:use-module (gnu packages libunistring)
|
2015-03-07 12:18:32 +01:00
|
|
|
|
#:use-module (gnu packages lua)
|
2016-10-04 17:43:01 +02:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
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 17:21:21 +01:00
|
|
|
|
#:use-module (gnu packages base)
|
2016-04-25 05:03:17 +02:00
|
|
|
|
#:use-module (gnu packages perl)
|
2015-05-07 10:48:52 +02:00
|
|
|
|
#:use-module (gnu packages python)
|
2013-12-07 21:56:01 +01:00
|
|
|
|
#:use-module (gnu packages pcre)
|
2015-03-07 12:18:32 +01:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2016-03-26 22:49:42 +01:00
|
|
|
|
#:use-module (gnu packages valgrind)
|
2014-06-12 13:03:53 +02:00
|
|
|
|
#:use-module (gnu packages xml)
|
2014-09-28 00:52:05 +02:00
|
|
|
|
#:use-module (gnu packages curl)
|
2015-02-01 00:03:19 +01:00
|
|
|
|
#:use-module (gnu packages perl)
|
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 18:27:24 +02:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
2016-03-26 22:49:42 +01:00
|
|
|
|
#:use-module (gnu packages textutils)
|
2015-09-21 11:20:32 +02:00
|
|
|
|
#:use-module (gnu packages tls)
|
|
|
|
|
#:use-module (gnu packages statistics))
|
2013-09-29 20:55:47 +02:00
|
|
|
|
|
|
|
|
|
(define-public httpd
|
|
|
|
|
(package
|
|
|
|
|
(name "httpd")
|
2017-07-13 17:33:15 +02:00
|
|
|
|
(version "2.4.27")
|
2013-09-29 20:55:47 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://apache/httpd/httpd-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-07-13 17:33:15 +02:00
|
|
|
|
"0fn1778mxhf78np2d8qlycg1c2ak18rxax41plahasca4clc3z3i"))))
|
2013-09-29 20:55:47 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2016-06-24 23:54:00 +02:00
|
|
|
|
(native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
|
2013-09-29 20:55:47 +02:00
|
|
|
|
(inputs `(("apr" ,apr)
|
|
|
|
|
("apr-util" ,apr-util)
|
|
|
|
|
("openssl" ,openssl)
|
2015-01-29 22:34:04 +01:00
|
|
|
|
("perl" ,perl))) ; needed to run bin/apxs
|
2013-09-29 20:55:47 +02: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 06:46:59 +02: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.")
|
2013-09-29 20:55:47 +02:00
|
|
|
|
(license l:asl2.0)
|
|
|
|
|
(home-page "https://httpd.apache.org/")))
|
2013-12-07 21:56:01 +01:00
|
|
|
|
|
2014-12-10 23:39:48 +01:00
|
|
|
|
(define-public nginx
|
|
|
|
|
(package
|
|
|
|
|
(name "nginx")
|
2017-07-12 00:22:33 +02:00
|
|
|
|
(version "1.12.1")
|
2014-12-10 23:39:48 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-10-06 21:01:00 +02:00
|
|
|
|
(uri (string-append "https://nginx.org/download/nginx-"
|
2014-12-10 23:39:48 +01:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-07-12 00:22:33 +02:00
|
|
|
|
"1yvnmj7vlykrqdi6amkvs63lva6qkxd98sqv0a8hz8w5ci1bz4w7"))))
|
2014-12-10 23:39:48 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("pcre" ,pcre)
|
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no test target
|
|
|
|
|
#:phases
|
2015-04-05 18:31:54 +02:00
|
|
|
|
(modify-phases %standard-phases
|
2015-04-10 11:35:50 +02:00
|
|
|
|
(add-before 'configure 'patch-/bin/sh
|
2015-04-05 18:31:54 +02:00
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "auto/feature"
|
2017-01-23 17:48:47 +01:00
|
|
|
|
(("/bin/sh") (which "sh")))
|
2016-10-06 21:01:00 +02:00
|
|
|
|
#t))
|
2015-04-10 11:35:50 +02:00
|
|
|
|
(replace 'configure
|
2015-04-05 18:31:54 +02:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((flags
|
|
|
|
|
(list (string-append "--prefix=" (assoc-ref outputs "out"))
|
|
|
|
|
"--with-http_ssl_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 "2.6.32") ; uname -r
|
|
|
|
|
;; uname -m
|
|
|
|
|
(machine (match (or (%current-target-system)
|
|
|
|
|
(%current-system))
|
|
|
|
|
("x86_64-linux" "x86_64")
|
|
|
|
|
("i686-linux" "i686")
|
2015-04-22 05:12:04 +02:00
|
|
|
|
("mips64el-linux" "mips64")
|
|
|
|
|
;; Prevent errors when querying
|
|
|
|
|
;; this package on unsupported
|
|
|
|
|
;; platforms, e.g. when running
|
|
|
|
|
;; "guix package --search="
|
|
|
|
|
(_ "UNSUPPORTED"))))
|
2015-04-05 18:31:54 +02:00
|
|
|
|
(string-append "--crossbuild="
|
|
|
|
|
system ":" release ":" machine)))))
|
|
|
|
|
(setenv "CC" "gcc")
|
|
|
|
|
(format #t "environment variable `CC' set to `gcc'~%")
|
|
|
|
|
(format #t "configure flags: ~s~%" flags)
|
2015-04-05 18:34:45 +02:00
|
|
|
|
(zero? (apply system* "./configure" flags)))))
|
2015-04-10 11:35:50 +02:00
|
|
|
|
(add-after 'install 'fix-root-dirs
|
2015-04-05 18:34:45 +02: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")
|
|
|
|
|
(string-append share "/html"))))))))
|
2016-10-06 21:01:00 +02:00
|
|
|
|
(home-page "https://nginx.org")
|
2014-12-10 23:39:48 +01:00
|
|
|
|
(synopsis "HTTP and reverse proxy server")
|
|
|
|
|
(description
|
|
|
|
|
"Nginx (\"engine X\") is a high-performance web and reverse proxy server
|
|
|
|
|
created by Igor Sysoev. It can be used both as a standalone web server
|
|
|
|
|
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.
|
|
|
|
|
(license (list l:bsd-2 l:expat l:bsd-3 l:bsd-4))))
|
|
|
|
|
|
2016-11-30 17:04:34 +01:00
|
|
|
|
(define-public fcgi
|
|
|
|
|
(package
|
|
|
|
|
(name "fcgi")
|
|
|
|
|
(version "2.4.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
;; Upstream has disappeared
|
|
|
|
|
(uri (string-append "https://sources.archlinux.org/other/packages/fcgi/"
|
|
|
|
|
"fcgi-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1f857wnl1d6jfrgfgfpz3zdaj8fch3vr13mnpcpvy8bang34bz36"))
|
|
|
|
|
(patches (search-patches "fcgi-2.4.0-poll.patch"
|
|
|
|
|
"fcgi-2.4.0-gcc44-fixes.patch"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2016-12-11 15:17:17 +01:00
|
|
|
|
;; Parallel building is not supported.
|
|
|
|
|
(arguments `(#:parallel-build? #f))
|
2016-11-30 17:04:34 +01:00
|
|
|
|
(home-page "http://www.fastcgi.com")
|
|
|
|
|
(synopsis "Language-independent, high-performant extension to CGI")
|
|
|
|
|
(description "FastCGI is a language independent, scalable extension to CGI
|
|
|
|
|
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.
|
|
|
|
|
(license (l:non-copyleft "file://LICENSE.TERMS"))))
|
|
|
|
|
|
2016-11-30 17:07:38 +01:00
|
|
|
|
(define-public fcgiwrap
|
|
|
|
|
(package
|
|
|
|
|
(name "fcgiwrap")
|
|
|
|
|
(version "1.1.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/gnosek/fcgiwrap/"
|
|
|
|
|
"archive/" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"07y6s4mm86cv7p1ljz94sxnqa89y9amn3vzwsnbq5hrl4vdy0zac"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests included
|
|
|
|
|
#:make-flags (list "CC=gcc")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'bootstrap
|
|
|
|
|
(lambda _
|
|
|
|
|
(zero? (system* "autoreconf" "-vif")))))))
|
|
|
|
|
(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).")
|
|
|
|
|
(license l:expat)))
|
|
|
|
|
|
2015-04-05 04:42:37 +02:00
|
|
|
|
(define-public starman
|
|
|
|
|
(package
|
|
|
|
|
(name "starman")
|
2016-06-16 16:50:26 +02:00
|
|
|
|
(version "0.4014")
|
2015-04-05 04:42:37 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
|
|
|
|
|
"Starman-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-06-16 16:50:26 +02:00
|
|
|
|
"1sbb5rb3vs82rlh1fjkgkcmj5pj62b4y9si4ihh45sl9m8c2qxx5"))))
|
2015-04-05 04:42:37 +02: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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Starman")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-05 04:42:37 +02:00
|
|
|
|
|
2015-01-30 10:47:23 +01:00
|
|
|
|
(define-public jansson
|
|
|
|
|
(package
|
|
|
|
|
(name "jansson")
|
2016-11-07 01:49:03 +01:00
|
|
|
|
(version "2.9")
|
2015-01-30 10:47:23 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "http://www.digip.org/jansson/releases/jansson-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-07 01:49:03 +01:00
|
|
|
|
"19fjgfwjfj99rqa3kf96x5rssj88siazggksgrikd6h4r9sd1l0a"))))
|
2015-01-30 10:47:23 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "http://www.digip.org/jansson/")
|
|
|
|
|
(synopsis "JSON C library")
|
|
|
|
|
(description
|
|
|
|
|
"Jansson is a C library for encoding, decoding and manipulating JSON
|
|
|
|
|
data.")
|
|
|
|
|
(license l:expat)))
|
|
|
|
|
|
2014-06-24 14:53:51 +02:00
|
|
|
|
(define-public json-c
|
|
|
|
|
(package
|
|
|
|
|
(name "json-c")
|
2016-10-02 19:44:09 +02:00
|
|
|
|
(version "0.12.1")
|
2014-06-24 14:53:51 +02: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 15:50:36 +01:00
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://s3.amazonaws.com/json-c_releases/releases/json-c-"
|
|
|
|
|
version ".tar.gz"))
|
2014-06-24 14:53:51 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-10-02 19:44:09 +02:00
|
|
|
|
"08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
|
2014-06-24 14:53:51 +02: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")
|
|
|
|
|
(("-Werror") ""))))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments '(#:parallel-build? #f
|
|
|
|
|
#:parallel-tests? #f))
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:x11)))
|
|
|
|
|
|
2016-04-25 05:03:17 +02:00
|
|
|
|
(define-public krona-tools
|
|
|
|
|
(package
|
|
|
|
|
(name "krona-tools")
|
2016-07-27 15:39:46 +02:00
|
|
|
|
(version "2.7")
|
2016-04-25 05:03:17 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/marbl/Krona/releases/download/v"
|
|
|
|
|
version "/KronaTools-" version ".tar"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-07-27 15:39:46 +02:00
|
|
|
|
"0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
|
2016-04-25 05:03:17 +02:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(arguments
|
2016-06-05 01:54:33 +02:00
|
|
|
|
`(#:phases
|
2016-04-25 05:03:17 +02:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; There is no configure or build steps.
|
|
|
|
|
(delete 'configure)
|
2016-07-27 15:39:46 +02:00
|
|
|
|
(delete 'build)
|
2016-04-25 05:03:17 +02: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")
|
2016-06-05 01:54:33 +02:00
|
|
|
|
"/lib/perl5/site_perl/krona-tools/lib")))
|
2016-04-25 05:03:17 +02:00
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (script)
|
|
|
|
|
(let* ((executable (string-append "scripts/" script ".pl")))
|
|
|
|
|
;; Prefix executables with 'kt' as install script does.
|
|
|
|
|
(copy-file executable (string-append bin "/kt" script))))
|
|
|
|
|
'("ClassifyBLAST"
|
|
|
|
|
"GetContigMagnitudes"
|
2016-07-27 15:39:46 +02:00
|
|
|
|
"GetLCA"
|
|
|
|
|
"GetTaxIDFromAcc"
|
|
|
|
|
"GetTaxInfo"
|
2016-04-25 05:03:17 +02:00
|
|
|
|
"ImportBLAST"
|
|
|
|
|
"ImportDiskUsage"
|
|
|
|
|
"ImportEC"
|
|
|
|
|
"ImportFCP"
|
|
|
|
|
"ImportGalaxy"
|
|
|
|
|
"ImportKrona"
|
|
|
|
|
"ImportMETAREP-BLAST"
|
|
|
|
|
"ImportMETAREP-EC"
|
|
|
|
|
"ImportMGRAST"
|
|
|
|
|
"ImportPhymmBL"
|
|
|
|
|
"ImportRDP"
|
|
|
|
|
"ImportRDPComparison"
|
|
|
|
|
"ImportTaxonomy"
|
|
|
|
|
"ImportText"
|
|
|
|
|
"ImportXML"))
|
2016-07-27 15:39:46 +02:00
|
|
|
|
(for-each
|
|
|
|
|
(lambda (directory)
|
|
|
|
|
(copy-recursively directory
|
|
|
|
|
(string-append perl "/../" directory)))
|
|
|
|
|
(list "data" "img" "taxonomy" "src"))
|
2016-04-25 05:03:17 +02:00
|
|
|
|
(install-file "lib/KronaTools.pm" perl))))
|
|
|
|
|
(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-05 01:54:33 +02: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"
|
|
|
|
|
(zero? (system* (string-append (assoc-ref outputs "out") "/bin/ktImportText")
|
|
|
|
|
"ec.tsv"))))))))
|
2016-04-25 05:03:17 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("perl" ,perl)))
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:bsd-3)))
|
|
|
|
|
|
2015-05-25 22:14:39 +02:00
|
|
|
|
(define-public rapidjson
|
|
|
|
|
(package
|
|
|
|
|
(name "rapidjson")
|
|
|
|
|
(version "1.0.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/miloyip/rapidjson/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-07-18 22:53:50 +02:00
|
|
|
|
"0rl6s0vg5y1dhh9vfl1lqay3sxf69sxjh0czxrjmasn7ng91wwf3"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Building with GCC 4.8 with -Werror was fine, but 4.9.3
|
|
|
|
|
;; complains in new ways, so turn of -Werror.
|
|
|
|
|
'(substitute* (find-files "." "^CMakeLists\\.txt$")
|
|
|
|
|
(("-Werror") "")))))
|
2015-05-25 22:14:39 +02:00
|
|
|
|
(build-system cmake-build-system)
|
2017-03-30 22:20:07 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(,@(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))))
|
|
|
|
|
'())))
|
2015-05-25 22:14:39 +02:00
|
|
|
|
(home-page "https://github.com/miloyip/rapidjson")
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:expat)))
|
|
|
|
|
|
2015-08-17 22:06:01 +02:00
|
|
|
|
(define-public libyajl
|
|
|
|
|
(package
|
|
|
|
|
(name "libyajl")
|
|
|
|
|
(version "2.1.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/lloyd/yajl/"
|
|
|
|
|
"archive/" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0nmcqpaiq4pv7dymyg3n3jsd57yhp5npxl26a1hzw3m3lmj37drz"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:isc)))
|
|
|
|
|
|
2014-02-27 19:49:12 +01:00
|
|
|
|
(define-public libwebsockets
|
|
|
|
|
(package
|
|
|
|
|
(name "libwebsockets")
|
2014-08-28 11:38:12 +02:00
|
|
|
|
(version "1.3")
|
2014-02-27 19:49:12 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
;; The project does not publish tarballs, so we have to take
|
|
|
|
|
;; things from Git.
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "git://git.libwebsockets.org/libwebsockets")
|
|
|
|
|
(commit (string-append "v" version
|
2014-08-28 11:38:12 +02:00
|
|
|
|
"-chrome37-firefox30"))))
|
2014-02-27 19:49:12 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2014-08-28 11:38:12 +02:00
|
|
|
|
"12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
|
2014-02-27 19:49:12 +01:00
|
|
|
|
(file-name (string-append name "-" version))))
|
|
|
|
|
|
2014-08-28 11:38:12 +02:00
|
|
|
|
(build-system cmake-build-system)
|
2014-02-27 19:49:12 +01:00
|
|
|
|
(arguments
|
2014-08-28 11:38:12 +02: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 19:49:12 +01:00
|
|
|
|
|
2014-08-28 11:38:12 +02:00
|
|
|
|
(native-inputs `(("perl" ,perl))) ; to build the HTML doc
|
2014-02-27 19:49:12 +01: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 06:46:59 +02:00
|
|
|
|
"Libwebsockets is a library that allows C programs to establish client
|
2014-02-27 19:49:12 +01:00
|
|
|
|
and server WebSockets connections---a protocol layered above HTTP that allows
|
|
|
|
|
for efficient socket-like bidirectional reliable communication channels.")
|
|
|
|
|
(home-page "http://libwebsockets.org/")
|
|
|
|
|
|
|
|
|
|
;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
|
|
|
|
|
(license l:lgpl2.1)))
|
|
|
|
|
|
2014-10-30 22:15:13 +01:00
|
|
|
|
(define-public libpsl
|
|
|
|
|
(package
|
|
|
|
|
(name "libpsl")
|
2017-07-21 05:14:32 +02:00
|
|
|
|
(version "0.18.0")
|
2014-10-30 22:15:13 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/rockdaboot/libpsl/"
|
2016-04-03 22:35:29 +02:00
|
|
|
|
"releases/download/libpsl-" version
|
|
|
|
|
"/libpsl-" version ".tar.gz"))
|
2014-10-30 22:15:13 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-07-21 05:14:32 +02:00
|
|
|
|
"00iids8ldsqnnndmcfjp6kc00lv7fawf5l24mpbdbkh98yazgc4i"))))
|
2014-10-30 22:15:13 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2017-07-21 05:14:32 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2016-04-03 22:35:29 +02:00
|
|
|
|
(inputs
|
2017-07-21 05:14:32 +02:00
|
|
|
|
`(("libidn2" ,libidn2)
|
|
|
|
|
("libunistring" ,libunistring)
|
2016-04-03 22:35:29 +02:00
|
|
|
|
("python-2" ,python-2)))
|
2014-10-30 22:15:13 +01: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.
|
|
|
|
|
|
|
|
|
|
Libpsl has built-in PSL data for fast access, allows to load PSL data from
|
|
|
|
|
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 14:16:07 +02:00
|
|
|
|
UTS#46.")
|
2014-10-30 22:15:13 +01:00
|
|
|
|
(license l:x11)))
|
|
|
|
|
|
2015-02-07 03:14:11 +01: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")))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-07-21 05:32:30 +02:00
|
|
|
|
"14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
|
2016-04-08 14:18:13 +02:00
|
|
|
|
(patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
|
2015-02-07 03:14:11 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2016-11-12 18:33:45 +01:00
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'bootstrap
|
|
|
|
|
(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")
|
|
|
|
|
(zero? (system* "autoreconf" "-vfi")))))))
|
2015-02-07 03:14:11 +01: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/")
|
|
|
|
|
(license (l:x11-style "file:///include/tidy.h"))))
|
|
|
|
|
|
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 19:48:43 +01:00
|
|
|
|
(define-public tinyproxy
|
2013-12-07 21:56:01 +01: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 19:48:43 +01:00
|
|
|
|
(name "tinyproxy")
|
2016-05-30 09:16:42 +02:00
|
|
|
|
(version "1.8.4")
|
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 19:48:43 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-05-30 09:16:42 +02: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 19:48:43 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-05-30 09:16:42 +02:00
|
|
|
|
"002hi97687czhfkwsjkr174yvlp10224qi6gd5s53z230bgls7x4"))))
|
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 19:48:43 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
;; For the log file, etc.
|
|
|
|
|
"--localstatedir=/var")
|
|
|
|
|
#:phases
|
|
|
|
|
(alist-cons-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)
|
|
|
|
|
%standard-phases)))
|
|
|
|
|
;; All of the below are used to generate the documentation
|
|
|
|
|
;; (Should they be propagated inputs of asciidoc ??)
|
gnu: Adjust asciidoc-related build options.
Commits 9099a45792306fade2d9ca55138e49ef4f01f1ea and
3078821d1380c26c738be6b5d430c595327d401f make many package inputs and
build configurations related to asciidoc obsolete.
* gnu/packages/compton.scm (compton)[inputs]: Remove docbook-xml,
libxml2 and libxslt.
* gnu/packages/mail.scm (offlinemap)[native-inputs]: Remove libxslt.
* gnu/packages/linux.scm (btrfs-progs)[native-inputs]: Remove docbook-xml.
(perf)[inputs]: Remove docbook-xml and libxslt.
* gnu/packages/text-editors.scm (kakoune)[native-inputs]: Remove libxslt.
* gnu/packages/version-control.scm (cgit)[native-inputs]: Remove
docbook-xml, docbook-xsl, libxml2 and libxslt.
(cvs-fast-export)[native-inputs]: Remove docbook-xml, docbook-xsl,
libxml2 and libxslt.
* gnu/packages/web.scm (qutebrowser)[native-inputs]: Remove docbook-xml,
docbook-xsl, libxml2, and libxslt.
(tinyproxy)[native-inputs]: Remove docbook-xml, docbook-xsl, libxml2 and
libxslt.
* gnu/packages/wm.scm (awesome)[make-flags]: Remove XML_CATALOG_FILES flag.
(i3-wm)[inputs]: Remove docbook-xml.
[native-inputs]: Add libxml2.
2017-03-18 20:40:15 +01:00
|
|
|
|
(native-inputs `(("asciidoc" ,asciidoc)))
|
2016-05-30 09:16:42 +02: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 19:48:43 +01: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.")
|
|
|
|
|
(license l:gpl2+)))
|
|
|
|
|
|
|
|
|
|
(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 19:39:11 +02: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 19:48:43 +01: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))
|
|
|
|
|
(home-page "http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:expat)))
|
|
|
|
|
|
2016-12-22 04:52:14 +01: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)
|
|
|
|
|
("libcrypt", libgcrypt)))
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:gpl2+)))
|
|
|
|
|
|
2017-05-26 05:17:04 +02: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 17:41:29 +02:00
|
|
|
|
(synopsis "C library implementing the OAuth API")
|
2017-05-26 05:17:04 +02:00
|
|
|
|
(description
|
2017-06-05 17:41:29 +02: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 05:17:04 +02:00
|
|
|
|
requests or verify signatures using either NSS or OpenSSL for calculating the
|
|
|
|
|
hash/signatures.")
|
|
|
|
|
;; Source code may be distributed under either license.
|
|
|
|
|
(license (list l:expat l: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 19:48:43 +01:00
|
|
|
|
(define-public libyaml
|
|
|
|
|
(package
|
|
|
|
|
(name "libyaml")
|
2016-05-28 07:14:49 +02:00
|
|
|
|
(version "0.1.6")
|
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 19:48:43 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://pyyaml.org/download/libyaml/yaml-"
|
|
|
|
|
version ".tar.gz"))
|
2016-05-28 07:16:43 +02:00
|
|
|
|
(patches (search-patches "libyaml-CVE-2014-9130.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 19:48:43 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-05-28 07:14:49 +02:00
|
|
|
|
"0j9731s5zjb8mjx7wzf6vh7bsqi38ay564x6s9nri2nh9cdrg9kx"))))
|
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 19:48:43 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "http://pyyaml.org/wiki/LibYAML")
|
|
|
|
|
(synopsis "YAML 1.1 parser and emitter written in C")
|
|
|
|
|
(description
|
|
|
|
|
"LibYAML is a YAML 1.1 parser and emitter written in C.")
|
|
|
|
|
(license l:expat)))
|
|
|
|
|
|
|
|
|
|
(define-public libquvi-scripts
|
|
|
|
|
(package
|
|
|
|
|
(name "libquvi-scripts")
|
|
|
|
|
(version "0.4.21")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-07-21 08:35:30 +02: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 19:48:43 +01: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.")
|
|
|
|
|
(license l:lgpl2.1+)))
|
|
|
|
|
|
|
|
|
|
(define-public libquvi
|
|
|
|
|
(package
|
|
|
|
|
(name "libquvi")
|
|
|
|
|
(version "0.4.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-07-21 08:35:30 +02: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 19:48:43 +01: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.")
|
|
|
|
|
(license l:lgpl2.1+)))
|
|
|
|
|
|
|
|
|
|
(define-public quvi
|
|
|
|
|
(package
|
|
|
|
|
(name "quvi")
|
|
|
|
|
(version "0.4.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-07-21 08:35:30 +02: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 19:48:43 +01: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.")
|
|
|
|
|
(license l:lgpl2.1+)))
|
|
|
|
|
|
2015-05-07 10:48:52 +02:00
|
|
|
|
(define-public serf
|
|
|
|
|
(package
|
|
|
|
|
(name "serf")
|
2017-04-27 17:52:48 +02:00
|
|
|
|
(version "1.3.9")
|
2015-05-07 10:48:52 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2016-05-27 15:40:05 +02:00
|
|
|
|
(uri (string-append "https://archive.apache.org/dist/serf/serf-"
|
2015-05-07 10:48:52 +02:00
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
2017-04-27 17:52:48 +02:00
|
|
|
|
(base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
|
2015-05-07 10:48:52 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("scons" ,scons)
|
|
|
|
|
("python" ,python-2)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("apr" ,apr)
|
|
|
|
|
("apr-util" ,apr-util)
|
|
|
|
|
("openssl" ,openssl)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(;; TODO: Fix build with gss.
|
|
|
|
|
;;("gss" ,gss)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
2017-05-07 00:24:08 +02:00
|
|
|
|
`(#:modules ((guix build gnu-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(srfi srfi-1))
|
|
|
|
|
#:phases
|
2015-05-07 10:48:52 +02:00
|
|
|
|
;; TODO: Add scons-build-system and use it here.
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(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, "))))
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(apr (assoc-ref inputs "apr"))
|
|
|
|
|
(apr-util (assoc-ref inputs "apr-util"))
|
|
|
|
|
(openssl (assoc-ref inputs "openssl"))
|
|
|
|
|
;;(gss (assoc-ref inputs "gss"))
|
|
|
|
|
(zlib (assoc-ref inputs "zlib")))
|
|
|
|
|
(zero? (system* "scons"
|
|
|
|
|
(string-append "APR=" apr)
|
|
|
|
|
(string-append "APU=" apr-util)
|
|
|
|
|
(string-append "OPENSSL=" openssl)
|
|
|
|
|
;;(string-append "GSSAPI=" gss)
|
|
|
|
|
(string-append "ZLIB=" zlib)
|
|
|
|
|
(string-append "PREFIX=" out))))))
|
2017-04-27 17:48:28 +02: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)
|
|
|
|
|
#t)))
|
2015-05-07 10:48:52 +02:00
|
|
|
|
(replace 'check (lambda _ (zero? (system* "scons" "check"))))
|
|
|
|
|
(replace 'install (lambda _ (zero? (system* "scons" "install")))))))
|
2016-05-27 15:40:05 +02:00
|
|
|
|
(home-page "https://serf.apache.org/")
|
2015-05-07 10:48:52 +02: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.
|
|
|
|
|
(license (list l:asl2.0 (l:non-copyleft "file://test/CuTest-README.txt")))))
|
|
|
|
|
|
2015-08-20 03:54:57 +02:00
|
|
|
|
(define-public sassc
|
|
|
|
|
;; libsass must be statically linked and it isn't included in the sassc
|
|
|
|
|
;; release tarballs, hence this odd package recipe.
|
|
|
|
|
(let* ((version "3.2.5")
|
|
|
|
|
(libsass
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/sass/libsass/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append "libsass-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1x25k6p1s1yzsdpzb7bzh8japilmi1mk3z96q66pycbinj9z9is4")))))
|
|
|
|
|
(package
|
|
|
|
|
(name "sassc")
|
|
|
|
|
(version version)
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/sass/sassc/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append "sassc-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1xf3w75w840rj0nx375rxi7mcv1ngqqq8p3zrzjlyx8jfpnldmv5"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags '("CC=gcc")
|
|
|
|
|
#:test-target "test"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'unpack 'unpack-libsass-and-set-path
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(and (zero? (system* "tar" "xvf" (assoc-ref inputs "libsass")))
|
|
|
|
|
(begin
|
|
|
|
|
(setenv "SASS_LIBSASS_PATH"
|
|
|
|
|
(string-append (getcwd) "/libsass-" ,version))
|
|
|
|
|
#t))))
|
|
|
|
|
(replace 'install ; no install target
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((bin (string-append (assoc-ref outputs "out") "/bin")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(copy-file "bin/sassc" (string-append bin "/sassc"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libsass" ,libsass)))
|
|
|
|
|
(synopsis "CSS pre-processor")
|
|
|
|
|
(description "SassC is a compiler written in C for the CSS pre-processor
|
|
|
|
|
language known as SASS.")
|
|
|
|
|
(home-page "http://sass-lang.com/libsass")
|
|
|
|
|
(license l: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 19:48:43 +01:00
|
|
|
|
|
2015-03-10 21:21:30 +01:00
|
|
|
|
(define-public perl-apache-logformat-compiler
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-apache-logformat-compiler")
|
2016-11-30 13:59:53 +01:00
|
|
|
|
(version "0.33")
|
2015-03-10 21:21:30 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
|
|
|
|
|
"Apache-LogFormat-Compiler-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-30 13:59:53 +01:00
|
|
|
|
"17blk3zhp05azgypn25ydxf3d7fyfgr9bxyiv7xkchhqma96vwqv"))))
|
2015-03-10 21:21:30 +01:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-http-message" ,perl-http-message)
|
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-21 00:15:41 +01:00
|
|
|
|
("perl-module-build" ,perl-module-build)
|
2015-03-10 21:21:30 +01: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)))
|
|
|
|
|
(arguments `(#:tests? #f)) ;TODO: Timezone test failures
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Apache-LogFormat-Compiler")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-10 21:21:30 +01:00
|
|
|
|
|
2015-06-28 04:01:54 +02: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 16:36:50 +02: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 04:01:54 +02:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-digest-hmac" ,perl-digest-hmac)
|
|
|
|
|
("perl-gssapi" ,perl-gssapi)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Authen-SASL")
|
|
|
|
|
(synopsis "SASL authentication framework")
|
|
|
|
|
(description "Authen::SASL provides an SASL authentication framework.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-06-28 04:01:54 +02:00
|
|
|
|
|
2015-03-20 18:18:18 +01: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
|
|
|
|
|
`(("perl-http-request-ascgi" ,perl-http-request-ascgi)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-data-visitor" ,perl-data-visitor)
|
|
|
|
|
("perl-mro-compat" ,perl-mro-compat)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Catalyst-Action-RenderView")
|
|
|
|
|
(synopsis "Sensible default Catalyst action")
|
|
|
|
|
(description "This Catalyst action implements a sensible default end
|
|
|
|
|
action, which will forward to the first available view.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-20 18:18:18 +01:00
|
|
|
|
|
2015-03-17 19:52:20 +01:00
|
|
|
|
(define-public perl-catalyst-action-rest
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-action-rest")
|
2016-11-30 14:31:21 +01:00
|
|
|
|
(version "1.20")
|
2015-03-17 19:52:20 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-12-01 11:36:38 +01:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
|
2015-03-17 19:52:20 +01:00
|
|
|
|
"Catalyst-Action-REST-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-30 14:31:21 +01:00
|
|
|
|
"1mpa64p61f3dp24xnhdraswch4sqj5vyv1iivcvvh5h0xi0haiy0"))))
|
2015-03-17 19:52:20 +01:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-test-requires" ,perl-test-requires)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-class-inspector" ,perl-class-inspector)
|
2016-11-30 14:31:21 +01:00
|
|
|
|
("perl-config-general" ,perl-config-general)
|
|
|
|
|
("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
|
2015-03-17 19:52:20 +01: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 14:31:21 +01:00
|
|
|
|
("perl-uri-find" ,perl-uri-find)
|
|
|
|
|
("perl-xml-simple" ,perl-xml-simple)))
|
2015-03-17 19:52:20 +01:00
|
|
|
|
(home-page "http://search.cpan.org/dist/Catalyst-Action-REST")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-17 19:52:20 +01:00
|
|
|
|
|
2015-04-18 06:20:51 +02: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)
|
|
|
|
|
("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
|
|
|
|
|
"http://search.cpan.org/dist/Catalyst-Authentication-Store-DBIx-Class")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-18 06:20:51 +02:00
|
|
|
|
|
2015-03-17 21:15:38 +01: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)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-moose" ,perl-moose)))
|
|
|
|
|
(home-page
|
|
|
|
|
"http://search.cpan.org/dist/Catalyst-Component-InstancePerContext")
|
|
|
|
|
(synopsis "Create only one instance of Moose component per context")
|
|
|
|
|
(description "Catalyst::Component::InstancePerContext returns a new
|
|
|
|
|
instance of a component on each request.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-17 21:15:38 +01:00
|
|
|
|
|
2015-03-20 20:21:26 +01:00
|
|
|
|
(define-public perl-catalyst-devel
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-devel")
|
|
|
|
|
(version "1.39")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
|
|
|
|
|
"Catalyst-Devel-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"12m50bbkggjmpxihv3wnvr0g2qng0zwhlzi5ygppjz8wh2x73qxw"))))
|
|
|
|
|
(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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Catalyst-Devel")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-20 20:21:26 +01:00
|
|
|
|
|
2015-04-01 19:28:57 +02: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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Catalyst-DispatchType-Regex")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-01 19:28:57 +02:00
|
|
|
|
|
2015-03-18 16:01:31 +01: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)
|
|
|
|
|
("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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Catalyst-Model-DBIC-Schema")
|
|
|
|
|
(synopsis "DBIx::Class::Schema Model Class")
|
|
|
|
|
(description "This is a Catalyst Model for DBIx::Class::Schema-based
|
|
|
|
|
Models.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-18 16:01:31 +01:00
|
|
|
|
|
2015-04-01 21:59:07 +02:00
|
|
|
|
(define-public perl-catalyst-plugin-accesslog
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-plugin-accesslog")
|
2016-11-30 14:39:02 +01:00
|
|
|
|
(version "1.10")
|
2015-04-01 21:59:07 +02: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 14:39:02 +01:00
|
|
|
|
"0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
|
2015-04-01 21:59:07 +02: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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Catalyst-Plugin-AccessLog")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-01 21:59:07 +02:00
|
|
|
|
|
2015-03-17 20:44:52 +01: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)
|
|
|
|
|
(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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Catalyst-Plugin-Authentication")
|
|
|
|
|
(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 14:16:07 +02:00
|
|
|
|
Catalyst apps. It is the basis for both authentication (checking the user is
|
2015-03-17 20:44:52 +01:00
|
|
|
|
who they claim to be), and authorization (allowing the user to do what the
|
|
|
|
|
system authorises them to do).")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-17 20:44:52 +01:00
|
|
|
|
|
2015-04-19 16:55:28 +02: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
|
|
|
|
|
`(("perl-test-exception" ,perl-test-exception)))
|
|
|
|
|
(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
|
|
|
|
|
"http://search.cpan.org/dist/Catalyst-Plugin-Authorization-Roles")
|
|
|
|
|
(synopsis "Role-based authorization for Catalyst")
|
|
|
|
|
(description "Catalyst::Plugin::Authorization::Roles provides role-based
|
|
|
|
|
authorization for Catalyst based on Catalyst::Plugin::Authentication.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-19 16:55:28 +02:00
|
|
|
|
|
2015-04-03 18:03:30 +02: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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Catalyst-Plugin-Captcha")
|
|
|
|
|
(synopsis "Captchas for Catalyst")
|
|
|
|
|
(description "This plugin creates and validates Captcha images for
|
|
|
|
|
Catalyst.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-03 18:03:30 +02:00
|
|
|
|
|
2015-03-20 18:22:13 +01:00
|
|
|
|
(define-public perl-catalyst-plugin-configloader
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-plugin-configloader")
|
|
|
|
|
(version "0.34")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
|
|
|
|
|
"Catalyst-Plugin-ConfigLoader-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"19j7p4v7mbx6wrmpvmrnd974apx7hdl2s095ga3b9zcbdrl77h5q"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-path-class" ,perl-path-class)))
|
|
|
|
|
(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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Catalyst-Plugin-ConfigLoader")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-20 18:22:13 +01:00
|
|
|
|
|
2015-03-17 20:42:22 +01:00
|
|
|
|
(define-public perl-catalyst-plugin-session
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-plugin-session")
|
2016-11-30 14:45:50 +01:00
|
|
|
|
(version "0.40")
|
2015-03-17 20:42:22 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
|
|
|
|
|
"Catalyst-Plugin-Session-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-30 14:45:50 +01:00
|
|
|
|
"171vi9xcl775scjaw4fcfdmqvz0rb1nr0xxg2gb3ng6bjzpslhgv"))))
|
2015-03-17 20:42:22 +01:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-test-deep" ,perl-test-deep)
|
|
|
|
|
("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 14:45:50 +01:00
|
|
|
|
("perl-mro-compat" ,perl-mro-compat)
|
2015-03-17 20:42:22 +01:00
|
|
|
|
("perl-namespace-clean" ,perl-namespace-clean)
|
|
|
|
|
("perl-object-signature" ,perl-object-signature)
|
|
|
|
|
("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Catalyst-Plugin-Session")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-17 20:42:22 +01:00
|
|
|
|
|
2015-04-03 18:14:29 +02: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)
|
|
|
|
|
(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
|
|
|
|
|
"http://search.cpan.org/dist/Catalyst-Plugin-Session-State-Cookie")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-03 18:14:29 +02:00
|
|
|
|
|
2015-04-03 18:25:34 +02: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
|
|
|
|
|
"http://search.cpan.org/dist/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 14:16:07 +02:00
|
|
|
|
(synopsis "FastMmap session storage backend")
|
2015-04-03 18:25:34 +02: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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-03 18:25:34 +02:00
|
|
|
|
|
2015-04-03 18:31:46 +02: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)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-devel-stacktrace" ,perl-devel-stacktrace)
|
|
|
|
|
("perl-mro-compat" ,perl-mro-compat)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Catalyst-Plugin-StackTrace")
|
|
|
|
|
(synopsis "Stack trace on the Catalyst debug screen")
|
|
|
|
|
(description "This plugin enhances the standard Catalyst debug screen by
|
2015-07-23 09:40:05 +02:00
|
|
|
|
including a stack trace of your application up to the point where the error
|
2015-04-03 18:31:46 +02:00
|
|
|
|
occurred. Each stack frame is displayed along with the package name, line
|
|
|
|
|
number, file name, and code context surrounding the line number.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-03 18:31:46 +02:00
|
|
|
|
|
2015-03-20 18:58:47 +01:00
|
|
|
|
(define-public perl-catalyst-plugin-static-simple
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-plugin-static-simple")
|
|
|
|
|
(version "0.33")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
|
|
|
|
|
"Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1h8f12bhzh0ssq9gs8r9g3hqn8zn2k0q944vc1vm8j81bns16msy"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Catalyst-Plugin-Static-Simple")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-20 18:58:47 +01:00
|
|
|
|
|
2015-03-12 19:43:01 +01:00
|
|
|
|
(define-public perl-catalyst-runtime
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-runtime")
|
|
|
|
|
(version "5.90082")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
|
|
|
|
|
"Catalyst-Runtime-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1gs70nq4rikpq6siwds9disb1z03vwjzf979xi9kf7saa1drfncs"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-test-fatal" ,perl-test-fatal)))
|
|
|
|
|
(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-data-inheritable" ,perl-class-data-inheritable)
|
|
|
|
|
("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-http-request-ascgi" ,perl-http-request-ascgi)
|
|
|
|
|
("perl-io-stringy" ,perl-io-stringy)
|
|
|
|
|
("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-21 00:15:41 +01:00
|
|
|
|
("perl-module-pluggable" ,perl-module-pluggable)
|
2015-03-12 19:43:01 +01: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-moosex-role-withoverloading" ,perl-moosex-role-withoverloading)
|
|
|
|
|
("perl-namespace-autoclean" ,perl-namespace-autoclean)
|
|
|
|
|
("perl-namespace-clean" ,perl-namespace-clean)
|
|
|
|
|
("perl-path-class" ,perl-path-class)
|
|
|
|
|
("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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Catalyst-Runtime")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-12 19:43:01 +01:00
|
|
|
|
|
2015-04-03 18:59:37 +02: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)
|
|
|
|
|
("perl-http-message" ,perl-http-message)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-moose" ,perl-moose)
|
|
|
|
|
("perl-namespace-autoclean" ,perl-namespace-autoclean)
|
|
|
|
|
("perl-uri" ,perl-uri)))
|
|
|
|
|
(home-page
|
|
|
|
|
"http://search.cpan.org/dist/Catalyst-TraitFor-Request-ProxyBase")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-03 18:59:37 +02:00
|
|
|
|
|
2015-04-03 21:20:10 +02: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)
|
|
|
|
|
("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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Catalyst-View-Download")
|
|
|
|
|
(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 14:16:07 +02:00
|
|
|
|
table based report in a variety of formats (CSV, HTML, etc.).")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-03 21:20:10 +02:00
|
|
|
|
|
2015-04-03 21:49:48 +02:00
|
|
|
|
(define-public perl-catalyst-view-json
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-view-json")
|
2016-11-30 18:40:19 +01:00
|
|
|
|
(version "0.36")
|
2015-04-03 21:49:48 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
|
|
|
|
|
"Catalyst-View-JSON-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-30 18:40:19 +01:00
|
|
|
|
"0x943j1n2r0zqanyzdrs1xsnn8ayn2wqskn7h144xcqa6v6gcisl"))))
|
2015-04-03 21:49:48 +02:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-yaml" ,perl-yaml)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-json-maybexs" ,perl-json-maybexs)
|
|
|
|
|
("perl-mro-compat" ,perl-mro-compat)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Catalyst-View-JSON")
|
|
|
|
|
(synopsis "Catalyst JSON view")
|
|
|
|
|
(description "Catalyst::View::JSON is a Catalyst View handler that returns
|
|
|
|
|
stash data in JSON format.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-03 21:49:48 +02:00
|
|
|
|
|
2015-04-05 03:19:19 +02:00
|
|
|
|
(define-public perl-catalyst-view-tt
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalyst-view-tt")
|
2016-11-30 18:46:22 +01:00
|
|
|
|
(version "0.44")
|
2015-04-05 03:19:19 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2016-12-01 11:34:03 +01:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
|
2015-04-05 03:19:19 +02:00
|
|
|
|
"Catalyst-View-TT-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-30 18:46:22 +01:00
|
|
|
|
"06d1zg4nbb6kcyjbnyxrkf8z4zlscxr8650d94f7187jygfl8rvh"))))
|
2015-04-05 03:19:19 +02:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-class-accessor" ,perl-class-accessor)
|
2016-11-30 18:46:22 +01:00
|
|
|
|
("perl-data-dump" ,perl-data-dump)
|
2015-04-05 03:19:19 +02: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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Catalyst-View-TT")
|
|
|
|
|
(synopsis "Template View Class")
|
|
|
|
|
(description "This module is a Catalyst view class for the Template
|
|
|
|
|
Toolkit.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-05 03:19:19 +02:00
|
|
|
|
|
2015-03-17 20:58:31 +01: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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/CatalystX-Component-Traits")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-17 20:58:31 +01:00
|
|
|
|
|
2015-04-03 18:58:38 +02: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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/CatalystX-RoleApplicator")
|
|
|
|
|
(synopsis "Apply roles to Catalyst classes")
|
|
|
|
|
(description "CatalystX::RoleApplicator applies roles to Catalyst
|
|
|
|
|
application classes.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-03 18:58:38 +02:00
|
|
|
|
|
2015-04-05 04:46:30 +02:00
|
|
|
|
(define-public perl-catalystx-script-server-starman
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-catalystx-script-server-starman")
|
|
|
|
|
(version "0.02")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
|
|
|
|
|
"CatalystX-Script-Server-Starman-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0h02mpkc4cmi3jpvcd7iw7xyzx55bqvvl1qkf967gqkvpklm0qx5"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-catalyst-runtime" ,perl-catalyst-runtime)
|
|
|
|
|
("perl-moose" ,perl-moose)
|
|
|
|
|
("perl-namespace-autoclean" ,perl-namespace-autoclean)
|
|
|
|
|
("starman" ,starman)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/CatalystX-Script-Server-Starman")
|
|
|
|
|
(synopsis "Catalyst development server with Starman")
|
|
|
|
|
(description "This module provides a Catalyst extension to replace the
|
|
|
|
|
development server with Starman.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-05 04:46:30 +02:00
|
|
|
|
|
2016-01-21 00:11:09 +01:00
|
|
|
|
(define-public perl-cgi
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-cgi")
|
2016-11-30 19:43:49 +01:00
|
|
|
|
(version "4.35")
|
2016-01-21 00:11:09 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
|
|
|
|
|
"CGI-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-30 19:43:49 +01:00
|
|
|
|
"07gwnlc7vq58fjwmfsrv0hfyirqqdrpjhf89caq34rjrkz2wsd0b"))))
|
2016-01-21 00:11:09 +01: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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/CGI")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2016-01-21 00:11:09 +01:00
|
|
|
|
|
2015-03-11 22:25:58 +01:00
|
|
|
|
(define-public perl-cgi-simple
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-cgi-simple")
|
|
|
|
|
(version "1.115")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/S/SZ/SZABGAB/"
|
|
|
|
|
"CGI-Simple-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1nkyb1m1g5r47xykflf68dplanih5p15njv82frbgbsms34kp1sg"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
2016-01-17 18:41:20 +01:00
|
|
|
|
`(("perl-module-build" ,perl-module-build)
|
|
|
|
|
("perl-io-stringy" ,perl-io-stringy))) ;for IO::Scalar
|
2015-03-11 22:25:58 +01:00
|
|
|
|
(home-page "http://search.cpan.org/dist/CGI-Simple")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-11 22:25:58 +01:00
|
|
|
|
|
2015-03-11 22:28:29 +01: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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/CGI-Struct")
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:bsd-2)))
|
|
|
|
|
|
2015-04-06 23:47:54 +02: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-21 00:15:41 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-build" ,perl-module-build)))
|
2015-04-06 23:47:54 +02:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-datetime" ,perl-datetime)
|
|
|
|
|
("perl-http-date" ,perl-http-date)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/DateTime-Format-HTTP")
|
|
|
|
|
(synopsis "Date conversion routines")
|
|
|
|
|
(description "This module provides functions that deal with the date
|
|
|
|
|
formats used by the HTTP protocol.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-06 23:47:54 +02:00
|
|
|
|
|
2015-04-06 23:58:22 +02: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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Digest-MD5-File")
|
|
|
|
|
(synopsis "MD5 sums for files and urls")
|
|
|
|
|
(description "Digest::MD5::File is a Perl extension for getting MD5 sums
|
|
|
|
|
for files and urls.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-06 23:58:22 +02: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 19:48:43 +01:00
|
|
|
|
(define-public perl-encode-locale
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-encode-locale")
|
2016-11-30 19:47:08 +01:00
|
|
|
|
(version "1.05")
|
2013-12-07 21:56:01 +01: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 19:48:43 +01:00
|
|
|
|
"mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
|
2013-12-07 21:56:01 +01:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-30 19:47:08 +01:00
|
|
|
|
"1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
|
2013-12-07 21:56:01 +01:00
|
|
|
|
(build-system perl-build-system)
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l: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 19:48:43 +01:00
|
|
|
|
(synopsis "Perl locale encoding determination")
|
2013-12-07 21:56:01 +01: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 19:48:43 +01:00
|
|
|
|
"The POSIX locale system is used to specify both the language
|
2015-07-16 11:14:13 +02: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).")
|
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 19:48:43 +01:00
|
|
|
|
(home-page "http://search.cpan.org/~gaas/Encode-Locale/")))
|
|
|
|
|
|
2016-08-14 15:45:37 +02: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 22:18:07 +02:00
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'set-env
|
|
|
|
|
(lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
|
2016-08-14 15:45:37 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("perl-class-errorhandler" ,perl-class-errorhandler)
|
|
|
|
|
("perl-html-parser" ,perl-html-parser)
|
|
|
|
|
("perl-libwww" ,perl-libwww)
|
|
|
|
|
("perl-uri" ,perl-uri)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Feed-Find")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2016-08-14 15:45:37 +02: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 19:48:43 +01:00
|
|
|
|
(define-public perl-file-listing
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-file-listing")
|
|
|
|
|
(version "6.04")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/G/GA/GAAS/File-Listing-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-http-date" ,perl-http-date)))
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l: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 19:48:43 +01: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.")
|
|
|
|
|
(home-page "http://search.cpan.org/~gaas/File-Listing/")))
|
2013-12-07 21:56:01 +01:00
|
|
|
|
|
2015-07-10 02:16:05 +02:00
|
|
|
|
(define-public perl-finance-quote
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-finance-quote")
|
2016-11-30 19:56:53 +01:00
|
|
|
|
(version "1.38")
|
2015-07-10 02:16:05 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
|
|
|
|
|
"Finance-Quote-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-30 19:56:53 +01:00
|
|
|
|
"0zhqb27y4vdxn476s2kwm9zl2f970yjcyyybnjm9b406krr2fm59"))
|
2016-04-08 14:18:13 +02:00
|
|
|
|
(patches (search-patches
|
|
|
|
|
"perl-finance-quote-unuse-mozilla-ca.patch"))))
|
2015-07-10 02:16:05 +02: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-21 00:15:41 +01:00
|
|
|
|
`(("perl-cgi" ,perl-cgi)
|
|
|
|
|
("perl-datetime" ,perl-datetime)
|
2015-07-10 02:16:05 +02: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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Finance-Quote")
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:gpl2)))
|
|
|
|
|
|
2015-06-28 04:00:27 +02: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")))))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/GSSAPI")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-06-28 04:00:27 +02:00
|
|
|
|
|
2015-07-03 01:58:45 +02: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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/HTML-Element-Extended")
|
|
|
|
|
(synopsis "Manipulate tables of HTML::Element")
|
|
|
|
|
(description
|
|
|
|
|
"HTML::Element::Extended is a Perl extension for manipulating a table
|
|
|
|
|
composed of HTML::Element style components.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-07-03 01:58:45 +02:00
|
|
|
|
|
2015-03-17 20:16:57 +01:00
|
|
|
|
(define-public perl-html-form
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-html-form")
|
|
|
|
|
(version "6.03")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/G/GA/GAAS/"
|
|
|
|
|
"HTML-Form-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0dpwr7yz6hjc3bcqgcbdzjjk9l58ycdjmbam9nfcmm85y2a1vh38"))))
|
|
|
|
|
(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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/HTML-Form")
|
|
|
|
|
(synopsis "Perl class representing an HTML form element")
|
|
|
|
|
(description "Objects of the HTML::Form class represents a single HTML
|
|
|
|
|
<form> ... </form> instance.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-17 20:16:57 +01:00
|
|
|
|
|
2015-03-17 20:20:28 +01:00
|
|
|
|
(define-public perl-html-lint
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-html-lint")
|
|
|
|
|
(version "2.20")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
|
|
|
|
|
"HTML-Lint-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"15vrqjnlb0f8rib1kqdf4islqy6i33h08wy7b1bkgd550p7lfjwk"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-html-parser" ,perl-html-parser)
|
|
|
|
|
("perl-html-tagset" ,perl-html-tagset)
|
|
|
|
|
("perl-libwww" ,perl-libwww)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/HTML-Lint")
|
|
|
|
|
(synopsis "Check for HTML errors in a string or file")
|
|
|
|
|
(description "HTML::Lint is a pure-Perl HTML parser and checker for
|
|
|
|
|
syntactic legitmacy.")
|
|
|
|
|
(license l:artistic2.0)))
|
|
|
|
|
|
2015-07-03 01:59:40 +02: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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/HTML-TableExtract")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-07-03 01:59:40 +02:00
|
|
|
|
|
2015-03-17 20:23:24 +01:00
|
|
|
|
(define-public perl-html-tree
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-html-tree")
|
2017-07-14 18:02:31 +02:00
|
|
|
|
(version "5.06")
|
2015-03-17 20:23:24 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2017-07-14 18:02:31 +02:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
|
2015-03-17 20:23:24 +01:00
|
|
|
|
"HTML-Tree-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-07-14 18:02:31 +02:00
|
|
|
|
"0vjk4xrybjqs511qrh9cymhpbg9m3jjqr52qr035k6nzrccyndlw"))))
|
2015-03-17 20:23:24 +01: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-21 00:15:41 +01:00
|
|
|
|
`(("perl-module-build" ,perl-module-build)
|
|
|
|
|
("perl-test-fatal" ,perl-test-fatal)))
|
2015-03-17 20:23:24 +01:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-html-parser" ,perl-html-parser)
|
|
|
|
|
("perl-html-tagset" ,perl-html-tagset)
|
|
|
|
|
("perl-libwww" ,perl-libwww)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/HTML-Tree")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-17 20:23:24 +01:00
|
|
|
|
|
2013-12-07 22:05:59 +01:00
|
|
|
|
(define-public perl-html-parser
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-html-parser")
|
2016-11-30 20:04:15 +01:00
|
|
|
|
(version "3.72")
|
2013-12-07 22:05:59 +01: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 20:04:15 +01:00
|
|
|
|
"12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
|
2013-12-07 22:05:59 +01:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(inputs
|
2016-11-30 20:04:15 +01:00
|
|
|
|
`(("perl-html-tagset" ,perl-html-tagset)
|
|
|
|
|
("perl-http-message" ,perl-http-message)))
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)
|
2013-12-07 22:05:59 +01: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.")
|
|
|
|
|
(home-page "http://search.cpan.org/~gaas/HTML-Parser/")))
|
2013-12-07 22:24:53 +01: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 19:48:43 +01:00
|
|
|
|
(define-public perl-html-tagset
|
2013-12-07 22:24:53 +01: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 19:48:43 +01:00
|
|
|
|
(name "perl-html-tagset")
|
|
|
|
|
(version "3.20")
|
2013-12-07 22:24:53 +01: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 19:48:43 +01:00
|
|
|
|
"mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
|
2013-12-07 22:24:53 +01: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 19:48:43 +01:00
|
|
|
|
"1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
|
2013-12-07 22:24:53 +01:00
|
|
|
|
(build-system perl-build-system)
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l: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 19:48:43 +01:00
|
|
|
|
(synopsis "Perl data tables useful in parsing HTML")
|
2013-12-07 22:24:53 +01: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 19:48:43 +01:00
|
|
|
|
"The HTML::Tagset module contains several data tables useful in various
|
|
|
|
|
kinds of HTML parsing operations.")
|
|
|
|
|
(home-page "http://search.cpan.org/dist/HTML-Tagset/")))
|
2013-12-07 22:36:02 +01:00
|
|
|
|
|
2015-12-22 16:04:16 +01:00
|
|
|
|
(define-public perl-html-template
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-html-template")
|
2017-07-20 02:09:15 +02:00
|
|
|
|
(version "2.97")
|
2015-12-22 16:04:16 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-07-20 02:09:15 +02:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
|
2015-12-22 16:04:16 +01:00
|
|
|
|
"HTML-Template-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-07-20 02:09:15 +02:00
|
|
|
|
"17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
|
2015-12-22 16:04:16 +01: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-21 00:15:41 +01:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-cgi" ,perl-cgi)))
|
2015-12-22 16:04:16 +01:00
|
|
|
|
(home-page "http://search.cpan.org/dist/HTML-Template")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-12-22 16:04:16 +01:00
|
|
|
|
|
2015-03-10 23:26:17 +01:00
|
|
|
|
(define-public perl-http-body
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-http-body")
|
2016-11-30 20:10:05 +01:00
|
|
|
|
(version "1.22")
|
2015-03-10 23:26:17 +01: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 20:10:05 +01:00
|
|
|
|
"15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
|
2015-03-10 23:26:17 +01: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
|
|
|
|
|
(home-page "http://search.cpan.org/dist/HTTP-Body")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-10 23:26:17 +01:00
|
|
|
|
|
2015-03-10 21:34:49 +01:00
|
|
|
|
(define-public perl-http-cookiejar
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-http-cookiejar")
|
2016-11-30 20:33:05 +01:00
|
|
|
|
(version "0.008")
|
2015-03-10 21:34:49 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
|
|
|
|
|
"HTTP-CookieJar-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-30 20:33:05 +01:00
|
|
|
|
"0rfw6avcralggs7bf7n86flvhaahxjnqzvpwszp0sk4z4wwy01wm"))))
|
2015-03-10 21:34:49 +01:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-test-deep" ,perl-test-deep)
|
|
|
|
|
("perl-test-requires" ,perl-test-requires)
|
2016-11-30 20:33:05 +01:00
|
|
|
|
("perl-time-mock" ,perl-time-mock)
|
|
|
|
|
("perl-uri" ,perl-uri)))
|
2015-03-10 21:34:49 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("perl-time-local" ,perl-time-local)
|
|
|
|
|
("perl-http-date" ,perl-http-date)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/HTTP-CookieJar")
|
|
|
|
|
(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>.")
|
|
|
|
|
(license l:asl2.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 19:48:43 +01:00
|
|
|
|
(define-public perl-http-cookies
|
2013-12-07 22:36:02 +01: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 19:48:43 +01:00
|
|
|
|
(name "perl-http-cookies")
|
|
|
|
|
(version "6.01")
|
2013-12-07 22:36:02 +01: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 19:48:43 +01:00
|
|
|
|
"mirror://cpan/authors/id/G/GA/GAAS/HTTP-Cookies-"
|
2013-12-07 22:36:02 +01: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 19:48:43 +01:00
|
|
|
|
"087bqmg22dg3vj7gssh3pcsh9y1scimkbl5h1kc8jqyfhgisvlzm"))))
|
2013-12-07 22:36:02 +01: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 19:48:43 +01:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-http-message" ,perl-http-message)))
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l: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 19:48:43 +01:00
|
|
|
|
(synopsis "Perl HTTP cookie jars")
|
2013-12-07 22:36:02 +01: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 19:48:43 +01: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.")
|
|
|
|
|
(home-page "http://search.cpan.org/~gaas/HTTP-Cookies/")))
|
2013-12-07 22:42:18 +01: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 19:48:43 +01:00
|
|
|
|
(define-public perl-http-daemon
|
2013-12-07 22:42:18 +01: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 19:48:43 +01:00
|
|
|
|
(name "perl-http-daemon")
|
|
|
|
|
(version "6.01")
|
2013-12-07 22:42:18 +01: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 19:48:43 +01:00
|
|
|
|
"mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
|
2013-12-07 22:42:18 +01: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 19:48:43 +01:00
|
|
|
|
"1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
|
2013-12-07 22:42:18 +01: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 19:48:43 +01:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-http-message" ,perl-http-message)
|
|
|
|
|
("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l: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 19:48:43 +01:00
|
|
|
|
(synopsis "Perl simple http server class")
|
2013-12-07 22:42:18 +01: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 19:48:43 +01: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.")
|
|
|
|
|
(home-page "http://search.cpan.org/~gaas/HTTP-Daemon/")))
|
2013-12-07 22:47:40 +01: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 19:48:43 +01:00
|
|
|
|
(define-public perl-http-date
|
2013-12-07 22:47:40 +01: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 19:48:43 +01:00
|
|
|
|
(name "perl-http-date")
|
|
|
|
|
(version "6.02")
|
2013-12-07 22:47:40 +01: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 19:48:43 +01:00
|
|
|
|
"mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-"
|
2013-12-07 22:47:40 +01: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 19:48:43 +01:00
|
|
|
|
"0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8"))))
|
2013-12-07 22:47:40 +01:00
|
|
|
|
(build-system perl-build-system)
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l: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 19:48:43 +01:00
|
|
|
|
(synopsis "Perl date conversion routines")
|
2013-12-07 22:47:40 +01: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 19:48:43 +01:00
|
|
|
|
"The HTTP::Date module provides functions that deal with date formats
|
|
|
|
|
used by the HTTP protocol (and then some more).")
|
|
|
|
|
(home-page "http://search.cpan.org/~gaas/HTTP-Date/")))
|
2013-12-07 22:49:07 +01:00
|
|
|
|
|
|
|
|
|
(define-public perl-http-message
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-http-message")
|
2016-11-30 20:37:10 +01:00
|
|
|
|
(version "6.11")
|
2013-12-07 22:49:07 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-12-01 11:05:12 +01:00
|
|
|
|
"mirror://cpan/authors/id/E/ET/ETHER/HTTP-Message-"
|
2013-12-07 22:49:07 +01:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-30 20:37:10 +01:00
|
|
|
|
"06yq6cjx4vzl4if4ykap77xsrrd8aa7ish90k7cqi8g6g83nicz7"))))
|
2013-12-07 22:49:07 +01:00
|
|
|
|
(build-system perl-build-system)
|
2013-12-09 23:34:18 +01:00
|
|
|
|
(propagated-inputs
|
2016-11-30 20:37:10 +01:00
|
|
|
|
`(("perl-encode-locale" ,perl-encode-locale)
|
|
|
|
|
("perl-http-date" ,perl-http-date)
|
2015-03-12 19:41:06 +01:00
|
|
|
|
("perl-io-html" ,perl-io-html)
|
|
|
|
|
("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
|
2013-12-10 00:03:38 +01:00
|
|
|
|
("perl-uri" ,perl-uri)))
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)
|
2013-12-07 22:49:07 +01:00
|
|
|
|
(synopsis "Perl HTTP style message")
|
|
|
|
|
(description
|
|
|
|
|
"An HTTP::Message object contains some headers and a content body.")
|
2016-12-01 11:05:12 +01:00
|
|
|
|
(home-page "http://search.cpan.org/~ether/HTTP-Message/")))
|
2013-12-07 22:52:29 +01: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 19:48:43 +01:00
|
|
|
|
(define-public perl-http-negotiate
|
2013-12-07 22:52:29 +01: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 19:48:43 +01:00
|
|
|
|
(name "perl-http-negotiate")
|
2013-12-07 22:52:29 +01: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 19:48:43 +01:00
|
|
|
|
"mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
|
2013-12-07 22:52:29 +01: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 19:48:43 +01:00
|
|
|
|
"05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
|
2013-12-07 22:52:29 +01:00
|
|
|
|
(build-system perl-build-system)
|
2013-12-09 23:38:10 +01:00
|
|
|
|
(propagated-inputs
|
2013-12-10 00:03:38 +01:00
|
|
|
|
`(("perl-http-message" ,perl-http-message)))
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l: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 19:48:43 +01:00
|
|
|
|
(synopsis "Perl http content negotiation")
|
2013-12-07 22:52:29 +01: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 19:48:43 +01: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.")
|
|
|
|
|
(home-page "http://search.cpan.org/~gaas/HTTP-Negotiate/")))
|
2013-12-08 21:53:12 +01:00
|
|
|
|
|
2015-04-05 03:56:32 +02: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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/HTTP-Parser")
|
|
|
|
|
(synopsis "Parse HTTP/1.1 requests")
|
|
|
|
|
(description "This is an HTTP request parser. It takes chunks of text as
|
|
|
|
|
received and returns a 'hint' as to what is required, or returns the
|
|
|
|
|
HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
|
|
|
|
|
supported.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-05 03:56:32 +02:00
|
|
|
|
|
2015-04-05 04:06:02 +02: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 14:14:52 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-install" ,perl-module-install)))
|
2015-04-05 04:06:02 +02:00
|
|
|
|
(home-page "http://search.cpan.org/dist/HTTP-Parser-XS")
|
|
|
|
|
(synopsis "Fast HTTP request parser")
|
|
|
|
|
(description "HTTP::Parser::XS is a fast, primitive HTTP request/response
|
|
|
|
|
parser.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-05 04:06:02 +02:00
|
|
|
|
|
2015-03-11 23:19:46 +01: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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/HTTP-Request-AsCGI")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-11 23:19:46 +01:00
|
|
|
|
|
2015-03-17 20:25:49 +01:00
|
|
|
|
(define-public perl-http-server-simple
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-http-server-simple")
|
2016-11-30 20:39:51 +01:00
|
|
|
|
(version "0.51")
|
2015-03-17 20:25:49 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2016-12-01 11:31:13 +01:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
|
2015-03-17 20:25:49 +01:00
|
|
|
|
"HTTP-Server-Simple-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-30 20:39:51 +01:00
|
|
|
|
"1yvd2g57z2kq00q5i3zzfi15k98qgbif3vghjsda6v612agmrp5r"))))
|
2015-03-17 20:25:49 +01: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-21 00:15:41 +01:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-cgi" ,perl-cgi)))
|
2015-03-17 20:25:49 +01: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 16:36:13 +02: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)))))
|
2015-03-17 20:25:49 +01:00
|
|
|
|
(home-page "http://search.cpan.org/dist/HTTP-Server-Simple")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-17 20:25:49 +01:00
|
|
|
|
|
2015-03-10 23:14:26 +01:00
|
|
|
|
(define-public perl-http-tiny
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-http-tiny")
|
2016-11-30 20:45:18 +01:00
|
|
|
|
(version "0.070")
|
2015-03-10 23:14:26 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
|
|
|
|
|
"HTTP-Tiny-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-30 20:45:18 +01:00
|
|
|
|
"0cvp5yqrni6qydpsa8fpkbm82zfwmy9js8jsvyj8gs3dx78qbwvl"))))
|
2015-03-10 23:14:26 +01: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 20:45:18 +01:00
|
|
|
|
("perl-mozilla-ca" ,perl-mozilla-ca)
|
2015-03-10 23:14:26 +01:00
|
|
|
|
("perl-net-ssleay" ,perl-net-ssleay)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/HTTP-Tiny")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-10 23:14:26 +01: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 19:48:43 +01:00
|
|
|
|
(define-public perl-io-html
|
2013-12-08 21:53:12 +01: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 19:48:43 +01:00
|
|
|
|
(name "perl-io-html")
|
|
|
|
|
(version "1.00")
|
2013-12-08 21:53:12 +01: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 19:48:43 +01:00
|
|
|
|
"mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
|
2013-12-08 21:53:12 +01: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 19:48:43 +01:00
|
|
|
|
"06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
|
2013-12-08 21:53:12 +01:00
|
|
|
|
(build-system perl-build-system)
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l: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 19:48:43 +01:00
|
|
|
|
(synopsis "Perl module to open an HTML file with automatic charset detection")
|
2013-12-08 21:53:12 +01: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 19:48:43 +01: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.")
|
|
|
|
|
(home-page "http://search.cpan.org/~cjm/IO-HTML/")))
|
2013-12-08 22:02:48 +01:00
|
|
|
|
|
2015-03-10 21:46:50 +01:00
|
|
|
|
(define-public perl-io-socket-ip
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-io-socket-ip")
|
|
|
|
|
(version "0.36")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
|
|
|
|
|
"IO-Socket-IP-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0ky20hmln6waipzqikizyw04vpszf70fgpshz7ib8zv8480ri456"))))
|
|
|
|
|
(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-21 00:15:41 +01:00
|
|
|
|
(native-inputs `(("perl-module-build" ,perl-module-build)))
|
2015-03-10 21:46:50 +01:00
|
|
|
|
(home-page "http://search.cpan.org/dist/IO-Socket-IP")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-10 21:46:50 +01: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 19:48:43 +01:00
|
|
|
|
(define-public perl-io-socket-ssl
|
2013-12-08 22:02:48 +01: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 19:48:43 +01:00
|
|
|
|
(name "perl-io-socket-ssl")
|
2016-09-19 20:30:34 +02:00
|
|
|
|
(version "2.038")
|
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 19:48:43 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
|
|
|
|
|
"IO-Socket-SSL-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-09-19 20:30:34 +02:00
|
|
|
|
"11fiifxyvn7njc9p52wgygyw24jz7rh7gnz2ikjphr4l4x9f03rx"))
|
2016-04-08 14:18:13 +02: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 19:48:43 +01:00
|
|
|
|
(build-system perl-build-system)
|
2016-07-22 02:01:03 +02: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 19:48:43 +01: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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l: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 19:48:43 +01:00
|
|
|
|
(home-page "https://github.com/noxxi/p5-io-socket-ssl")))
|
|
|
|
|
|
|
|
|
|
(define-public perl-libwww
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-libwww")
|
2016-11-30 20:24:34 +01:00
|
|
|
|
(version "6.15")
|
2013-12-08 22:02:48 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2015-04-06 22:44:32 +02:00
|
|
|
|
"mirror://cpan/authors/id/E/ET/ETHER/libwww-perl-"
|
2013-12-08 22:02:48 +01:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-30 20:24:34 +01:00
|
|
|
|
"08l3mpgcvm4ipn1zggymqgk402apf35xyds43i8c07hvq92rsd3g"))))
|
2013-12-08 22:02:48 +01:00
|
|
|
|
(build-system perl-build-system)
|
2013-12-09 23:45:02 +01: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 19:48:43 +01: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 20:24:34 +01: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 19:48:43 +01:00
|
|
|
|
("perl-http-negotiate" ,perl-http-negotiate)
|
|
|
|
|
("perl-net-http" ,perl-net-http)
|
2016-11-30 20:24:34 +01: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 19:48:43 +01:00
|
|
|
|
("perl-www-robotrules" ,perl-www-robotrules)))
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l: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 19:48:43 +01:00
|
|
|
|
(synopsis "Perl modules for the WWW")
|
2013-12-08 22:02:48 +01: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 19:48:43 +01: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.")
|
2015-04-06 22:44:32 +02:00
|
|
|
|
(home-page "http://search.cpan.org/dist/libwww-perl/")))
|
2013-12-08 22:18:58 +01: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 19:48:43 +01:00
|
|
|
|
(define-public perl-lwp-mediatypes
|
2013-12-08 22:18:58 +01: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 19:48:43 +01:00
|
|
|
|
(name "perl-lwp-mediatypes")
|
2013-12-08 22:18:58 +01:00
|
|
|
|
(version "6.02")
|
|
|
|
|
(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 19:48:43 +01:00
|
|
|
|
"mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-"
|
2013-12-08 22:18:58 +01: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 19:48:43 +01:00
|
|
|
|
"0xmnblp962qy02akah30sji8bxrqcyqlff2w95l199ghql60ny8q"))))
|
2013-12-08 22:18:58 +01:00
|
|
|
|
(build-system perl-build-system)
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l: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 19:48:43 +01:00
|
|
|
|
(synopsis "Perl module to guess the media type for a file or a URL")
|
2013-12-08 22:18:58 +01: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 19:48:43 +01: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.")
|
|
|
|
|
(home-page "http://search.cpan.org/~gaas/LWP-MediaTypes/")))
|
2013-12-08 22:24:21 +01:00
|
|
|
|
|
2015-04-06 22:45:10 +02:00
|
|
|
|
(define-public perl-lwp-protocol-https
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-lwp-protocol-https")
|
|
|
|
|
(version "6.06")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MS/MSCHILLI/"
|
|
|
|
|
"LWP-Protocol-https-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1vxdjqj4bwq56m9h1bqqwkk3c6jr76f2zqzvwa26yjng3p686v5q"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-io-socket-ssl" ,perl-io-socket-ssl)
|
|
|
|
|
("perl-libwww" ,perl-libwww)
|
|
|
|
|
;; Users should instead make sure SSL_ca_path is set properly.
|
|
|
|
|
;; ("perl-mozilla-ca" ,perl-mozilla-ca)
|
|
|
|
|
("perl-net-http" ,perl-net-http)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/LWP-Protocol-https")
|
|
|
|
|
(synopsis "HTTPS support for LWP::UserAgent")
|
|
|
|
|
(description "The LWP::Protocol::https module provides support for using
|
|
|
|
|
https schemed URLs with LWP.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-06 22:45:10 +02:00
|
|
|
|
|
2015-04-07 00:03:46 +02: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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/LWP-UserAgent-Determined")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-07 00:03:46 +02:00
|
|
|
|
|
2015-04-08 00:03:04 +02: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 14:18:13 +02:00
|
|
|
|
(patches (search-patches
|
|
|
|
|
"perl-net-amazon-s3-moose-warning.patch"))))
|
2015-04-08 00:03:04 +02: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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Net-Amazon-S3")
|
|
|
|
|
(synopsis "Perl interface to Amazon S3")
|
|
|
|
|
(description "This module provides a Perlish interface to Amazon S3.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-08 00:03:04 +02:00
|
|
|
|
|
2013-12-08 22:24:21 +01:00
|
|
|
|
(define-public perl-net-http
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-net-http")
|
2015-04-06 22:43:25 +02:00
|
|
|
|
(version "6.07")
|
2013-12-08 22:24:21 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2015-04-06 22:43:25 +02:00
|
|
|
|
"mirror://cpan/authors/id/M/MS/MSCHILLI/Net-HTTP-"
|
2013-12-08 22:24:21 +01:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-04-06 22:43:25 +02:00
|
|
|
|
"0r034hhci0yqbrkrh1gv6vi5g3i0kpd1k84z62nk02asb8rf0ccz"))))
|
2013-12-08 22:24:21 +01:00
|
|
|
|
(build-system perl-build-system)
|
2015-04-06 22:43:25 +02:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-io-socket-ssl" ,perl-io-socket-ssl)
|
|
|
|
|
("perl-uri" ,perl-uri)))
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)
|
2013-12-08 22:24:21 +01: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.")
|
2015-04-06 22:43:25 +02:00
|
|
|
|
(home-page "http://search.cpan.org/dist/Net-HTTP")))
|
2013-12-09 22:16:30 +01:00
|
|
|
|
|
2015-04-05 04:40:52 +02:00
|
|
|
|
(define-public perl-net-server
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-net-server")
|
|
|
|
|
(version "2.008")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
|
|
|
|
|
"Net-Server-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"182gfikn7r40kmm3d35m2qc6r8g0y1j8gxbn9ffaawf8xmm0a889"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Net-Server")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-05 04:40:52 +02:00
|
|
|
|
|
2015-06-28 03:59:44 +02:00
|
|
|
|
(define-public perl-net-smtp-ssl
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-net-smtp-ssl")
|
|
|
|
|
(version "1.03")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2016-08-19 22:22:51 +02:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
|
2015-06-28 03:59:44 +02:00
|
|
|
|
"Net-SMTP-SSL-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2016-08-19 22:22:51 +02:00
|
|
|
|
(base32
|
|
|
|
|
"05y94mb1vdw32mvwb0cp2h4ggh32f8j8nwwfjb8kjwxvfkfhyp9h"))))
|
2015-06-28 03:59:44 +02:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Net-SMTP-SSL")
|
|
|
|
|
(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 14:16:07 +02:00
|
|
|
|
(description "SSL support for Net::SMTP.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-06-28 03:59:44 +02:00
|
|
|
|
|
2015-03-11 19:58:50 +01: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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Plack")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-11 19:58:50 +01:00
|
|
|
|
|
2015-03-12 18:41:58 +01: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
|
|
|
|
|
"http://search.cpan.org/dist/Plack-Middleware-FixMissingBodyInRedirect")
|
|
|
|
|
(synopsis "Plack::Middleware which sets body for redirect response")
|
|
|
|
|
(description "This module sets the body in redirect response, if it's not
|
|
|
|
|
already set.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-12 18:41:58 +01:00
|
|
|
|
|
2015-03-12 18:45:40 +01:00
|
|
|
|
(define-public perl-plack-middleware-methodoverride
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-plack-middleware-methodoverride")
|
|
|
|
|
(version "0.11")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/"
|
|
|
|
|
"Plack-Middleware-MethodOverride-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1hb8dx7i4vs74n0p737wrvpdnnw6argxrjpr6kj6432zabp8325z"))))
|
|
|
|
|
(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-21 00:15:41 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-build" ,perl-module-build)))
|
2015-03-12 18:45:40 +01:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-plack" ,perl-plack)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Plack-Middleware-MethodOverride")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-12 18:45:40 +01:00
|
|
|
|
|
2015-03-12 18:53:22 +01:00
|
|
|
|
(define-public perl-plack-middleware-removeredundantbody
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-plack-middleware-removeredundantbody")
|
|
|
|
|
(version "0.05")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
|
|
|
|
|
"Plack-Middleware-RemoveRedundantBody-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1n3wm0zi8dnk54jx937asl951lslj3jvw0fry4jpzsibg4f6wrx0"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-plack" ,perl-plack)))
|
|
|
|
|
(home-page
|
|
|
|
|
"http://search.cpan.org/dist/Plack-Middleware-RemoveRedundantBody")
|
|
|
|
|
(synopsis "Plack::Middleware which removes body for HTTP response")
|
|
|
|
|
(description "This module removes the body in an HTTP response if it's not
|
|
|
|
|
required.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-12 18:53:22 +01:00
|
|
|
|
|
2015-03-12 18:55:42 +01:00
|
|
|
|
(define-public perl-plack-middleware-reverseproxy
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-plack-middleware-reverseproxy")
|
|
|
|
|
(version "0.15")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
|
|
|
|
|
"Plack-Middleware-ReverseProxy-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1zmsccdy6wr5hxzj07r1nsmaymyibk87p95z0wzknjw10lwmqs9f"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-plack" ,perl-plack)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Plack-Middleware-ReverseProxy")
|
|
|
|
|
(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
|
|
|
|
|
and stop fake requests using 'enable_if' directive in your app.psgi.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-12 18:55:42 +01:00
|
|
|
|
|
2015-03-12 18:59:30 +01:00
|
|
|
|
(define-public perl-plack-test-externalserver
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-plack-test-externalserver")
|
|
|
|
|
(version "0.01")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
|
|
|
|
|
"Plack-Test-ExternalServer-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1dbg1p3rgvvbkkpvca5jlc2mzx8iqyiybk88al93pvbca65h1g7h"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-plack" ,perl-plack)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Plack-Test-ExternalServer")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-12 18:59:30 +01:00
|
|
|
|
|
2015-03-11 19:39:00 +01:00
|
|
|
|
(define-public perl-test-tcp
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-test-tcp")
|
|
|
|
|
(version "2.06")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
|
|
|
|
|
"Test-TCP-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0acjwm21y2an4f3fasci9qa0isakh9cgp74fk0bzcdi506xmcjbi"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-test-sharedfork" ,perl-test-sharedfork)))
|
|
|
|
|
(arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Test-TCP")
|
|
|
|
|
(synopsis "Testing TCP programs")
|
|
|
|
|
(description "Test::TCP is test utilities for TCP/IP programs.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-11 19:39:00 +01:00
|
|
|
|
|
2015-03-17 20:33:16 +01:00
|
|
|
|
(define-public perl-test-www-mechanize
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-test-www-mechanize")
|
|
|
|
|
(version "1.44")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
|
|
|
|
|
"Test-WWW-Mechanize-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"062pj242vsc73bw11jqpap92ax9wzc9f2m4xhyp1wzrwkfchpl2q"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-test-exception" ,perl-test-exception)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-carp-assert-more" ,perl-carp-assert-more)
|
|
|
|
|
("perl-html-form" ,perl-html-form)
|
|
|
|
|
("perl-html-lint" ,perl-html-lint)
|
|
|
|
|
("perl-html-tree" ,perl-html-tree)
|
|
|
|
|
("perl-http-server-simple" ,perl-http-server-simple)
|
|
|
|
|
("perl-libwww" ,perl-libwww)
|
|
|
|
|
("perl-test-longstring" ,perl-test-longstring)
|
|
|
|
|
("perl-www-mechanize" ,perl-www-mechanize)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Test-WWW-Mechanize")
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:artistic2.0)))
|
|
|
|
|
|
2015-04-03 21:19:05 +02:00
|
|
|
|
(define-public perl-test-www-mechanize-catalyst
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-test-www-mechanize-catalyst")
|
|
|
|
|
(version "0.60")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
|
|
|
|
|
"Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0nhhfrrai3ndziz873vpa1j0vljjnib4wqafd6yyvkf58ad7v0lv"))))
|
|
|
|
|
(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)
|
|
|
|
|
("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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-Catalyst")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-04-03 21:19:05 +02:00
|
|
|
|
|
2015-03-17 20:36:07 +01:00
|
|
|
|
(define-public perl-test-www-mechanize-psgi
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-test-www-mechanize-psgi")
|
|
|
|
|
(version "0.35")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/L/LB/LBROCARD/"
|
|
|
|
|
"Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1hih8s49zf38bisvhnhzrrj0zwyiivkrbs7nmmdqm1qqy27wv7pc"))))
|
|
|
|
|
(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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-PSGI")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-17 20:36:07 +01: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 19:48:43 +01:00
|
|
|
|
(define-public perl-uri
|
2013-12-09 22:23:47 +01: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 19:48:43 +01:00
|
|
|
|
(name "perl-uri")
|
2016-06-27 09:30:01 +02:00
|
|
|
|
(version "1.71")
|
2013-12-09 22:23:47 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2015-03-12 19:42:39 +01:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
|
|
|
|
|
"URI-" version ".tar.gz"))
|
2013-12-09 22:23:47 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-06-27 09:30:01 +02:00
|
|
|
|
"05a1ck1bhvqkkk690xhsxf7276dnagk96qkh2jy4prrrgw6wm3lw"))))
|
2013-12-09 22:23:47 +01:00
|
|
|
|
(build-system perl-build-system)
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l: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 19:48:43 +01:00
|
|
|
|
(synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
|
2013-12-09 22:23:47 +01: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 19:48:43 +01: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.")
|
2015-03-12 19:42:39 +01:00
|
|
|
|
(home-page "http://search.cpan.org/dist/URI/")))
|
2014-09-28 00:52:05 +02:00
|
|
|
|
|
2016-08-14 15:55:21 +02: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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/URI-Fetch")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2016-08-14 15:55:21 +02:00
|
|
|
|
|
2015-03-17 19:28:53 +01:00
|
|
|
|
(define-public perl-uri-find
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-uri-find")
|
|
|
|
|
(version "20140709")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
|
|
|
|
|
"URI-Find-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0czc4h182s7sx3k123m7qlg7yybnwxgh369hap3c3b6xgrglrhy0"))))
|
|
|
|
|
(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-21 00:15:41 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-build" ,perl-module-build)))
|
2015-03-17 19:28:53 +01:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-uri" ,perl-uri)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/URI-Find")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-17 19:28:53 +01:00
|
|
|
|
|
2015-03-12 19:15:50 +01: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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/URI-ws")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-12 19:15:50 +01:00
|
|
|
|
|
2016-08-14 14:42:12 +02:00
|
|
|
|
(define-public perl-uri-template
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-uri-template")
|
|
|
|
|
(version "0.22")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"08kjjb4c0v9gqfrfnj1wkivylxl05finn11ra64dj136fhmnyrbg"))))
|
|
|
|
|
(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 14:14:52 +02:00
|
|
|
|
("perl-module-install" ,perl-module-install)
|
2016-08-14 14:42:12 +02:00
|
|
|
|
("perl-json" ,perl-json)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/URI-Template")
|
|
|
|
|
(synopsis "Object for handling URI templates")
|
|
|
|
|
(description "This perl module provides a wrapper around URI templates as described in
|
|
|
|
|
RFC 6570.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2016-08-14 14:42:12 +02:00
|
|
|
|
|
2014-09-28 00:52:05 +02: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"))
|
2016-10-25 00:37:02 +02:00
|
|
|
|
(patches (search-patches "perl-www-curl-remove-symbol.patch"))
|
2014-09-28 00:52:05 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f)) ;XXX: tests require network access
|
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 14:14:52 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-install" ,perl-module-install)))
|
2014-09-28 00:52:05 +02:00
|
|
|
|
(inputs `(("curl" ,curl)))
|
|
|
|
|
(synopsis "Perl extension interface for libcurl")
|
|
|
|
|
(description
|
|
|
|
|
"This is a Perl extension interface for the libcurl file downloading
|
|
|
|
|
library.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)
|
2014-09-28 00:52:05 +02:00
|
|
|
|
(home-page "http://search.cpan.org/~szbalint/WWW-Curl-4.17/lib/WWW/Curl.pm")))
|
2014-10-29 18:52:38 +01:00
|
|
|
|
|
2015-03-17 20:32:19 +01:00
|
|
|
|
(define-public perl-www-mechanize
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-www-mechanize")
|
|
|
|
|
(version "1.73")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
|
|
|
|
|
"WWW-Mechanize-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1zrw8aadhwy48q51x2z2rqlkwf17bya4j4h3hy89mw783j96rmg9"))))
|
|
|
|
|
(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-21 00:15:41 +01:00
|
|
|
|
(native-inputs ;only for tests
|
|
|
|
|
`(("perl-cgi" ,perl-cgi)))
|
2015-03-17 20:32:19 +01:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-html-form" ,perl-html-form)
|
|
|
|
|
("perl-html-parser" ,perl-html-parser)
|
|
|
|
|
("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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/WWW-Mechanize")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2015-03-17 20:32:19 +01:00
|
|
|
|
|
2016-08-14 17:54:07 +02: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)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ; Tests require further modules to be packaged
|
|
|
|
|
(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)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/WWW-OpenSearch")
|
|
|
|
|
(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.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l:perl-license)))
|
2016-08-14 17:54:07 +02: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 19:48:43 +01:00
|
|
|
|
(define-public perl-www-robotrules
|
2014-10-29 18:52:38 +01: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 19:48:43 +01:00
|
|
|
|
(name "perl-www-robotrules")
|
|
|
|
|
(version "6.02")
|
2014-10-29 18:52:38 +01: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 19:48:43 +01: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 18:52:38 +01: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 19:48:43 +01:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-uri" ,perl-uri)))
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license l: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 19:48:43 +01:00
|
|
|
|
(synopsis "Perl database of robots.txt-derived permissions")
|
2015-02-20 17:35:09 +01: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 19:48:43 +01: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.")
|
|
|
|
|
(home-page "http://search.cpan.org/~gaas/WWW-RobotRules/")))
|
2015-09-21 11:20:32 +02:00
|
|
|
|
|
2016-09-18 15:58:25 +02:00
|
|
|
|
(define-public python-feedparser
|
|
|
|
|
(package
|
|
|
|
|
(name "python-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)
|
2016-10-28 18:46:02 +02:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f))
|
2016-09-18 15:58:25 +02: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.")
|
|
|
|
|
(license (list l:bsd-2 ; source code
|
|
|
|
|
l:freebsd-doc)))) ; documentation
|
|
|
|
|
|
|
|
|
|
(define-public python2-feedparser
|
gnu: Remove python-setuptools and python2-setuptools from inputs (part 4a)
This patch contains the changes for all modules beside python.scm where
setuptools are used in an inherited package and removing this input also
removes the need for inheriting the package. This is the case if adding
setuptools in the inherited package was the only change.
Change this to not inherit and remove the new needless call to
"strip-python2-variant (if applicable).
* gnu/packages/bioinformatics.scm (python-biopython, python2-biopython,
python-twobitreader, python2-twobitreader,
python-plastid, python2-plastid,
python2-pybigwig,
python2-screed,
sra-tools): No longer "inherit" Python 2 packages
inheriting from a Python 3 package if the sole reason for inheriting was
adding python-setuptools respective python2-setuptools to [inputs],
[native-inputs] or [propagated-inputs]. Remove now needless [properties]
"python2-variant" where applicable.
* gnu/packages/django.scm (python-pytest-django, python2-pytest-django,
python-django-filter, python2-django-filter): Likewise.
* gnu/packages/gnupg.scm (python2-pygpgme): Likewise.
* gnu/packages/mail.scm (python-mailmanclient, python2-mailmanclient):
Likewise.
* gnu/packages/mpd.scm (python-msp, python2-mpd2): Likewise.
* gnu/packages/music.scm (python-pylast, python2-pylast): Likewise.
* gnu/packages/openstack.scm (python-requests-mock, python2-requests-mock,
python2-git-review): Likewise.
* gnu/packages/password-utils.scm (python2-bcrypt): Likewise.
* gnu/packages/protobuf.scm (python-protobuf, python2-protobuf): Likewise.
* gnu/packages/statistics.scm (python-patsy, python2-patsy): Likewise.
* gnu/packages/web.scm (python2-feedparser): Likewise.
2016-09-28 13:57:21 +02:00
|
|
|
|
(package-with-python2 python-feedparser))
|
2016-09-18 15:58:25 +02:00
|
|
|
|
|
2015-09-21 11:20:32 +02:00
|
|
|
|
(define-public r-httpuv
|
|
|
|
|
(package
|
|
|
|
|
(name "r-httpuv")
|
|
|
|
|
(version "1.3.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (cran-uri "httpuv" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0aibs0hf38n8f6xxx4g2i2lzd6l5h92m5pscx2z834sdvhnladxv"))))
|
|
|
|
|
(build-system r-build-system)
|
|
|
|
|
(native-inputs `(("r-rcpp" ,r-rcpp)))
|
|
|
|
|
(home-page "https://github.com/rstudio/httpuv")
|
|
|
|
|
(synopsis "HTTP and WebSocket server library for R")
|
|
|
|
|
(description
|
|
|
|
|
"The httpuv package provides low-level socket and protocol support for
|
|
|
|
|
handling HTTP and WebSocket requests directly from within R. It is primarily
|
|
|
|
|
intended as a building block for other packages, rather than making it
|
|
|
|
|
particularly easy to create complete web applications using httpuv alone.")
|
|
|
|
|
;; This package includes third-party code that was originally released
|
|
|
|
|
;; under various non-copyleft licenses. Full licensing information can be
|
|
|
|
|
;; obtained here: https://github.com/rstudio/httpuv/blob/master/LICENSE
|
|
|
|
|
(license l:gpl3+)))
|
2015-09-21 11:20:55 +02:00
|
|
|
|
|
|
|
|
|
(define-public r-jsonlite
|
|
|
|
|
(package
|
|
|
|
|
(name "r-jsonlite")
|
2017-04-09 13:00:17 +02:00
|
|
|
|
(version "1.4")
|
2015-09-21 11:20:55 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (cran-uri "jsonlite" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-09 13:00:17 +02:00
|
|
|
|
"11rgkjp5qir79niad0aizjxvjzyvkl6l9nsrv3ikv446vllmrasn"))))
|
2015-09-21 11:20:55 +02:00
|
|
|
|
(build-system r-build-system)
|
|
|
|
|
(home-page "http://arxiv.org/abs/1403.2805")
|
|
|
|
|
(synopsis "Robust, high performance JSON parser and generator for R")
|
|
|
|
|
(description
|
|
|
|
|
"The jsonlite package provides a fast JSON parser and generator optimized
|
|
|
|
|
for statistical data and the web. It offers flexible, robust, high
|
|
|
|
|
performance tools for working with JSON in R and is particularly powerful for
|
|
|
|
|
building pipelines and interacting with a web API. In addition to converting
|
|
|
|
|
JSON data from/to R objects, jsonlite contains functions to stream, validate,
|
|
|
|
|
and prettify JSON data. The unit tests included with the package verify that
|
|
|
|
|
all edge cases are encoded and decoded consistently for use with dynamic data
|
|
|
|
|
in systems and applications.")
|
|
|
|
|
(license l:expat)))
|
2015-09-21 11:21:11 +02:00
|
|
|
|
|
|
|
|
|
(define-public r-servr
|
|
|
|
|
(package
|
|
|
|
|
(name "r-servr")
|
2016-12-29 20:33:39 +01:00
|
|
|
|
(version "0.5")
|
2015-09-21 11:21:11 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (cran-uri "servr" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-12-29 20:33:39 +01:00
|
|
|
|
"1ixcl9xjc1k9zvl6v6bsw4kpramr1h53b4s46qg8kahkqy6kqd8a"))))
|
2015-09-21 11:21:11 +02:00
|
|
|
|
(build-system r-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("r-httpuv" ,r-httpuv)
|
|
|
|
|
("r-jsonlite" ,r-jsonlite)
|
|
|
|
|
("r-mime" ,r-mime)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("r-rcpp" ,r-rcpp)))
|
|
|
|
|
(home-page "https://github.com/yihui/servr")
|
|
|
|
|
(synopsis "Simple HTTP server to serve static files or dynamic documents")
|
|
|
|
|
(description
|
|
|
|
|
"Servr provides an HTTP server in R to serve static files, or dynamic
|
|
|
|
|
documents that can be converted to HTML files (e.g., R Markdown) under a given
|
|
|
|
|
directory.")
|
|
|
|
|
(license l:expat)))
|
2015-09-28 15:22:49 +02:00
|
|
|
|
|
|
|
|
|
(define-public r-htmltools
|
|
|
|
|
(package
|
|
|
|
|
(name "r-htmltools")
|
2016-04-13 16:08:08 +02:00
|
|
|
|
(version "0.3.5")
|
2015-09-28 15:22:49 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (cran-uri "htmltools" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-04-13 16:08:08 +02:00
|
|
|
|
"0j9bf80grd6gwh7116m575pycv87c0wcwkxsz3gzzfs4aw3pxyr9"))))
|
2015-09-28 15:22:49 +02:00
|
|
|
|
(build-system r-build-system)
|
2016-09-08 14:51:04 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; See https://github.com/rstudio/htmltools/pull/68
|
|
|
|
|
;; The resource files are in the store and have mode 444. After
|
|
|
|
|
;; copying the files R fails to remove them again because it doesn't
|
|
|
|
|
;; have write access to them.
|
|
|
|
|
(add-after 'unpack 'copy-files-without-mode
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "R/html_dependency.R"
|
|
|
|
|
(("file.copy\\(from, to, " prefix)
|
|
|
|
|
(string-append prefix
|
|
|
|
|
"copy.mode = FALSE, ")))
|
|
|
|
|
#t)))))
|
2015-09-28 15:22:49 +02:00
|
|
|
|
(propagated-inputs
|
2016-04-13 16:08:08 +02:00
|
|
|
|
`(("r-digest" ,r-digest)
|
|
|
|
|
("r-rcpp" ,r-rcpp)))
|
2015-09-28 15:22:49 +02:00
|
|
|
|
(home-page "http://cran.r-project.org/web/packages/htmltools")
|
|
|
|
|
(synopsis "R tools for HTML")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides tools for HTML generation and output in R.")
|
|
|
|
|
(license l:expat)))
|
2015-09-28 15:23:10 +02:00
|
|
|
|
|
|
|
|
|
(define-public r-htmlwidgets
|
|
|
|
|
(package
|
|
|
|
|
(name "r-htmlwidgets")
|
2016-12-29 20:35:44 +01:00
|
|
|
|
(version "0.8")
|
2015-09-28 15:23:10 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (cran-uri "htmlwidgets" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-12-29 20:35:44 +01:00
|
|
|
|
"1df3pwl34rvdbr9sgr5h27q9bmqpckvpwq4frl3d1v614y3vfclj"))))
|
2015-09-28 15:23:10 +02:00
|
|
|
|
(build-system r-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("r-htmltools" ,r-htmltools)
|
|
|
|
|
("r-jsonlite" ,r-jsonlite)
|
|
|
|
|
("r-yaml" ,r-yaml)))
|
|
|
|
|
(home-page "https://github.com/ramnathv/htmlwidgets")
|
|
|
|
|
(synopsis "HTML Widgets for R")
|
|
|
|
|
(description
|
|
|
|
|
"HTML widgets is a framework for creating HTML widgets that render in
|
|
|
|
|
various contexts including the R console, R Markdown documents, and Shiny web
|
|
|
|
|
applications.")
|
|
|
|
|
(license l:expat)))
|
2015-11-10 15:55:51 +01:00
|
|
|
|
|
2016-11-03 17:43:47 +01:00
|
|
|
|
(define-public r-htmltable
|
|
|
|
|
(package
|
|
|
|
|
(name "r-htmltable")
|
2017-04-06 12:31:07 +02:00
|
|
|
|
(version "1.9")
|
2016-11-03 17:43:47 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (cran-uri "htmlTable" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-06 12:31:07 +02:00
|
|
|
|
"0ciic1f4iczq14j81fg7kxibn65sy8z1zxkvk1yxnxxg6dzplj2v"))))
|
2016-11-03 17:43:47 +01:00
|
|
|
|
(properties `((upstream-name . "htmlTable")))
|
|
|
|
|
(build-system r-build-system)
|
|
|
|
|
(propagated-inputs
|
2017-04-06 12:31:07 +02:00
|
|
|
|
`(("r-checkmate" ,r-checkmate)
|
|
|
|
|
("r-htmlwidgets" ,r-htmlwidgets)
|
|
|
|
|
("r-knitr" ,r-knitr)
|
2016-11-03 17:43:47 +01:00
|
|
|
|
("r-magrittr" ,r-magrittr)
|
|
|
|
|
("r-stringr" ,r-stringr)))
|
|
|
|
|
(home-page "http://gforge.se/packages/")
|
|
|
|
|
(synopsis "Advanced tables for Markdown/HTML")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides functions to build tables with advanced layout
|
|
|
|
|
elements such as row spanners, column spanners, table spanners, zebra
|
|
|
|
|
striping, and more. While allowing advanced layout, the underlying
|
|
|
|
|
CSS-structure is simple in order to maximize compatibility with word
|
|
|
|
|
processors such as LibreOffice. The package also contains a few text
|
|
|
|
|
formatting functions that help outputting text compatible with HTML or
|
|
|
|
|
LaTeX.")
|
|
|
|
|
(license l:gpl3+)))
|
|
|
|
|
|
2015-11-10 15:55:51 +01:00
|
|
|
|
(define-public r-curl
|
|
|
|
|
(package
|
|
|
|
|
(name "r-curl")
|
2017-04-22 22:59:26 +02:00
|
|
|
|
(version "2.5")
|
2015-11-10 15:55:51 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (cran-uri "curl" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-22 22:59:26 +02:00
|
|
|
|
"09p86i5f88gx1i7cidm1ka56g0jjkghqfam96p1jhwlh2fv6nrks"))))
|
2015-11-10 15:55:51 +01:00
|
|
|
|
(build-system r-build-system)
|
2016-09-23 13:13:41 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The environment variable CURL_CA_BUNDLE is only respected when
|
|
|
|
|
;; running Windows, so we disable the platform checks.
|
|
|
|
|
;; This can be removed once the libcurl has been patched.
|
|
|
|
|
(add-after 'unpack 'allow-CURL_CA_BUNDLE
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "R/onload.R"
|
|
|
|
|
(("if \\(!grepl\\(\"mingw\".*")
|
|
|
|
|
"if (FALSE)\n"))
|
|
|
|
|
(substitute* "src/handle.c"
|
|
|
|
|
(("#ifdef _WIN32") "#if 1"))
|
|
|
|
|
#t)))))
|
2015-11-10 15:55:51 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("libcurl" ,curl)))
|
|
|
|
|
(home-page "https://github.com/jeroenooms/curl")
|
|
|
|
|
(synopsis "HTTP client for R")
|
|
|
|
|
(description
|
|
|
|
|
"The @code{curl()} and @code{curl_download()} functions provide highly
|
|
|
|
|
configurable drop-in replacements for base @code{url()} and
|
|
|
|
|
@code{download.file()} with better performance, support for encryption, gzip
|
|
|
|
|
compression, authentication, and other @code{libcurl} goodies. The core of
|
|
|
|
|
the package implements a framework for performing fully customized requests
|
|
|
|
|
where data can be processed either in memory, on disk, or streaming via the
|
|
|
|
|
callback or connection interfaces.")
|
|
|
|
|
(license l:expat)))
|
2015-11-25 15:56:56 +01:00
|
|
|
|
|
2016-09-21 22:45:17 +02:00
|
|
|
|
(define-public r-hwriter
|
|
|
|
|
(package
|
|
|
|
|
(name "r-hwriter")
|
|
|
|
|
(version "1.3.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (cran-uri "hwriter" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0arjsz854rfkfqhgvpqbm9lfni97dcjs66isdsfvwfd2wz932dbb"))))
|
|
|
|
|
(build-system r-build-system)
|
|
|
|
|
(home-page "http://cran.r-project.org/web/packages/hwriter")
|
|
|
|
|
(synopsis "Output R objects in HTML format")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides easy-to-use and versatile functions to output R
|
|
|
|
|
objects in HTML format.")
|
|
|
|
|
(license l:lgpl2.1+)))
|
|
|
|
|
|
2016-09-21 22:45:18 +02:00
|
|
|
|
(define-public r-rjson
|
|
|
|
|
(package
|
|
|
|
|
(name "r-rjson")
|
|
|
|
|
(version "0.2.15")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (cran-uri "rjson" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1vzjyvf57k1fjizlk28rby65y5lsww5qnfvgnhln74qwda7hvl3p"))))
|
|
|
|
|
(build-system r-build-system)
|
|
|
|
|
(home-page "http://cran.r-project.org/web/packages/rjson")
|
|
|
|
|
(synopsis "JSON library for R")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides functions to convert R objects into JSON objects
|
|
|
|
|
and vice-versa.")
|
|
|
|
|
(license l:gpl2+)))
|
|
|
|
|
|
2015-11-25 15:56:56 +01:00
|
|
|
|
(define-public gumbo-parser
|
|
|
|
|
(package
|
|
|
|
|
(name "gumbo-parser")
|
|
|
|
|
(version "0.10.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/google/"
|
|
|
|
|
"gumbo-parser/archive/v" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1bgg2kbj311pqdzw2v33za7k66g1rv44kkvvnz2gnpaasi9k0ii8"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; tests require bundling googletest sources
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'bootstrap
|
|
|
|
|
(lambda _ (zero? (system* "sh" "autogen.sh")))))))
|
|
|
|
|
;; 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.")
|
|
|
|
|
(license l:asl2.0)))
|
2016-03-28 14:25:24 +02:00
|
|
|
|
|
|
|
|
|
(define-public uwsgi
|
|
|
|
|
(package
|
|
|
|
|
(name "uwsgi")
|
|
|
|
|
(version "2.0.12")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://projects.unbit.it/downloads/uwsgi-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"02g46dnw5j1iw8fsq392bxbk8d21b9pdgb3ypcinv3b4jzdm2srh"))))
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:gpl2+))) ; with linking exception
|
2016-03-26 22:49:42 +01:00
|
|
|
|
|
|
|
|
|
(define-public jq
|
|
|
|
|
(package
|
|
|
|
|
(name "jq")
|
|
|
|
|
(version "1.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/stedolan/" name
|
|
|
|
|
"/releases/download/" name "-" version
|
|
|
|
|
"/" name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-08-11 17:02:41 +02:00
|
|
|
|
"0g29kyz4ykasdcrb0zmbrp2jqs9kv1wz9swx849i2d1ncknbzln4"))
|
|
|
|
|
;; This patch has been pushed and the vulnerability will be
|
|
|
|
|
;; fixed in the next release after 1.5.
|
|
|
|
|
;; https://github.com/stedolan/jq/issues/995
|
|
|
|
|
(patches (search-patches "jq-CVE-2015-8863.patch"))))
|
2016-03-26 22:49:42 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("oniguruma" ,oniguruma)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(;; TODO fix gems to generate documentation
|
|
|
|
|
;;("ruby" ,ruby)
|
|
|
|
|
;;("bundler" ,bundler)
|
|
|
|
|
("valgrind" ,valgrind)))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "http://stedolan.github.io/jq/")
|
|
|
|
|
(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.")
|
|
|
|
|
(license (list l:expat l:cc-by3.0))))
|
2016-04-14 16:52:51 +02:00
|
|
|
|
|
|
|
|
|
(define-public uhttpmock
|
|
|
|
|
(package
|
|
|
|
|
(name "uhttpmock")
|
|
|
|
|
(version "0.5.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0vniyx341pnnmvxmqacc49k0g7h9a9nhknfslidrqmxj5lm1ini6"))))
|
|
|
|
|
(build-system glib-or-gtk-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'use-empty-ssl-cert-file
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Search for ca-certificates.crt files
|
|
|
|
|
;; during the check phase.
|
|
|
|
|
(setenv "SSL_CERT_FILE" "/dev/null")
|
|
|
|
|
#t)))))
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:lgpl2.1+)))
|
2016-06-09 00:22:14 +02: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).")
|
|
|
|
|
(license l:gpl2+)))
|
2016-07-07 07:55:41 +02:00
|
|
|
|
|
2017-02-12 04:21:50 +01:00
|
|
|
|
(define netsurf-buildsystem
|
|
|
|
|
(package
|
|
|
|
|
(name "netsurf-buildsystem")
|
|
|
|
|
(version "1.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.netsurf-browser.org/libs/releases/"
|
|
|
|
|
"buildsystem-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0wdgvasrjik1dgvvpqbppbpyfzkqd1v45x3g9rq7p67n773azinv"))))
|
|
|
|
|
(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))))
|
|
|
|
|
(home-page "http://www.netsurf-browser.org")
|
|
|
|
|
(synopsis "Build system for the Netsurf project")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides the shared build system for Netsurf project
|
|
|
|
|
libraries.")
|
|
|
|
|
(license l:expat)))
|
|
|
|
|
|
|
|
|
|
(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")
|
|
|
|
|
(version "0.2.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.netsurf-browser.org/libs/releases/"
|
|
|
|
|
name "-" version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"01gzlsabgl6x0icd8758d9jqs8rrf9574bdkjainn04w3fs3znf5"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("netsurf-buildsystem" ,netsurf-buildsystem)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("perl" ,perl))) ;for test harness
|
|
|
|
|
(arguments netsurf-buildsystem-arguments)
|
|
|
|
|
(home-page "http://www.netsurf-browser.org/projects/libparserutils/")
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:expat)))
|
|
|
|
|
|
2017-02-12 04:23:52 +01:00
|
|
|
|
(define-public hubbub
|
|
|
|
|
(package
|
|
|
|
|
(name "hubbub")
|
|
|
|
|
(version "0.3.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.netsurf-browser.org/libs/releases/"
|
|
|
|
|
"lib" name "-" version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"101781iw32p47386fxqr01nrkywi12w17ajh02k2vlga4z8zyv86"))
|
|
|
|
|
(patches (search-patches "hubbub-sort-entities.patch"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("netsurf-buildsystem" ,netsurf-buildsystem)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("doxygen" ,doxygen)
|
|
|
|
|
("json-c" ,json-c)
|
|
|
|
|
("perl" ,perl)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("libparserutils" ,libparserutils))) ;for libhubbub.pc
|
|
|
|
|
(arguments netsurf-buildsystem-arguments)
|
|
|
|
|
(home-page "http://www.netsurf-browser.org/projects/hubbub/")
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:expat)))
|
|
|
|
|
|
2017-02-12 04:24:49 +01:00
|
|
|
|
(define-public libwapcaplet
|
|
|
|
|
(package
|
|
|
|
|
(name "libwapcaplet")
|
|
|
|
|
(version "0.3.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.netsurf-browser.org/libs/releases/"
|
|
|
|
|
name "-" version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0cs1dd2afjgc3wf5gqg434hv6jdabrp9qvlpl4dp53nhkyfywna3"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("netsurf-buildsystem" ,netsurf-buildsystem)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("check" ,check))) ;for tests
|
|
|
|
|
(arguments netsurf-buildsystem-arguments)
|
|
|
|
|
(home-page "http://www.netsurf-browser.org/projects/libwapcaplet/")
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:expat)))
|
|
|
|
|
|
2017-02-12 04:25:31 +01:00
|
|
|
|
(define-public libcss
|
|
|
|
|
(package
|
|
|
|
|
(name "libcss")
|
|
|
|
|
(version "0.6.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.netsurf-browser.org/libs/releases/"
|
|
|
|
|
name "-" version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0qp4p1q1dwgdra4pkrzd081zjzisxkgwx650ijx323j8bj725daf"))))
|
|
|
|
|
(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)
|
|
|
|
|
(home-page "http://www.netsurf-browser.org/projects/libcss/")
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:expat)))
|
|
|
|
|
|
2017-02-12 04:27:31 +01:00
|
|
|
|
(define-public libdom
|
|
|
|
|
(package
|
|
|
|
|
(name "libdom")
|
|
|
|
|
(version "0.3.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.netsurf-browser.org/libs/releases/"
|
|
|
|
|
name "-" version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0qy7c8b229aiamyqqjgp6m1jlzc3fpl8s9dk33kxzkj70na8l7hv"))))
|
|
|
|
|
(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))
|
|
|
|
|
(home-page "http://www.netsurf-browser.org/projects/libdom/")
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:expat)))
|
|
|
|
|
|
2017-02-12 04:29:43 +01:00
|
|
|
|
(define-public libsvgtiny
|
|
|
|
|
(package
|
|
|
|
|
(name "libsvgtiny")
|
|
|
|
|
(version "0.1.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.netsurf-browser.org/libs/releases/"
|
|
|
|
|
name "-" version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0w5hab9x1saz4lq2s9w47x1r64fbzcsl5bvdjph9c9dq68qv3f8a"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("netsurf-buildsystem" ,netsurf-buildsystem)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
2017-03-26 09:36:00 +02:00
|
|
|
|
("gperf" ,gperf-3.0)))
|
2017-02-12 04:29:43 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("libwapcaplet" ,libwapcaplet)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("libdom" ,libdom))) ;for libsvgtiny.pc
|
|
|
|
|
(arguments netsurf-buildsystem-arguments)
|
|
|
|
|
(home-page "http://www.netsurf-browser.org/projects/libsvgtiny/")
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:expat)))
|
|
|
|
|
|
2017-02-12 04:30:40 +01:00
|
|
|
|
(define-public libnsbmp
|
|
|
|
|
(package
|
|
|
|
|
(name "libnsbmp")
|
|
|
|
|
(version "0.1.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.netsurf-browser.org/libs/releases/"
|
|
|
|
|
name "-" version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0y4a0gn4l6lq4z9183wix0mdsgalqyw24k19k8jr8sz4h3lb7jrb"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("netsurf-buildsystem" ,netsurf-buildsystem)))
|
|
|
|
|
(arguments netsurf-buildsystem-arguments)
|
|
|
|
|
(home-page "http://www.netsurf-browser.org/projects/libnsbmp/")
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:expat)))
|
|
|
|
|
|
2017-02-12 04:31:11 +01:00
|
|
|
|
(define-public libnsgif
|
|
|
|
|
(package
|
|
|
|
|
(name "libnsgif")
|
|
|
|
|
(version "0.1.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.netsurf-browser.org/libs/releases/"
|
|
|
|
|
name "-" version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1ldsyscsgqwc8g5481h9nqmwirpp1pp57hmss450hr0mqra26g0k"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("netsurf-buildsystem" ,netsurf-buildsystem)))
|
|
|
|
|
(arguments netsurf-buildsystem-arguments)
|
|
|
|
|
(home-page "http://www.netsurf-browser.org/projects/libnsgif/")
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:expat)))
|
|
|
|
|
|
2017-02-12 04:31:52 +01:00
|
|
|
|
(define-public libnsutils
|
|
|
|
|
(package
|
|
|
|
|
(name "libnsutils")
|
|
|
|
|
(version "0.0.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.netsurf-browser.org/libs/releases/"
|
|
|
|
|
name "-" version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0wrxn4rcn7xrfnkmf60jafqn3n1kicgsdpnakd821q56bmqvzf0m"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("netsurf-buildsystem" ,netsurf-buildsystem)))
|
|
|
|
|
(arguments netsurf-buildsystem-arguments)
|
|
|
|
|
(home-page "http://www.netsurf-browser.org/")
|
|
|
|
|
(synopsis "Utility library for NetSurf")
|
|
|
|
|
(description
|
|
|
|
|
"Libnsutils provides a small number of useful utility routines. It is
|
|
|
|
|
developed as part of the NetSurf project.")
|
|
|
|
|
(license l:expat)))
|
|
|
|
|
|
2017-02-12 04:32:20 +01:00
|
|
|
|
(define-public libnspsl
|
|
|
|
|
(package
|
|
|
|
|
(name "libnspsl")
|
|
|
|
|
(version "0.1.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.netsurf-browser.org/libs/releases/"
|
|
|
|
|
name "-" version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0x3frscrp9bzxlm9ama5laxjr3zi8cg20r8lhsamw4x4zyyk145y"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("netsurf-buildsystem" ,netsurf-buildsystem)))
|
|
|
|
|
(arguments netsurf-buildsystem-arguments)
|
|
|
|
|
(home-page "http://www.netsurf-browser.org/")
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:expat)))
|
|
|
|
|
|
2017-02-12 04:33:20 +01:00
|
|
|
|
(define-public nsgenbind
|
|
|
|
|
(package
|
|
|
|
|
(name "nsgenbind")
|
|
|
|
|
(version "0.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.netsurf-browser.org/libs/releases/"
|
|
|
|
|
name "-" version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"078gpbfcs96bgcba0ygha0ph9jzqr6ry5s3a8p6sl61px2908s66"))))
|
|
|
|
|
(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))))
|
|
|
|
|
(home-page "http://www.netsurf-browser.org/")
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:expat)))
|
|
|
|
|
|
2017-04-30 21:07:30 +02:00
|
|
|
|
(define-public netsurf
|
|
|
|
|
(package
|
|
|
|
|
(name "netsurf")
|
|
|
|
|
(version "3.6")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.netsurf-browser.org/netsurf/"
|
|
|
|
|
"releases/source/netsurf-" version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"174sjx0566agckwmlj4w2cip5qbxdiafyhlp185a1qprxx84pbjr"))
|
|
|
|
|
(patches (search-patches "netsurf-system-utf8proc.patch"
|
|
|
|
|
"netsurf-y2038-tests.patch"
|
|
|
|
|
"netsurf-longer-test-timeout.patch"))))
|
|
|
|
|
(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)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("curl" ,curl)
|
|
|
|
|
("gtk+" ,gtk+-2)
|
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("utf8proc" ,utf8proc)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libjpeg" ,libjpeg)
|
|
|
|
|
("libcss" ,libcss)
|
|
|
|
|
("libdom" ,libdom)
|
|
|
|
|
("libnsbmp" ,libnsbmp)
|
|
|
|
|
("libnsgif" ,libnsgif)
|
|
|
|
|
("libnspsl" ,libnspsl)
|
|
|
|
|
("libnsutils" ,libnsutils)
|
|
|
|
|
("libsvgtiny" ,libsvgtiny)
|
|
|
|
|
("miscfiles" ,miscfiles)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
|
|
|
|
|
,(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 _
|
|
|
|
|
;; First, fix some unended tags and simple substitutions
|
|
|
|
|
(substitute* "frontends/gtk/res/welcome.html"
|
|
|
|
|
(("<(img|input)([^>]*)>" _ tag contents)
|
|
|
|
|
(string-append "<" tag contents " />"))
|
|
|
|
|
(("Licence") "License") ;prefer GNU spelling
|
|
|
|
|
((" open source") ", free software")
|
|
|
|
|
(("web site") "website")
|
|
|
|
|
;; Prefer privacy-respecting default search engine
|
|
|
|
|
(("www.google.co.uk") "www.duckduckgo.com/html")
|
|
|
|
|
(("Google Search") "DuckDuckGo Search")
|
|
|
|
|
(("name=\"btnG\"") ""))
|
|
|
|
|
;; Remove default links so it doesn't seem we're endorsing them
|
|
|
|
|
(with-atomic-file-replacement "frontends/gtk/res/welcome.html"
|
|
|
|
|
(lambda (in out)
|
|
|
|
|
;; Leave the DOCTYPE header as is
|
|
|
|
|
(display (read-line in 'concat) out)
|
|
|
|
|
(sxml->xml
|
|
|
|
|
(let rec ((sxml (xml->sxml in)))
|
|
|
|
|
;; We'd like to use sxml-match here, but it can't
|
|
|
|
|
;; match against generic tag symbols...
|
|
|
|
|
(match sxml
|
|
|
|
|
(`(div (@ (class "links")) . ,rest)
|
|
|
|
|
'())
|
|
|
|
|
((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
|
|
|
|
|
(("netsurf-gtk") (string-append out "/bin/netsurf"))
|
|
|
|
|
(("netsurf.png") (string-append out "/share/netsurf/"
|
|
|
|
|
"netsurf.xpm")))
|
|
|
|
|
(install-file "Docs/netsurf-gtk.1"
|
|
|
|
|
(string-append out "/share/man/man1/"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "http://www.netsurf-browser.org")
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:gpl2+)))
|
|
|
|
|
|
2016-09-06 12:40:37 +02:00
|
|
|
|
(define-public surfraw
|
|
|
|
|
(package
|
|
|
|
|
(name "surfraw")
|
|
|
|
|
(version "2.2.9")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://surfraw.alioth.debian.org/dist/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1fy4ph5h9kp0jzj1m6pfylxnnmgdk0mmdppw76z9jhna4jndk5xa"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2017-05-20 11:07:27 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(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
|
|
|
|
|
(zero? (system* "gzip" "elvi.1sr")))))))))
|
2016-09-06 12:40:37 +02: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/")
|
|
|
|
|
(license l:public-domain)))
|
2016-09-14 08:01:59 +02:00
|
|
|
|
|
|
|
|
|
(define-public darkhttpd
|
|
|
|
|
(package
|
|
|
|
|
(name "darkhttpd")
|
|
|
|
|
(version "1.12")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2017-04-12 11:59:45 +02:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
|
|
|
|
|
version ".tar.bz2"))
|
2016-09-14 08:01:59 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-12 11:59:45 +02:00
|
|
|
|
"0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
|
2016-09-14 08:01:59 +02: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/")
|
|
|
|
|
(license l:isc)))
|
2016-10-04 17:43:01 +02: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)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(substitute* "src/error.h"
|
|
|
|
|
(("__DATE__") "\"1970-01-01\"")
|
|
|
|
|
(("__TIME__") "\"00: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.")
|
|
|
|
|
(license l:x11)))
|
2016-11-15 00:08:11 +01: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)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Remove non-free IETF RFC documentation.
|
|
|
|
|
'(delete-file-recursively "doc"))))
|
|
|
|
|
(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"))
|
|
|
|
|
(zero? (system* "./configure"
|
|
|
|
|
(string-append "--prefix=" out)))))))))
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:gpl2+)))
|
2017-01-25 08:50:30 +01:00
|
|
|
|
|
|
|
|
|
(define-public stunnel
|
|
|
|
|
(package
|
|
|
|
|
(name "stunnel")
|
|
|
|
|
(version "5.39")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.stunnel.org/downloads/stunnel-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1vjdn32iw11zqsygwxbjmqgs4644dk3ql1h8ap890ls6a1x0i318"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("openssl" ,openssl)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))))
|
|
|
|
|
(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.")
|
|
|
|
|
(license l:gpl2+)))
|
2017-01-26 11:35:50 +01:00
|
|
|
|
|
|
|
|
|
(define-public xinetd
|
|
|
|
|
(package
|
|
|
|
|
(name "xinetd")
|
|
|
|
|
(version "2.3.15")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri "https://github.com/xinetd-org/xinetd/archive/xinetd-2-3-15.tar.gz")
|
|
|
|
|
(patches (search-patches "xinetd-CVE-2013-4342.patch" "xinetd-fix-fd-leak.patch"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0k59x52cbzp5fw0n8zn0y54j1ps0x9b72y8k5grzswjdmgs2a2v2"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("--with-loadavg")
|
|
|
|
|
#:tests? #f )) ; no tests
|
|
|
|
|
(home-page "https://github.com/xinetd-org/xinetd")
|
|
|
|
|
(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.")
|
|
|
|
|
(license (l:fsf-free "file://COPYRIGHT"))))
|
2017-02-09 14:37:01 +01:00
|
|
|
|
|
|
|
|
|
(define-public tidy-html
|
|
|
|
|
(package
|
|
|
|
|
(name "tidy-html")
|
2017-03-01 20:36:50 +01:00
|
|
|
|
(version "5.4.0")
|
2017-02-09 14:37:01 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/htacg/tidy-html5/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-03-01 20:36:50 +01:00
|
|
|
|
"0yhbgbjl45b4sjxwc394cjra6iy02q1pi66p28zy70lr6jvm9mx2"))))
|
2017-02-09 14:37:01 +01:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(outputs '("out"
|
|
|
|
|
"static")) ; 1.0MiB of .a files
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; No tests available
|
|
|
|
|
#:configure-flags (list "-DCMAKE_BUILD_TYPE=Release")
|
|
|
|
|
#: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.")
|
|
|
|
|
(license l:bsd-3)))
|
2017-02-03 17:01:39 +01:00
|
|
|
|
|
2017-02-14 20:09:35 +01:00
|
|
|
|
(define-public hiawatha
|
|
|
|
|
(package
|
|
|
|
|
(name "hiawatha")
|
|
|
|
|
(version "10.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.hiawatha-webserver.org/files/"
|
|
|
|
|
"hiawatha-" version ".tar.gz"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; We use our packaged mbedtls, so delete the included copy.
|
|
|
|
|
'(delete-file-recursively "mbedtls"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0m2llzm72s29c32abnj03532m85fawvi8ybjpx6s3mgvx2yvq3p4"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; No tests included
|
|
|
|
|
#:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
|
|
|
|
|
(string-append "-DENABLE_TOMAHAWK=on")
|
|
|
|
|
(string-append "-DWEBROOT_DIR="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/share/hiawatha/html"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'remove-empty-dirs
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out")))
|
|
|
|
|
;; The directories in "var" are empty, remove them.
|
|
|
|
|
(delete-file-recursively (string-append out "/var"))
|
|
|
|
|
#t)))
|
|
|
|
|
(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
|
|
|
|
|
;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha"
|
|
|
|
|
`(("mbedtls-apache" ,mbedtls-apache) ;Hiawatha includes this version.
|
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("libxslt" ,libxslt)
|
|
|
|
|
("libxml2" ,libxml2)))
|
|
|
|
|
(home-page "https://www.hiawatha-webserver.org")
|
|
|
|
|
(synopsis "Webserver with focus on security")
|
|
|
|
|
(description
|
2017-03-09 22:46:13 +01:00
|
|
|
|
"Hiawatha has been written with security in mind.
|
|
|
|
|
Features include the ability to stop SQL injections, XSS and CSRF attacks and
|
|
|
|
|
exploit attempts.")
|
2017-02-14 20:09:35 +01:00
|
|
|
|
(license l:gpl2)))
|
2017-05-07 04:29:41 +02: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.")
|
|
|
|
|
(license l:isc)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-httpbin
|
|
|
|
|
(package-with-python2 python-httpbin))
|
2017-05-07 04:29:42 +02: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.")
|
|
|
|
|
(license l:expat)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-pytest-httpbin
|
|
|
|
|
(package-with-python2 python-pytest-httpbin))
|
2017-05-15 16:01:20 +02:00
|
|
|
|
|
|
|
|
|
(define-public http-parser
|
|
|
|
|
(package
|
|
|
|
|
(name "http-parser")
|
|
|
|
|
(version "2.7.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/nodejs/http-parser/"
|
|
|
|
|
"archive/v" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1cw6nf8xy4jhib1w0jd2y0gpqjbdasg8b7pkl2k2vpp54k9rlh3h"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "test"
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "PREFIX="
|
|
|
|
|
(assoc-ref %outputs "out"))
|
|
|
|
|
"CC=gcc" "library")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(home-page "https://github.com/nodejs/http-parser")
|
|
|
|
|
(synopsis "HTTP request/response parser for C")
|
|
|
|
|
(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
|
|
|
|
|
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).")
|
|
|
|
|
(license l:expat)))
|
2017-06-15 18:05:26 +02:00
|
|
|
|
|
|
|
|
|
(define-public python2-httpretty
|
|
|
|
|
(package
|
|
|
|
|
(name "python2-httpretty")
|
|
|
|
|
(version "0.8.14")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "httpretty" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0vlp5qkyw3pxwwsg7xmdcfh1csvypvaz4m6abida8s4xmjxpdhc3"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-sphinx-rtd-theme" ,python2-sphinx-rtd-theme)
|
|
|
|
|
("python-sphinx" ,python2-sphinx)
|
|
|
|
|
("python-coverage" ,python2-coverage)
|
|
|
|
|
("python-tornado" ,python2-tornado)
|
|
|
|
|
("python-urllib3" ,python2-urllib3)
|
|
|
|
|
("python-sure" ,python2-sure)
|
|
|
|
|
("python-steadymark" ,python2-steadymark)
|
|
|
|
|
("python-requests" ,python2-requests)
|
|
|
|
|
("python-rednose" ,python2-rednose)
|
|
|
|
|
("python-nose-randomly" ,python2-nose-randomly)
|
|
|
|
|
("python-misaka" ,python2-misaka)
|
|
|
|
|
("python-pytest-httpbin" ,python2-pytest-httpbin)
|
|
|
|
|
("python-nose" ,python2-nose)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
;; Requires mock>=1.3.0 which requires a more up-to-date
|
|
|
|
|
;; python-pbr. After updating these trying to build the
|
|
|
|
|
;; package leads to failures in python-flake8 and other
|
|
|
|
|
;; packages. The cascade of updates and failures this
|
|
|
|
|
;; leads to, seems to not be worth having the test run.
|
|
|
|
|
#:python ,python-2
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'patch-test-requirements
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; Update requirements from dependecy==version
|
|
|
|
|
;; to dependency>=version
|
|
|
|
|
(substitute* "development.txt"
|
|
|
|
|
(("==") ">="))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "http://github.com/gabrielfalcao/httpretty")
|
|
|
|
|
(synopsis "HTTP client mock for Python")
|
|
|
|
|
(description "@code{httpretty} is a helper for faking web requests,
|
|
|
|
|
inspired by Ruby's @code{fakeweb}.")
|
|
|
|
|
(license l:expat)))
|
2017-06-29 08:40:03 +02:00
|
|
|
|
|
|
|
|
|
(define-public jo
|
|
|
|
|
(package
|
|
|
|
|
(name "jo")
|
|
|
|
|
(version "1.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/jpmens/jo/releases/download/v"
|
|
|
|
|
version "/jo-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0pysickpxrbl53c122h6swvz8sck68q3j0ql38wvbz70q9k4gvb3"))))
|
|
|
|
|
(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.")
|
|
|
|
|
(license (list l:gpl2+
|
|
|
|
|
l:expat)))) ; json.c, json.h
|
2017-07-15 09:19:37 +02:00
|
|
|
|
|
|
|
|
|
(define-public python-internetarchive
|
|
|
|
|
(package
|
|
|
|
|
(name "python-internetarchive")
|
|
|
|
|
(version "1.6.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/jjjake/internetarchive/archive/"
|
|
|
|
|
"v" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"00v1489rv1ydcihwbdl7sqpcpmm98b9kqqlfggr32k0ndmv7ivas"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; 11 tests of 105 fail to mock "requests".
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'check)
|
|
|
|
|
(add-after 'install 'check
|
2017-07-15 12:48:24 +02:00
|
|
|
|
(lambda* (#:key inputs outputs target (tests? (not target)) #:allow-other-keys)
|
|
|
|
|
(if tests?
|
|
|
|
|
(begin
|
|
|
|
|
(add-installed-pythonpath inputs outputs)
|
|
|
|
|
(setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
|
|
|
|
|
":" (getenv "PATH")))
|
|
|
|
|
(zero? (system* "py.test")))
|
|
|
|
|
(begin
|
|
|
|
|
(format #t "test suite not run~%")
|
|
|
|
|
#t)))))))
|
2017-07-15 09:19:37 +02: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
|
|
|
|
|
`(("python-pytest-3.0" ,python-pytest-3.0)
|
|
|
|
|
("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
|
|
|
|
|
@url{archive.org} from the command-line. It also emplements the
|
|
|
|
|
internetarchive python module for programatic access to archive.org.")
|
|
|
|
|
(properties
|
|
|
|
|
`((python2-variant . ,(delay python2-internetarchive))))
|
|
|
|
|
(license l:agpl3+)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-internetarchive
|
|
|
|
|
(package-with-python2
|
|
|
|
|
(strip-python2-variant python-internetarchive)))
|