2013-01-16 23:25:03 +01:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2014-09-13 15:50:30 +02:00
|
|
|
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
|
2013-01-19 15:17:28 +01:00
|
|
|
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
|
2013-01-16 23:25:03 +01: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/>.
|
|
|
|
|
2013-01-18 01:06:24 +01:00
|
|
|
(define-module (gnu packages xml)
|
2013-01-19 15:17:28 +01:00
|
|
|
#:use-module (gnu packages)
|
2013-03-08 22:47:01 +01:00
|
|
|
#:use-module (gnu packages compression)
|
2013-02-01 23:23:08 +01:00
|
|
|
#:use-module (gnu packages gnupg)
|
2013-01-19 15:17:28 +01:00
|
|
|
#:use-module (gnu packages perl)
|
|
|
|
#:use-module (gnu packages python)
|
2013-12-09 22:37:28 +01:00
|
|
|
#:use-module (gnu packages web)
|
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 license:)
|
2013-01-16 23:25:03 +01:00
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
2013-03-04 00:46:44 +01:00
|
|
|
#:use-module (guix build-system gnu)
|
2013-08-31 13:47:46 +02:00
|
|
|
#:use-module (guix build-system perl)
|
|
|
|
#:use-module (gnu packages linux))
|
2013-01-16 23:25:03 +01:00
|
|
|
|
|
|
|
(define-public expat
|
|
|
|
(package
|
|
|
|
(name "expat")
|
|
|
|
(version "2.1.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://sourceforge/expat/expat/"
|
|
|
|
version "/expat-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"11pblz61zyxh68s5pdcbhc30ha1b2vfjd83aiwfg4vc15x3hadw2"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(home-page "http://www.libexpat.org/")
|
2014-09-13 15:50:30 +02:00
|
|
|
(synopsis "Stream-oriented XML parser library written in C")
|
2013-01-16 23:25:03 +01:00
|
|
|
(description
|
|
|
|
"Expat is an XML parser library written in C. It is a
|
|
|
|
stream-oriented parser in which an application registers handlers for
|
|
|
|
things the parser might find in the XML document (like start tags).")
|
|
|
|
(license license:expat)))
|
2013-01-19 15:17:28 +01:00
|
|
|
|
|
|
|
(define-public libxml2
|
|
|
|
(package
|
|
|
|
(name "libxml2")
|
|
|
|
(version "2.9.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "ftp://xmlsoft.org/libxml2/libxml2-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"10ib8bpar2pl68aqksfinvfmqknwnk7i35ibq6yjl8dpb0cxj9dd"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(home-page "http://www.xmlsoft.org/")
|
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
|
|
|
(synopsis "C parser for XML")
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 12:01:56 +01:00
|
|
|
(inputs `(("zlib" ,zlib)))
|
|
|
|
(native-inputs `(("perl" ,perl)
|
|
|
|
("python" ,python-2))) ; incompatible with Python 3 (print syntax)
|
2013-03-08 22:47:01 +01:00
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(alist-replace
|
|
|
|
'install
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
|
|
|
|
(let ((install (assoc-ref %standard-phases 'install))
|
2013-12-14 19:05:17 +01:00
|
|
|
(glibc (assoc-ref inputs ,(if (%current-target-system)
|
|
|
|
"cross-libc" "libc")))
|
2013-03-08 22:47:01 +01:00
|
|
|
(out (assoc-ref outputs "out")))
|
|
|
|
(apply install args)
|
|
|
|
(chdir "python")
|
2013-12-14 19:05:17 +01:00
|
|
|
(substitute* "setup.py"
|
|
|
|
(("/opt/include")
|
|
|
|
(string-append glibc "/include")))
|
|
|
|
(system* "python" "setup.py" "install"
|
|
|
|
(string-append "--prefix=" out))))
|
2013-03-08 22:47:01 +01:00
|
|
|
%standard-phases)))
|
2013-01-19 15:17:28 +01:00
|
|
|
(description
|
|
|
|
"Libxml2 is the XML C parser and toolkit developed for the Gnome project
|
|
|
|
(but it is usable outside of the Gnome platform).")
|
|
|
|
(license license:x11)))
|
2013-02-01 23:23:08 +01:00
|
|
|
|
|
|
|
(define-public libxslt
|
|
|
|
(package
|
|
|
|
(name "libxslt")
|
|
|
|
(version "1.1.28")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "ftp://xmlsoft.org/libxslt/libxslt-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"13029baw9kkyjgr7q3jccw2mz38amq7mmpr5p3bh775qawd1bisz"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(home-page "http://xmlsoft.org/XSLT/index.html")
|
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
|
|
|
(synopsis "C library for applying XSLT stylesheets to XML documents")
|
2013-02-01 23:23:08 +01:00
|
|
|
(inputs `(("libgcrypt" ,libgcrypt)
|
|
|
|
("libxml2" ,libxml2)
|
gnu: python: Replace input python by python-wrapper.
* gnu/packages/{gdb.scm (gdb), cryptsetup.scm (cryptsetup),
ghostscript.scm (ghostscript), glib.scm (glib), gnupg.scm (pius),
gtk.scm (cairo, harfbuzz), libevent.scm (libevent), netpbm.scm (netpbm),
oggvorbis.scm (libkate), qemu.scm (qemu), samba.scm (samba),
texlive.scm (rubber, texlive), version-control.scm (subversion),
xml.scm (libxml2, libxslt), xorg.scm (libxcb, mesa, xcb-proto, xorg-server),
yasm.scm (yasm), zip.scm (zziplib)}:
Replace input python by python-wrapper.
2013-09-03 22:18:39 +02:00
|
|
|
("python" ,python-wrapper)
|
2013-03-08 23:01:39 +01:00
|
|
|
("zlib" ,zlib)))
|
2013-02-01 23:23:08 +01:00
|
|
|
(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
|
|
|
"Libxslt is an XSLT C library developed for the GNOME project. It is
|
2013-02-01 23:23:08 +01:00
|
|
|
based on libxml for XML parsing, tree manipulation and XPath support.")
|
|
|
|
(license license:x11)))
|
2013-03-04 00:46:44 +01:00
|
|
|
|
|
|
|
(define-public perl-xml-parser
|
|
|
|
(package
|
|
|
|
(name "perl-xml-parser")
|
|
|
|
(version "2.41")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
2013-03-10 12:46:24 +01:00
|
|
|
"mirror://cpan/authors/id/T/TO/TODDR/XML-Parser-"
|
2013-03-04 00:46:44 +01:00
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1sadi505g5qmxr36lgcbrcrqh3a5gcdg32b405gnr8k54b6rg0dl"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(arguments `(#:make-maker-flags
|
|
|
|
(let ((expat (assoc-ref %build-inputs "expat")))
|
|
|
|
(list (string-append "EXPATLIBPATH=" expat "/lib")
|
|
|
|
(string-append "EXPATINCPATH=" expat "/include")))))
|
|
|
|
(inputs `(("expat" ,expat)))
|
|
|
|
(license (package-license perl))
|
|
|
|
(synopsis "Perl bindings to the Expat XML parsing library")
|
|
|
|
(description
|
|
|
|
"This module provides ways to parse XML documents. It is built on top of
|
|
|
|
XML::Parser::Expat, which is a lower level interface to James Clark's expat
|
|
|
|
library. Each call to one of the parsing methods creates a new instance of
|
|
|
|
XML::Parser::Expat which is then used to parse the document. Expat options
|
|
|
|
may be provided when the XML::Parser object is created. These options are
|
|
|
|
then passed on to the Expat object on each parse call. They can also be given
|
|
|
|
as extra arguments to the parse methods, in which case they override options
|
|
|
|
given at XML::Parser creation time.")
|
|
|
|
(home-page "http://search.cpan.org/~toddr/XML-Parser-2.41/Parser.pm")))
|
2013-08-31 13:47:46 +02:00
|
|
|
|
2013-12-07 21:28:54 +01:00
|
|
|
(define-public perl-libxml
|
2013-12-06 22:50:12 +01:00
|
|
|
(package
|
2013-12-07 21:28:54 +01:00
|
|
|
(name "perl-libxml")
|
2013-12-06 22:50:12 +01:00
|
|
|
(version "0.08")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"mirror://cpan/authors/id/K/KM/KMACLEOD/libxml-perl-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1jy9af0ljyzj7wakqli0437zb2vrbplqj4xhab7bfj2xgfdhawa5"))))
|
|
|
|
(build-system perl-build-system)
|
2013-12-10 00:13:08 +01:00
|
|
|
(propagated-inputs
|
2013-12-06 22:50:12 +01:00
|
|
|
`(("perl-xml-parser" ,perl-xml-parser)))
|
|
|
|
(license (package-license perl))
|
|
|
|
(synopsis "Perl SAX parser using XML::Parser")
|
|
|
|
(description
|
|
|
|
"XML::Parser::PerlSAX is a PerlSAX parser using the XML::Parser
|
|
|
|
module.")
|
|
|
|
(home-page "http://search.cpan.org/~kmacleod/libxml-perl/lib/XML/Parser/PerlSAX.pm")))
|
|
|
|
|
2013-10-02 21:46:44 +02:00
|
|
|
(define-public perl-xml-simple
|
|
|
|
(package
|
|
|
|
(name "perl-xml-simple")
|
|
|
|
(version "2.20")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"mirror://cpan/authors/id/G/GR/GRANTM/XML-Simple-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0jj3jiray1l4pi9wkjcpxjc3v431whdwx5aqnhgdm4i7h3817zsw"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("perl-xml-parser" ,perl-xml-parser)))
|
|
|
|
(license (package-license perl))
|
|
|
|
(synopsis "Perl module for easy reading/writing of XML files")
|
|
|
|
(description
|
|
|
|
"The XML::Simple module provides a simple API layer on top of an
|
|
|
|
underlying XML parsing module (either XML::Parser or one of the SAX2
|
|
|
|
parser modules).")
|
|
|
|
(home-page "http://search.cpan.org/~grantm/XML-Simple-2.20/lib/XML/Simple.pm")))
|
|
|
|
|
2013-12-06 22:54:44 +01:00
|
|
|
(define-public perl-xml-regexp
|
|
|
|
(package
|
|
|
|
(name "perl-xml-regexp")
|
|
|
|
(version "0.04")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"mirror://cpan/authors/id/T/TJ/TJMATHER/XML-RegExp-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0m7wj00a2kik7wj0azhs1zagwazqh3hlz4255n75q21nc04r06fz"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("perl-xml-parser" ,perl-xml-parser)))
|
|
|
|
(license (package-license perl))
|
|
|
|
(synopsis "Perl regular expressions for XML tokens")
|
|
|
|
(description
|
|
|
|
"XML::RegExp contains regular expressions for the following XML tokens:
|
|
|
|
BaseChar, Ideographic, Letter, Digit, Extender, CombiningChar, NameChar,
|
|
|
|
EntityRef, CharRef, Reference, Name, NmToken, and AttValue.")
|
|
|
|
(home-page "http://search.cpan.org/~tjmather/XML-RegExp/lib/XML/RegExp.pm")))
|
|
|
|
|
2013-12-09 22:37:28 +01:00
|
|
|
(define-public perl-xml-dom
|
|
|
|
(package
|
|
|
|
(name "perl-xml-dom")
|
|
|
|
(version "1.44")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"mirror://cpan/authors/id/T/TJ/TJMATHER/XML-DOM-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1r0ampc88ni3sjpzr583k86076qg399arfm9xirv3cw49k3k5bzn"))))
|
|
|
|
(build-system perl-build-system)
|
2013-12-10 00:17:04 +01:00
|
|
|
(propagated-inputs
|
|
|
|
`(("perl-libwww" ,perl-libwww)
|
2013-12-09 22:37:28 +01:00
|
|
|
("perl-libxml" ,perl-libxml)
|
|
|
|
("perl-xml-regexp" ,perl-xml-regexp)))
|
|
|
|
(license (package-license perl))
|
|
|
|
(synopsis
|
|
|
|
"Perl module for building DOM Level 1 compliant document structures")
|
|
|
|
(description
|
|
|
|
"This module extends the XML::Parser module by Clark Cooper. The
|
|
|
|
XML::Parser module is built on top of XML::Parser::Expat, which is a lower
|
|
|
|
level interface to James Clark's expat library. XML::DOM::Parser is derived
|
|
|
|
from XML::Parser. It parses XML strings or files and builds a data structure
|
|
|
|
that conforms to the API of the Document Object Model.")
|
|
|
|
(home-page "http://search.cpan.org/~tjmather/XML-DOM-1.44/lib/XML/DOM.pm")))
|
|
|
|
|
2013-08-31 13:47:46 +02:00
|
|
|
(define-public xmlto
|
|
|
|
(package
|
|
|
|
(name "xmlto")
|
|
|
|
(version "0.0.25")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"https://fedorahosted.org/releases/x/m/xmlto/xmlto-"
|
|
|
|
version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0dp5nxq491gymq806za0dk4hngfmq65ysrqbn0ypajqbbl6vf71n"))))
|
|
|
|
(build-system gnu-build-system)
|
2013-10-06 22:13:04 +02:00
|
|
|
(arguments
|
|
|
|
;; Make sure the reference to util-linux's 'getopt' is kept in 'xmlto'.
|
|
|
|
'(#:configure-flags (list (string-append "GETOPT="
|
|
|
|
(assoc-ref %build-inputs
|
|
|
|
"util-linux")
|
|
|
|
"/bin/getopt"))))
|
2013-08-31 13:47:46 +02:00
|
|
|
(inputs
|
2013-10-06 22:13:04 +02:00
|
|
|
`(("util-linux" ,util-linux) ; for 'getopt'
|
|
|
|
("libxml2" ,libxml2) ; for 'xmllint'
|
|
|
|
("libxslt" ,libxslt))) ; for 'xsltproc'
|
2013-08-31 13:47:46 +02:00
|
|
|
(home-page "http://cyberelk.net/tim/software/xmlto/")
|
|
|
|
(synopsis "Front-end to an XSL toolchain")
|
|
|
|
(description
|
|
|
|
"Xmlto is a front-end to an XSL toolchain. It chooses an appropriate
|
|
|
|
stylesheet for the conversion you want and applies it using an external
|
|
|
|
XSL-T processor. It also performs any necessary post-processing.")
|
|
|
|
(license license:gpl2+)))
|