2013-01-16 22:25:03 +00:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2019-09-20 10:21:19 +00:00
|
|
|
;;; Copyright © 2013, 2014, 2015, 2016, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
|
2015-05-24 20:55:32 +00:00
|
|
|
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
|
2015-04-07 21:38:15 +00:00
|
|
|
;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
|
2015-05-30 09:05:23 +00:00
|
|
|
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
|
2020-08-04 13:09:36 +00:00
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018, 2020 Ricardo Wurmus <rekado@elephly.net>
|
2017-06-18 06:08:00 +00:00
|
|
|
;;; Copyright © 2015, 2016, 2017 Mark H Weaver <mhw@netris.org>
|
2018-03-13 17:57:14 +00:00
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
|
2015-12-28 11:51:59 +00:00
|
|
|
;;; Copyright © 2015 Raimon Grau <raimonster@gmail.com>
|
2016-04-18 21:21:42 +00:00
|
|
|
;;; Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
|
2017-01-25 17:45:24 +00:00
|
|
|
;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name>
|
2016-07-12 05:19:15 +00:00
|
|
|
;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
|
2016-08-13 10:08:02 +00:00
|
|
|
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
|
mailmap: Update entries for Nikita.
* .mailmap: change email and name for Nikita.
* Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish,
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/cinnamon.scm,
gnu/packages/compression.scm, gnu/packages/crypto.scm,
gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm,
gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
gnu/packages/enlightenment.scm, gnu/packages/erlang.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm,
gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm,
gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.scm,
gnu/packages/haskell.scm, gnu/packages/image-viewers.scm,
gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm,
gnu/packages/libcanberra.scm, gnu/packages/linux.scm,
gnu/packages/lisp-xyz.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm,
gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm,
gnu/packages/ncurses.scm, gnu/packages/networking.scm,
gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm, gnu/packages/python-xyz.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm,
gnu/packages/rust.scm, gnu/packages/scheme.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm,
gnu/packages/tor.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-11 11:05:45 +00:00
|
|
|
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
|
2020-01-03 19:22:00 +00:00
|
|
|
;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
2020-01-15 19:20:25 +00:00
|
|
|
;;; Copyright © 2016, 2017, 2018, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
|
2017-04-28 16:34:56 +00:00
|
|
|
;;; Copyright © 2017 Adriano Peluso <catonano@gmail.com>
|
2017-06-24 19:05:01 +00:00
|
|
|
;;; Copyright © 2017 Gregor Giesen <giesen@zaehlwerk.net>
|
gnu: libxml2: Fix CVE-2017-{0663,7375,7376,9047,9048,9049,9050}.
* gnu/packages/patches/libxml2-CVE-2017-0663.patch,
gnu/packages/patches/libxml2-CVE-2017-7375.patch,
gnu/packages/patches/libxml2-CVE-2017-7376.patch,
gnu/packages/patches/libxml2-CVE-2017-9047+CVE-2017-9048.patch,
gnu/packages/patches/libxml2-CVE-2017-9049+CVE-2017-9050.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/xml.scm (libxml2)[replacement]: New field.
(libxml2/fixed): New variable.
Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-08-30 13:21:21 +00:00
|
|
|
;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
|
2017-10-23 06:23:21 +00:00
|
|
|
;;; Copyright © 2017 Petter <petter@mykolab.ch>
|
2017-12-29 21:00:18 +00:00
|
|
|
;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at>
|
2018-11-09 10:31:17 +00:00
|
|
|
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
|
2019-07-10 20:03:19 +00:00
|
|
|
;;; Copyright © 2018 Jack Hill <jackhill@jackhill.us>
|
2020-01-15 19:18:05 +00:00
|
|
|
;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
|
2020-05-20 09:52:19 +00:00
|
|
|
;;; Copyright © 2020 Paul Garlick <pgarlick@tourbillion-technology.com>
|
2020-06-19 13:36:00 +00:00
|
|
|
;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com>
|
2020-10-17 03:00:52 +00:00
|
|
|
;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
|
2020-11-08 11:18:11 +00:00
|
|
|
;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com>
|
2021-01-11 22:39:29 +00:00
|
|
|
;;; Copyright © 2021 Michael Rohleder <mike@rohleder.de>
|
2020-12-28 19:01:47 +00:00
|
|
|
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2021-03-23 22:13:23 +00:00
|
|
|
;;; Copyright © 2021 Julien Lepiller <julien@lepiller.eu>
|
2021-03-28 08:40:19 +00:00
|
|
|
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
|
|
|
|
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
|
2013-01-16 22:25:03 +00:00
|
|
|
;;;
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2013-01-18 00:06:24 +00:00
|
|
|
(define-module (gnu packages xml)
|
2013-01-19 14:17:28 +00:00
|
|
|
#:use-module (gnu packages)
|
2020-06-19 13:36:00 +00:00
|
|
|
#:use-module (gnu packages base)
|
2015-05-24 20:55:32 +00:00
|
|
|
#:use-module (gnu packages autotools)
|
2018-12-01 20:14:59 +00:00
|
|
|
#:use-module (gnu packages check)
|
2013-03-08 21:47:01 +00:00
|
|
|
#:use-module (gnu packages compression)
|
2018-11-09 10:31:17 +00:00
|
|
|
#:use-module (gnu packages curl)
|
2020-08-04 13:09:36 +00:00
|
|
|
#:use-module (gnu packages docbook)
|
|
|
|
#:use-module (gnu packages documentation)
|
2020-12-28 16:29:36 +00:00
|
|
|
#:use-module (gnu packages gettext)
|
2020-08-04 13:09:36 +00:00
|
|
|
#:use-module (gnu packages glib)
|
|
|
|
#:use-module (gnu packages gnome)
|
2020-05-22 11:06:27 +00:00
|
|
|
#:use-module (gnu packages gnupg)
|
2020-08-04 13:09:36 +00:00
|
|
|
#:use-module (gnu packages graphviz)
|
2020-05-22 11:06:27 +00:00
|
|
|
#:use-module (gnu packages gtk)
|
2018-02-10 16:28:58 +00:00
|
|
|
#:use-module (gnu packages java)
|
gnu: Move nss & co. to nss.scm.
* gnu/packages/gnuzilla.scm (nspr, nss): Move to...
* gnu/packages/nss.scm: ... here. New file.
* gnu/packages/chromium.scm, gnu/packages/disk.scm,
gnu/packages/freedesktop.scm, gnu/packages/gnome.scm,
gnu/packages/gnunet.scm, gnu/packages/java.scm,
gnu/packages/libreoffice.scm, gnu/packages/linux.scm,
gnu/packages/mate.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/password-utils.scm,
gnu/packages/polkit.scm, gnu/packages/qt.scm,
gnu/packages/sssd.scm, gnu/packages/storage.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/xml.scm: Adjust
accordingly.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add nss.scm.
2019-04-04 13:14:57 +00:00
|
|
|
#:use-module (gnu packages nss)
|
2013-01-19 14:17:28 +00:00
|
|
|
#:use-module (gnu packages perl)
|
gnu: Move test packages from perl to perl-check.
* gnu/packages/perl.scm (perl-test2-bundle-extended,
perl-test2-plugin-nowarnings, perl-test-base, perl-test-class,
perl-test-class-most, perl-test-cleannamespaces, perl-test-command,
perl-test-cpan-meta, perl-test-cpan-meta-json, perl-test-deep,
perl-test-differences, perl-test-directory, perl-test-eol,
perl-test-exception, perl-test-fatal, perl-test-file-sharedir-dist,
perl-test-files, perl-test-harness, perl-test-leaktrace,
perl-test-longstring, perl-test-manifest, perl-test-memory-cycle,
perl-test-mockobject, perl-test-mocktime, perl-test-most, perl-test-needs,
perl-test-notabs, perl-test-nowarnings, perl-test-number-delta,
perl-test-output, perl-test-pod, perl-test-pod-coverage, perl-test-requires,
perl-test-script, perl-test-sharedfork, perl-test-simple, perl-test-taint,
perl-test-tester, perl-test-trap, perl-test-utf8, perl-test-warn,
perl-test-warnings, perl-test-without-module, perl-test-writevariants,
perl-test-yaml, perl-test-trailingspace): Move variables to ...
* gnu/packages/perl-check.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/glib.scm,
gnu/packages/gnupg.scm,
gnu/packages/image-viewers.scm,
gnu/packages/language.scm,
gnu/packages/networking.scm,
gnu/packages/package-management.scm,
gnu/packages/perl.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/version-control.scm,
gnu/packages/web.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm: Use perl-check module.
2017-11-13 22:03:01 +00:00
|
|
|
#:use-module (gnu packages perl-check)
|
2013-01-19 14:17:28 +00:00
|
|
|
#:use-module (gnu packages python)
|
gnu: Rename module gnutls to tls.
* gnu/packages/gnutls.scm: Rename to...
* gnu/packages/tls.scm: ... this. Change module name accordingly.
* gnu/packages/{admin.scm, cups.scm, curl.scm, dc.scm, dns.scm, emacs.scm,
ftp.scm, gnome.scm, gnunet.scm, gnupg.scm, gsasl.scm, lynx.scm,
mail.scm, messaging.scm, package-management.scm, shishi.scm,
task-management.scm, version-control.scm, video.scm, vpn.scm,
webkit.scm, weechat.scm, wget.scm, wine.scm, xml.scm}: Adapt module
import to new name.
* gnu-system.am (GNU_SYSTEM_MODULES): Rename gnutls module to tls.
2015-07-03 19:41:22 +00:00
|
|
|
#:use-module (gnu packages tls)
|
2013-12-09 21:37:28 +00: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 20:44:22 +00:00
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2013-01-16 22:25:03 +00:00
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
2019-02-10 00:27:03 +00:00
|
|
|
#:use-module (guix git-download)
|
2017-05-07 14:38:36 +00:00
|
|
|
#:use-module (guix build-system ant)
|
2015-05-28 07:43:53 +00:00
|
|
|
#:use-module (guix build-system cmake)
|
2013-03-03 23:46:44 +00:00
|
|
|
#:use-module (guix build-system gnu)
|
2020-05-22 11:06:27 +00:00
|
|
|
#:use-module (guix build-system meson)
|
2013-08-31 11:47:46 +00:00
|
|
|
#:use-module (guix build-system perl)
|
2015-05-30 09:06:25 +00:00
|
|
|
#:use-module (guix build-system python)
|
2021-03-28 08:40:19 +00:00
|
|
|
#:use-module (guix utils)
|
2016-06-06 12:33:58 +00:00
|
|
|
#:use-module (gnu packages linux)
|
|
|
|
#:use-module (gnu packages pkg-config))
|
2013-01-16 22:25:03 +00:00
|
|
|
|
2020-05-22 11:06:27 +00:00
|
|
|
(define-public libxmlb
|
|
|
|
(package
|
|
|
|
(name "libxmlb")
|
|
|
|
(version "0.1.15")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri
|
|
|
|
(git-reference
|
gnu: Don't append '.git' to GitHub uris.
* gnu/packages/admin.scm (nmrpflash)[source]: Remove '.git' from URI.
* gnu/packages/aidc.scm (zxing-cpp),
* gnu/packages/assembly.scm (mbuild),
* gnu/packages/audio.scm (opensles, wildmidi, tinyalsa),
* gnu/packages/browser-extensions.scm (ublock-origin-chromium),
* gnu/packages/check.scm (mutest),
* gnu/packages/compression.scm (unshield),
* gnu/packages/coq.scm (subset),
* gnu/packages/dictionaries.scm (translate-shell),
* gnu/packages/disk.scm (memkind),
* gnu/packages/documentation.scm (latex2html),
* gnu/packages/emacs-xyz.scm (emacs-chronometrist,
emacs-flycheck-ledger, emacs-counsel-notmuch, emacs-spaceline,
emacs-org-generate),
* gnu/packages/embedded.scm (ebusd, ebusd-configuration),
* gnu/packages/enchant.scm (nuspell),
* gnu/packages/fontutils.scm (woff2),
* gnu/packages/geo.scm (memphis),
* gnu/packages/gimp.scm (mrg),
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-appindicator),
* gnu/packages/gnome.scm (parlatype),
* gnu/packages/golang.scm (go-github-com-tv42-httpunix,
go-github-com-ayufan-golang-kardianos-service),
* gnu/packages/graphics.scm (eglexternalplatform, egl-wayland, mmm,
directfb, flux),
* gnu/packages/gstreamer.scm (openni2, ccextractor, libvisual,
graphene),
* gnu/packages/guile-xyz.scm (guile-srfi-180, guile-torrent),
* gnu/packages/image.scm (openjpeg-data),
* gnu/packages/java.scm (javacc),
* gnu/packages/language.scm (liblouis, liblouisutdml),
* gnu/packages/linux.scm (pamela, ttyebus),
* gnu/packages/lxqt.scm (lxqt-connman-applet),
* gnu/packages/mail.scm (libetpan),
* gnu/packages/man.scm (ronn),
* gnu/packages/music.scm (tascam-gtk, artyfx),
* gnu/packages/networking.scm (srt, lksctp-tools, nng, nanomsg),
* gnu/packages/python-crypto.scm (pure-python-otr),
* gnu/packages/qt.scm (qtspell),
* gnu/packages/raspberry-pi.scm (raspi-gpio, raspi-open-firmware),
* gnu/packages/rdp.scm (freerdp),
* gnu/packages/ruby.scm (ruby-prawn-templates, ruby-treetop, ruby-gimme,
ruby-standard, ruby-rubocop-ast, ruby-rexml, ruby-range-compressor,
ruby-regexp-property-values, ruby-regexp-parser, ruby-rubocop,
ruby-pdf-reader, ruby-pdf-inspector, ruby-prawn),
* gnu/packages/syncthing.scm (syncthing-gtk),
* gnu/packages/video.scm (svt-hevc, mediasdk, libvideogfx, libde265,
tslib),
* gnu/packages/xml.scm (libxmlb, libxmlplusplus)[source]: Same.
2020-11-19 18:18:54 +00:00
|
|
|
(url "https://github.com/hughsie/libxmlb")
|
2020-05-22 11:06:27 +00:00
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32 "1mb73pnfwqc4mm0lm16yfn0lj495h8hcciprb2v6wgy3ifnnjxib"))))
|
|
|
|
(build-system meson-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:glib-or-gtk? #t))
|
|
|
|
(native-inputs
|
|
|
|
`(("gobject-introspection" ,gobject-introspection)
|
gnu: Use 'gtk-doc/stable' in native-inputs of selected packages.
* gnu/packages/calendar.scm (libical),
gnu/packages/check.scm (umockdev),
gnu/packages/fontutils.scm (libraqm),
gnu/packages/freedesktop.scm (appstream, farstream, libglib-testing)
(udisks, libfprint, libportal),
gnu/packages/geo.scm (memphis, osm-gps-map),
gnu/packages/glib.scm (template-glib),
gnu/packages/gnome.scm (gupnp-igd, libcloudproviders, libgrss, seed)
(gtx, dee, zeitgeist, phodav, gssdp, gupnp, gupnp-dlna, gupnp-av, rygel)
(libnma, gdl, libnotify, vte-ng, dconf, libxklavier, libsoup, colord)
(geoclue, geocode-glib, amtk, grilo, gvfs, gusb, network-manager)
(network-manager-applet, gfbgraph, libunique, cheese, libhandy)
(gnome-latex, libgda),
gnu/packages/gstreamer.scm (orc),
gnu/packages/gtk.scm (at-spi2-core, goocanvas),
gnu/packages/language.scm (nimf),
gnu/packages/networking.scm (libnice),
gnu/packages/video.scm (schroedinger),
gnu/packages/virtualization.scm (libosinfo),
gnu/packages/webkit.scm (wpewebkit, webkitgtk),
gnu/packages/xml.scm (libxmlb)[native-inputs]: Replace 'gtk-doc' with
'gtk-doc/stable'.
2021-03-27 11:35:02 +00:00
|
|
|
("gtk-doc" ,gtk-doc/stable)
|
2020-05-22 11:06:27 +00:00
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("appstream-glib" ,appstream-glib)
|
|
|
|
("glib" ,glib)))
|
|
|
|
(synopsis "Library to help create and query binary XML blobs")
|
|
|
|
(description "Libxmlb library takes XML source, and converts it to a
|
|
|
|
structured binary representation with a deduplicated string table; where the
|
|
|
|
strings have the NULs included. This allows an application to mmap the binary
|
|
|
|
XML file, do an XPath query and return some strings without actually parsing
|
|
|
|
the entire document.")
|
|
|
|
(home-page "https://github.com/hughsie/libxmlb")
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
2013-01-16 22:25:03 +00:00
|
|
|
(define-public expat
|
|
|
|
(package
|
|
|
|
(name "expat")
|
2019-12-02 22:56:25 +00:00
|
|
|
(version "2.2.9")
|
2019-07-10 20:03:19 +00:00
|
|
|
(source (let ((dot->underscore (lambda (c) (if (char=? #\. c) #\_ c))))
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (list (string-append "mirror://sourceforge/expat/expat/"
|
2019-07-11 23:03:53 +00:00
|
|
|
version "/expat-" version ".tar.xz")
|
2019-07-10 20:03:19 +00:00
|
|
|
(string-append
|
|
|
|
"https://github.com/libexpat/libexpat/releases/download/R_"
|
|
|
|
(string-map dot->underscore version)
|
2019-07-11 23:03:53 +00:00
|
|
|
"/expat-" version ".tar.xz")))
|
2019-07-10 20:03:19 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2019-12-02 22:56:25 +00:00
|
|
|
"1960mmgbb4cm64n1p0nz3hrs1pw03hkrfcw8prmnn4622mdrd9hy")))))
|
2013-01-16 22:25:03 +00:00
|
|
|
(build-system gnu-build-system)
|
2019-12-04 04:22:24 +00:00
|
|
|
(arguments
|
|
|
|
'(#:configure-flags '("--disable-static")))
|
2017-11-01 22:30:37 +00:00
|
|
|
(home-page "https://libexpat.github.io/")
|
2014-09-13 13:50:30 +00:00
|
|
|
(synopsis "Stream-oriented XML parser library written in C")
|
2013-01-16 22:25:03 +00: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 14:17:28 +00:00
|
|
|
|
2017-06-24 19:05:01 +00:00
|
|
|
(define-public libebml
|
|
|
|
(package
|
|
|
|
(name "libebml")
|
2021-03-03 20:36:31 +00:00
|
|
|
(version "1.4.2")
|
2017-06-24 19:05:01 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2019-03-15 16:58:31 +00:00
|
|
|
(uri (string-append "https://dl.matroska.org/downloads/libebml/"
|
|
|
|
"libebml-" version ".tar.xz"))
|
2017-06-24 19:05:01 +00:00
|
|
|
(sha256
|
2021-03-03 20:36:31 +00:00
|
|
|
(base32 "1wmri5c94b02q2z32bqlpfs4vbw0n0c602321wigna2qw1y27is1"))))
|
2018-05-17 21:58:47 +00:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:configure-flags
|
|
|
|
(list "-DBUILD_SHARED_LIBS=YES")
|
|
|
|
#:tests? #f)) ; no test suite
|
2018-01-19 04:18:03 +00:00
|
|
|
(home-page "https://matroska-org.github.io/libebml/")
|
2018-01-20 19:56:50 +00:00
|
|
|
(synopsis "C++ library to parse EBML files")
|
|
|
|
(description "libebml is a C++ library to read and write @dfn{EBML}
|
|
|
|
(Extensible Binary Meta Language) files. EBML was designed to be a simplified
|
|
|
|
binary extension of XML for the purpose of storing and manipulating data in a
|
2017-06-24 19:05:01 +00:00
|
|
|
hierarchical form with variable field lengths.")
|
|
|
|
(license license:lgpl2.1)))
|
|
|
|
|
2013-01-19 14:17:28 +00:00
|
|
|
(define-public libxml2
|
|
|
|
(package
|
|
|
|
(name "libxml2")
|
2019-12-03 12:49:29 +00:00
|
|
|
(version "2.9.10")
|
2013-01-19 14:17:28 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "ftp://xmlsoft.org/libxml2/libxml2-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-12-03 12:49:29 +00:00
|
|
|
"07xynh8hcxb2yb1fs051xrgszjvj37wnxvxgsj10rzmqzy9y3zma"))))
|
2013-01-19 14:17:28 +00:00
|
|
|
(build-system gnu-build-system)
|
2018-07-28 13:40:21 +00:00
|
|
|
(outputs '("out" "static"))
|
|
|
|
(arguments
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
(add-after 'install 'move-static-libs
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let ((src (string-append (assoc-ref outputs "out") "/lib"))
|
|
|
|
(dst (string-append (assoc-ref outputs "static")
|
|
|
|
"/lib")))
|
|
|
|
(mkdir-p dst)
|
|
|
|
(for-each (lambda (ar)
|
|
|
|
(rename-file ar (string-append dst "/"
|
|
|
|
(basename ar))))
|
|
|
|
(find-files src "\\.a$"))
|
2018-12-11 22:27:09 +00:00
|
|
|
|
|
|
|
;; Remove reference to the static library from the .la
|
|
|
|
;; file such that Libtool does the right thing when both
|
|
|
|
;; the shared and static variants are available.
|
|
|
|
(substitute* (string-append src "/libxml2.la")
|
|
|
|
(("^old_library='libxml2.a'") "old_library=''"))
|
2018-07-28 13:40:21 +00:00
|
|
|
#t))))))
|
2013-01-19 14:17:28 +00:00
|
|
|
(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 04:46:59 +00:00
|
|
|
(synopsis "C parser for XML")
|
2018-07-28 13:47:24 +00:00
|
|
|
(inputs `(("xz" ,xz)))
|
2015-02-11 13:26:48 +00:00
|
|
|
(propagated-inputs `(("zlib" ,zlib))) ; libxml2.la says '-lz'.
|
2015-05-30 09:06:25 +00:00
|
|
|
(native-inputs `(("perl" ,perl)))
|
2014-12-27 22:54:23 +00:00
|
|
|
;; $XML_CATALOG_FILES lists 'catalog.xml' files found in under the 'xml'
|
|
|
|
;; sub-directory of any given package.
|
2015-01-03 17:48:16 +00:00
|
|
|
(native-search-paths (list (search-path-specification
|
|
|
|
(variable "XML_CATALOG_FILES")
|
|
|
|
(separator " ")
|
|
|
|
(files '("xml"))
|
|
|
|
(file-pattern "^catalog\\.xml$")
|
|
|
|
(file-type 'regular))))
|
2014-12-27 22:54:23 +00:00
|
|
|
(search-paths native-search-paths)
|
2013-01-19 14:17:28 +00:00
|
|
|
(description
|
2015-07-16 09:14:13 +00:00
|
|
|
"Libxml2 is the XML C parser and toolkit developed for the Gnome
|
|
|
|
project (but it is usable outside of the Gnome platform).")
|
2013-01-19 14:17:28 +00:00
|
|
|
(license license:x11)))
|
2013-02-01 22:23:08 +00:00
|
|
|
|
2021-03-28 08:40:19 +00:00
|
|
|
(define-public libxlsxwriter
|
|
|
|
(package
|
|
|
|
(name "libxlsxwriter")
|
2021-04-07 21:38:53 +00:00
|
|
|
(version "1.0.1")
|
2021-03-28 08:40:19 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/jmcnamara/libxlsxwriter")
|
|
|
|
(commit (string-append "RELEASE_" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
2021-04-07 21:38:53 +00:00
|
|
|
(base32 "0dsqv4qdd582fhwj6m80iz50gkyw4m8n9h4mkd2871csa03sbilf"))
|
2021-03-28 08:40:19 +00:00
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
;; Remove bundled minizip source
|
|
|
|
'(begin
|
|
|
|
(delete-file-recursively "third_party/minizip")
|
|
|
|
#t))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:test-target "test"
|
|
|
|
#:make-flags
|
|
|
|
(list (string-append "CC=" ,(cc-for-target))
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
"USE_STANDARD_TMPFILE=1"
|
|
|
|
"USE_SYSTEM_MINIZIP=1")
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(delete 'configure)))) ; no configure script
|
|
|
|
(native-inputs
|
|
|
|
`(("python-pytest" ,python-pytest)))
|
|
|
|
(inputs
|
|
|
|
`(("minizip" ,minizip)))
|
|
|
|
(home-page "https://github.com/jmcnamara/libxlsxwriter")
|
|
|
|
(synopsis "C library for creating Excel XLSX files")
|
|
|
|
(description
|
|
|
|
"Libxlsxwriter is a C library that can be used to write text, numbers,
|
|
|
|
formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.")
|
|
|
|
(license (list license:bsd-2
|
|
|
|
license:public-domain)))) ; third_party/md5
|
|
|
|
|
2020-08-04 13:09:36 +00:00
|
|
|
;; This is the latest stable release.
|
|
|
|
(define-public libxmlplusplus
|
|
|
|
(package
|
|
|
|
(name "libxmlplusplus")
|
|
|
|
(version "3.2.0")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Don't append '.git' to GitHub uris.
* gnu/packages/admin.scm (nmrpflash)[source]: Remove '.git' from URI.
* gnu/packages/aidc.scm (zxing-cpp),
* gnu/packages/assembly.scm (mbuild),
* gnu/packages/audio.scm (opensles, wildmidi, tinyalsa),
* gnu/packages/browser-extensions.scm (ublock-origin-chromium),
* gnu/packages/check.scm (mutest),
* gnu/packages/compression.scm (unshield),
* gnu/packages/coq.scm (subset),
* gnu/packages/dictionaries.scm (translate-shell),
* gnu/packages/disk.scm (memkind),
* gnu/packages/documentation.scm (latex2html),
* gnu/packages/emacs-xyz.scm (emacs-chronometrist,
emacs-flycheck-ledger, emacs-counsel-notmuch, emacs-spaceline,
emacs-org-generate),
* gnu/packages/embedded.scm (ebusd, ebusd-configuration),
* gnu/packages/enchant.scm (nuspell),
* gnu/packages/fontutils.scm (woff2),
* gnu/packages/geo.scm (memphis),
* gnu/packages/gimp.scm (mrg),
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-appindicator),
* gnu/packages/gnome.scm (parlatype),
* gnu/packages/golang.scm (go-github-com-tv42-httpunix,
go-github-com-ayufan-golang-kardianos-service),
* gnu/packages/graphics.scm (eglexternalplatform, egl-wayland, mmm,
directfb, flux),
* gnu/packages/gstreamer.scm (openni2, ccextractor, libvisual,
graphene),
* gnu/packages/guile-xyz.scm (guile-srfi-180, guile-torrent),
* gnu/packages/image.scm (openjpeg-data),
* gnu/packages/java.scm (javacc),
* gnu/packages/language.scm (liblouis, liblouisutdml),
* gnu/packages/linux.scm (pamela, ttyebus),
* gnu/packages/lxqt.scm (lxqt-connman-applet),
* gnu/packages/mail.scm (libetpan),
* gnu/packages/man.scm (ronn),
* gnu/packages/music.scm (tascam-gtk, artyfx),
* gnu/packages/networking.scm (srt, lksctp-tools, nng, nanomsg),
* gnu/packages/python-crypto.scm (pure-python-otr),
* gnu/packages/qt.scm (qtspell),
* gnu/packages/raspberry-pi.scm (raspi-gpio, raspi-open-firmware),
* gnu/packages/rdp.scm (freerdp),
* gnu/packages/ruby.scm (ruby-prawn-templates, ruby-treetop, ruby-gimme,
ruby-standard, ruby-rubocop-ast, ruby-rexml, ruby-range-compressor,
ruby-regexp-property-values, ruby-regexp-parser, ruby-rubocop,
ruby-pdf-reader, ruby-pdf-inspector, ruby-prawn),
* gnu/packages/syncthing.scm (syncthing-gtk),
* gnu/packages/video.scm (svt-hevc, mediasdk, libvideogfx, libde265,
tslib),
* gnu/packages/xml.scm (libxmlb, libxmlplusplus)[source]: Same.
2020-11-19 18:18:54 +00:00
|
|
|
(url "https://github.com/libxmlplusplus/libxmlplusplus")
|
2020-08-04 13:09:36 +00:00
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0wjz591rjlgbah7dcq8i0yn0zw9d62b7g6r0pppx81ic0cx8n8ga"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'fix-documentation
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
|
|
|
|
"/xml/dtd/docbook"))
|
|
|
|
(xsldoc (string-append (assoc-ref inputs "docbook-xsl")
|
|
|
|
"/xml/xsl/docbook-xsl-"
|
|
|
|
,(package-version docbook-xsl))))
|
|
|
|
(substitute* '("examples/dom_xpath/example.xml"
|
|
|
|
"docs/manual/libxml++_without_code.xml")
|
|
|
|
(("http://.*/docbookx\\.dtd")
|
|
|
|
(string-append xmldoc "/docbookx.dtd")))
|
|
|
|
(setenv "SGML_CATALOG_FILES"
|
|
|
|
(string-append xmldoc "/catalog.xml"))
|
|
|
|
(substitute* "docs/manual/docbook-customisation.xsl"
|
|
|
|
(("http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl")
|
|
|
|
(string-append xsldoc "/html/chunk.xsl"))))
|
|
|
|
#t)))))
|
|
|
|
(propagated-inputs
|
|
|
|
`(("libxml2" ,libxml2)))
|
|
|
|
(inputs
|
|
|
|
`(("glibmm" ,glibmm)))
|
|
|
|
(native-inputs
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
("automake" ,automake)
|
|
|
|
("doxygen" ,doxygen)
|
|
|
|
("docbook-xml" ,docbook-xml)
|
|
|
|
("docbook-xsl" ,docbook-xsl)
|
|
|
|
("graphviz" ,graphviz) ; for dot
|
|
|
|
("libtool" ,libtool)
|
|
|
|
("libxslt" ,libxslt)
|
|
|
|
("mm-common" ,mm-common)
|
|
|
|
("perl" ,perl)
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
(home-page "https://github.com/libxmlplusplus/libxmlplusplus/")
|
|
|
|
(synopsis "C++ bindings for libxml2")
|
|
|
|
(description
|
|
|
|
"libxml++ (a.k.a. libxmlplusplus) provides a C++ interface to XML files.
|
|
|
|
It uses libxml2 to access the XML files.")
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
2020-08-04 13:10:09 +00:00
|
|
|
;; This is the last release providing the 2.6 API, hence the name.
|
|
|
|
;; This is needed by tascam-gtk
|
|
|
|
(define-public libxmlplusplus-2.6
|
|
|
|
(package
|
|
|
|
(inherit libxmlplusplus)
|
|
|
|
(name "libxmlplusplus")
|
|
|
|
(version "2.40.1")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Don't append '.git' to GitHub uris.
* gnu/packages/admin.scm (nmrpflash)[source]: Remove '.git' from URI.
* gnu/packages/aidc.scm (zxing-cpp),
* gnu/packages/assembly.scm (mbuild),
* gnu/packages/audio.scm (opensles, wildmidi, tinyalsa),
* gnu/packages/browser-extensions.scm (ublock-origin-chromium),
* gnu/packages/check.scm (mutest),
* gnu/packages/compression.scm (unshield),
* gnu/packages/coq.scm (subset),
* gnu/packages/dictionaries.scm (translate-shell),
* gnu/packages/disk.scm (memkind),
* gnu/packages/documentation.scm (latex2html),
* gnu/packages/emacs-xyz.scm (emacs-chronometrist,
emacs-flycheck-ledger, emacs-counsel-notmuch, emacs-spaceline,
emacs-org-generate),
* gnu/packages/embedded.scm (ebusd, ebusd-configuration),
* gnu/packages/enchant.scm (nuspell),
* gnu/packages/fontutils.scm (woff2),
* gnu/packages/geo.scm (memphis),
* gnu/packages/gimp.scm (mrg),
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-appindicator),
* gnu/packages/gnome.scm (parlatype),
* gnu/packages/golang.scm (go-github-com-tv42-httpunix,
go-github-com-ayufan-golang-kardianos-service),
* gnu/packages/graphics.scm (eglexternalplatform, egl-wayland, mmm,
directfb, flux),
* gnu/packages/gstreamer.scm (openni2, ccextractor, libvisual,
graphene),
* gnu/packages/guile-xyz.scm (guile-srfi-180, guile-torrent),
* gnu/packages/image.scm (openjpeg-data),
* gnu/packages/java.scm (javacc),
* gnu/packages/language.scm (liblouis, liblouisutdml),
* gnu/packages/linux.scm (pamela, ttyebus),
* gnu/packages/lxqt.scm (lxqt-connman-applet),
* gnu/packages/mail.scm (libetpan),
* gnu/packages/man.scm (ronn),
* gnu/packages/music.scm (tascam-gtk, artyfx),
* gnu/packages/networking.scm (srt, lksctp-tools, nng, nanomsg),
* gnu/packages/python-crypto.scm (pure-python-otr),
* gnu/packages/qt.scm (qtspell),
* gnu/packages/raspberry-pi.scm (raspi-gpio, raspi-open-firmware),
* gnu/packages/rdp.scm (freerdp),
* gnu/packages/ruby.scm (ruby-prawn-templates, ruby-treetop, ruby-gimme,
ruby-standard, ruby-rubocop-ast, ruby-rexml, ruby-range-compressor,
ruby-regexp-property-values, ruby-regexp-parser, ruby-rubocop,
ruby-pdf-reader, ruby-pdf-inspector, ruby-prawn),
* gnu/packages/syncthing.scm (syncthing-gtk),
* gnu/packages/video.scm (svt-hevc, mediasdk, libvideogfx, libde265,
tslib),
* gnu/packages/xml.scm (libxmlb, libxmlplusplus)[source]: Same.
2020-11-19 18:18:54 +00:00
|
|
|
(url "https://github.com/libxmlplusplus/libxmlplusplus")
|
2020-08-04 13:10:09 +00:00
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0gbfi4l88w828gmyc9br11l003ylyi4vigp5d1kfgsn0k4cig3y9"))))))
|
|
|
|
|
2015-05-30 09:06:25 +00:00
|
|
|
(define-public python-libxml2
|
2018-01-13 17:55:42 +00:00
|
|
|
(package/inherit libxml2
|
2015-05-30 09:06:25 +00:00
|
|
|
(name "python-libxml2")
|
2019-12-04 22:33:09 +00:00
|
|
|
(source (origin
|
|
|
|
(inherit (package-source libxml2))
|
|
|
|
(patches (cons (search-patch "python-libxml2-utf8.patch")
|
|
|
|
(origin-patches (package-source libxml2))))))
|
2015-05-30 09:06:25 +00:00
|
|
|
(build-system python-build-system)
|
2018-08-08 12:55:40 +00:00
|
|
|
(outputs '("out"))
|
2015-05-30 09:06:25 +00:00
|
|
|
(arguments
|
|
|
|
`(;; XXX: Tests are specified in 'Makefile.am', but not in 'setup.py'.
|
|
|
|
#:tests? #f
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before
|
|
|
|
'build 'configure
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(chdir "python")
|
|
|
|
(let ((glibc (assoc-ref inputs ,(if (%current-target-system)
|
|
|
|
"cross-libc" "libc")))
|
|
|
|
(libxml2 (assoc-ref inputs "libxml2")))
|
|
|
|
(substitute* "setup.py"
|
|
|
|
;; For 'libxml2/libxml/tree.h'.
|
|
|
|
(("ROOT = r'/usr'")
|
|
|
|
(format #f "ROOT = r'~a'" libxml2))
|
|
|
|
;; For 'iconv.h'.
|
|
|
|
(("/opt/include")
|
2018-06-28 01:13:52 +00:00
|
|
|
(string-append glibc "/include"))))
|
|
|
|
#t)))))
|
2015-05-30 09:06:25 +00:00
|
|
|
(inputs `(("libxml2" ,libxml2)))
|
|
|
|
(synopsis "Python bindings for the libxml2 library")))
|
|
|
|
|
|
|
|
(define-public python2-libxml2
|
|
|
|
(package-with-python2 python-libxml2))
|
|
|
|
|
2013-02-01 22:23:08 +00:00
|
|
|
(define-public libxslt
|
|
|
|
(package
|
|
|
|
(name "libxslt")
|
2019-12-02 21:42:44 +00:00
|
|
|
(version "1.1.34")
|
2013-02-01 22:23:08 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "ftp://xmlsoft.org/libxslt/libxslt-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-12-02 21:42:44 +00:00
|
|
|
"0zrzz6kjdyavspzik6fbkpvfpbd25r2qg6py5nnjaabrsr3bvccq"))
|
2016-06-08 00:42:16 +00:00
|
|
|
(patches (search-patches "libxslt-generated-ids.patch"))))
|
2013-02-01 22:23:08 +00:00
|
|
|
(build-system gnu-build-system)
|
2019-12-02 21:42:44 +00:00
|
|
|
(arguments
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
(add-before 'check 'disable-fuzz-tests
|
|
|
|
(lambda _
|
|
|
|
;; Disable libFuzzer tests, because they require
|
|
|
|
;; instrumentation builds of libxml2 and libxslt.
|
|
|
|
(substitute* "tests/Makefile"
|
|
|
|
(("exslt plugins fuzz")
|
|
|
|
"exslt plugins"))
|
|
|
|
#t)))))
|
2013-02-01 22:23:08 +00:00
|
|
|
(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 04:46:59 +00:00
|
|
|
(synopsis "C library for applying XSLT stylesheets to XML documents")
|
2013-02-01 22:23:08 +00:00
|
|
|
(inputs `(("libgcrypt" ,libgcrypt)
|
|
|
|
("libxml2" ,libxml2)
|
2015-10-07 19:27:36 +00:00
|
|
|
("python" ,python-minimal-wrapper)
|
2019-12-16 12:39:05 +00:00
|
|
|
("zlib" ,zlib)
|
|
|
|
("xz" ,xz)))
|
2019-06-26 16:31:45 +00:00
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2013-02-01 22:23:08 +00: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 04:46:59 +00:00
|
|
|
"Libxslt is an XSLT C library developed for the GNOME project. It is
|
2013-02-01 22:23:08 +00:00
|
|
|
based on libxml for XML parsing, tree manipulation and XPath support.")
|
|
|
|
(license license:x11)))
|
2013-03-03 23:46:44 +00:00
|
|
|
|
2018-07-02 15:51:36 +00:00
|
|
|
(define-public openjade
|
|
|
|
(package
|
|
|
|
(name "openjade")
|
|
|
|
(version "1.3.2")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://sourceforge/openjade/openjade/"
|
|
|
|
version "/" name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1l92sfvx1f0wmkbvzv1385y1gb3hh010xksi1iyviyclrjb7jb8x"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:configure-flags
|
|
|
|
(list (string-append "--enable-spincludedir="
|
|
|
|
(assoc-ref %build-inputs "opensp")
|
|
|
|
"/include/OpenSP")
|
|
|
|
(string-append "--enable-splibdir="
|
|
|
|
(assoc-ref %build-inputs "opensp") "/lib")
|
|
|
|
;; Workaround segfaults in OpenJade (see:
|
|
|
|
;; https://bugs.launchpad.net/ubuntu/+source/openjade/+bug/1869734).
|
|
|
|
"CXXFLAGS=-O0")
|
|
|
|
#:parallel-build? #f ;build fails otherwise
|
|
|
|
;; The test suite fails with diff errors between the actual and
|
|
|
|
;; expected results, like: (char<? #\a #\A) returning #t rather than
|
|
|
|
;; #f (see: https://sourceforge.net/p/openjade/bugs/150/).
|
|
|
|
#:tests? #f
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'replace-deprecated-getopt
|
|
|
|
;; See: https://sourceforge.net/p/openjade/bugs/140/.
|
|
|
|
(lambda _
|
|
|
|
(substitute* "msggen.pl"
|
|
|
|
(("use POSIX;") "use POSIX;\nuse Getopt::Std;")
|
|
|
|
(("do 'getopts.pl';") "")
|
|
|
|
(("&Getopts") "getopts"))
|
|
|
|
#t))
|
|
|
|
(add-after 'replace-deprecated-getopt 'fix-locale-lookup
|
|
|
|
;; See: https://sourceforge.net/p/openjade/bugs/149/.
|
|
|
|
(lambda _
|
|
|
|
(substitute* "testsuite/expr-lang.dsl"
|
|
|
|
(("\\(language \"EN\" \"US\"\\)")
|
|
|
|
"(language \"EN\" \"US.UTF-8\")"))
|
|
|
|
#t))
|
|
|
|
(add-after 'install 'install-doc
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
;; TODO: Generate the manpage from source, with
|
|
|
|
;; openjade-bootstrap and jadetex. See the file docsrc/Makefile.
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(man1 (string-append out "/share/man/man1")))
|
|
|
|
(install-file "docsrc/openjade.1" man1)
|
|
|
|
#t)))
|
|
|
|
(add-after 'install-doc 'install-dtds
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(dtd (string-append out "/sgml/dtd")))
|
|
|
|
(mkdir-p dtd)
|
|
|
|
(copy-recursively "dsssl" dtd)
|
|
|
|
#t)))
|
|
|
|
(delete 'check)
|
|
|
|
(add-after 'install 'check
|
|
|
|
(lambda* (#:key tests? out #:allow-other-keys)
|
|
|
|
(if tests?
|
|
|
|
(with-directory-excursion "testsuite"
|
|
|
|
(invoke "make"))
|
|
|
|
(format #t "test suite not run~%"))
|
|
|
|
#t)))))
|
|
|
|
(inputs
|
|
|
|
`(("opensp" ,opensp)))
|
|
|
|
(native-inputs
|
|
|
|
`(("perl" ,perl)))
|
|
|
|
(home-page "http://openjade.sourceforge.net/")
|
|
|
|
(synopsis "ISO/IEC 10179:1996 standard DSSSL language implementation")
|
|
|
|
(description "OpenJade is an implementation of Document Style Semantics
|
|
|
|
and Specification Language (DSSSL), a style language to format SGML or XML
|
|
|
|
documents. It contains backends for various formats such as RTF, HTML, TeX,
|
|
|
|
MIF, SGML2SGML, and FOT.")
|
|
|
|
(license (license:non-copyleft "file://COPYING"
|
|
|
|
"See COPYING in the distribution."))))
|
|
|
|
|
2016-07-12 05:19:15 +00:00
|
|
|
(define-public perl-graph-readwrite
|
|
|
|
(package
|
|
|
|
(name "perl-graph-readwrite")
|
2016-11-30 10:29:09 +00:00
|
|
|
(version "2.09")
|
2016-07-12 05:19:15 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"mirror://cpan/authors/id/N/NE/NEILB/Graph-ReadWrite-"
|
|
|
|
version
|
|
|
|
".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2016-11-30 10:29:09 +00:00
|
|
|
"0jlsg64pmy6ka5q5gy851nnyfgjzvhyxc576bhns3vi2x5ng07mh"))))
|
2016-07-12 05:19:15 +00:00
|
|
|
(build-system perl-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("perl-graph" ,perl-graph)
|
|
|
|
("perl-parse-yapp" ,perl-parse-yapp)
|
|
|
|
("perl-xml-parser" ,perl-xml-parser)
|
|
|
|
("perl-xml-writer" ,perl-xml-writer)))
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/Graph-ReadWrite")
|
2016-07-12 05:19:15 +00:00
|
|
|
(synopsis "Modules for reading and writing directed graphs")
|
|
|
|
(description "This is a collection of perl classes for reading and writing
|
|
|
|
directed graphs in a variety of file formats. The graphs are represented in
|
|
|
|
Perl using Jarkko Hietaniemi's @code{Graph} classes.
|
|
|
|
|
|
|
|
There are two base classes. @code{Graph::Reader} is the base class for classes
|
|
|
|
which read a graph file and create an instance of the Graph class.
|
|
|
|
@code{Graph::Writer} is the base class for classes which take an instance of
|
|
|
|
the @code{Graph} class and write it out in a specific file format.")
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)))
|
2016-07-12 05:19:15 +00:00
|
|
|
|
2016-08-14 14:50:00 +00:00
|
|
|
(define-public perl-xml-atom
|
|
|
|
(package
|
|
|
|
(name "perl-xml-atom")
|
2017-08-27 12:52:46 +00:00
|
|
|
(version "0.42")
|
2016-08-14 14:50:00 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
|
|
|
|
"XML-Atom-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2017-08-27 12:52:46 +00:00
|
|
|
"1wa8kfy1w4mg7kzxim4whyprkn48a2il6fap0b947zywknw4c6y6"))))
|
2016-08-14 14:50:00 +00:00
|
|
|
(build-system perl-build-system)
|
2017-08-27 12:52:46 +00:00
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'check 'set-perl-search-path
|
|
|
|
(lambda _
|
|
|
|
(setenv "PERL5LIB"
|
|
|
|
(string-append (getcwd) ":"
|
|
|
|
(getenv "PERL5LIB")))
|
|
|
|
#t)))))
|
2016-08-14 14:50:00 +00:00
|
|
|
(native-inputs
|
2018-06-14 19:36:14 +00:00
|
|
|
;; TODO package: perl-datetime-format-atom
|
|
|
|
`(("perl-html-tagset" ,perl-html-tagset)
|
2017-08-27 12:52:46 +00:00
|
|
|
("perl-module-build-tiny" ,perl-module-build-tiny)
|
2018-06-14 19:36:14 +00:00
|
|
|
("perl-module-install" ,perl-module-install)))
|
|
|
|
(propagated-inputs
|
2016-08-14 14:50:00 +00:00
|
|
|
`(("perl-class-data-inheritable" ,perl-class-data-inheritable)
|
|
|
|
("perl-datetime" ,perl-datetime)
|
|
|
|
("perl-datetime-timezone" ,perl-datetime-timezone)
|
|
|
|
("perl-digest-sha1" ,perl-digest-sha1)
|
|
|
|
("perl-libwww" ,perl-libwww)
|
|
|
|
("perl-uri" ,perl-uri)
|
|
|
|
("perl-xml-libxml" ,perl-xml-libxml)
|
|
|
|
("perl-xml-xpath" ,perl-xml-xpath)))
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-Atom")
|
2016-08-14 14:50:00 +00:00
|
|
|
(synopsis "Atom feed and API implementation")
|
|
|
|
(description
|
|
|
|
"Atom is a syndication, API, and archiving format for weblogs and other data.
|
|
|
|
@code{XML::Atom} implements the feed format as well as a client for the API.")
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)))
|
2016-08-14 14:50:00 +00:00
|
|
|
|
2016-12-09 20:17:02 +00:00
|
|
|
(define-public perl-xml-descent
|
|
|
|
(package
|
|
|
|
(name "perl-xml-descent")
|
|
|
|
(version "1.04")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/A/AN/ANDYA/"
|
|
|
|
"XML-Descent-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0l5xmw2hd95ypppz3lyvp4sn02ccsikzjwacli3ydxfdz1bbh4d7"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("perl-module-build" ,perl-module-build)))
|
|
|
|
(propagated-inputs
|
|
|
|
`(("perl-test-differences" ,perl-test-differences)
|
|
|
|
("perl-xml-tokeparser" ,perl-xml-tokeparser)))
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-Descent")
|
2016-12-09 20:17:02 +00:00
|
|
|
(synopsis "Recursive descent XML parsing")
|
|
|
|
(description
|
|
|
|
"The conventional models for parsing XML are either @dfn{DOM}
|
|
|
|
(a data structure representing the entire document tree is created) or
|
|
|
|
@dfn{SAX} (callbacks are issued for each element in the XML).
|
|
|
|
|
|
|
|
XML grammar is recursive - so it's nice to be able to write recursive
|
|
|
|
parsers for it. @code{XML::Descent} allows such parsers to be created.")
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)))
|
2016-12-09 20:17:02 +00:00
|
|
|
|
2013-03-03 23:46:44 +00:00
|
|
|
(define-public perl-xml-parser
|
|
|
|
(package
|
|
|
|
(name "perl-xml-parser")
|
2020-03-17 10:20:02 +00:00
|
|
|
(version "2.46")
|
2013-03-03 23:46:44 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
2013-03-10 11:46:24 +00:00
|
|
|
"mirror://cpan/authors/id/T/TO/TODDR/XML-Parser-"
|
2013-03-03 23:46:44 +00:00
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2020-03-17 10:20:02 +00:00
|
|
|
"0pai3ik47q7rgnix9644c673fwydz52gqkxr9kxwq765j4j36cfk"))))
|
2013-03-03 23:46:44 +00:00
|
|
|
(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)))
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)
|
2013-03-03 23:46:44 +00:00
|
|
|
(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.")
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-Parser")))
|
2013-08-31 11:47:46 +00:00
|
|
|
|
2016-12-09 20:16:18 +00:00
|
|
|
(define-public perl-xml-tokeparser
|
|
|
|
(package
|
|
|
|
(name "perl-xml-tokeparser")
|
|
|
|
(version "0.05")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/P/PO/PODMASTER/"
|
|
|
|
"XML-TokeParser-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1hnpwb3lh6cbgwvjjgqzcp6jm4mp612qn6ili38adc9nhkwv8fc5"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(propagated-inputs `(("perl-xml-parser" ,perl-xml-parser)))
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-TokeParser")
|
2016-12-09 20:16:18 +00:00
|
|
|
(synopsis "Simplified interface to XML::Parser")
|
|
|
|
(description
|
|
|
|
"@code{XML::TokeParser} provides a procedural (\"pull mode\") interface
|
|
|
|
to @code{XML::Parser} in much the same way that Gisle Aas'
|
|
|
|
@code{HTML::TokeParser} provides a procedural interface to @code{HTML::Parser}.
|
|
|
|
@code{XML::TokeParser} splits its XML input up into \"tokens\", each
|
|
|
|
corresponding to an @code{XML::Parser} event.")
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)))
|
2016-12-09 20:16:18 +00:00
|
|
|
|
2013-12-07 20:28:54 +00:00
|
|
|
(define-public perl-libxml
|
2013-12-06 21:50:12 +00:00
|
|
|
(package
|
2013-12-07 20:28:54 +00:00
|
|
|
(name "perl-libxml")
|
2013-12-06 21:50:12 +00: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-09 23:13:08 +00:00
|
|
|
(propagated-inputs
|
2013-12-06 21:50:12 +00:00
|
|
|
`(("perl-xml-parser" ,perl-xml-parser)))
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)
|
2018-08-11 14:07:09 +00:00
|
|
|
(synopsis "Perl modules for working with XML")
|
2013-12-06 21:50:12 +00:00
|
|
|
(description
|
2018-08-11 14:07:09 +00:00
|
|
|
"libxml-perl is a collection of smaller Perl modules, scripts, and
|
|
|
|
documents for working with XML in Perl. libxml-perl software works in
|
|
|
|
combination with @code{XML::Parser}, PerlSAX, @code{XML::DOM},
|
|
|
|
@code{XML::Grove}, and others.")
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/libxml-perl")))
|
2013-12-06 21:50:12 +00:00
|
|
|
|
2015-04-07 22:00:13 +00:00
|
|
|
(define-public perl-xml-libxml
|
|
|
|
(package
|
|
|
|
(name "perl-xml-libxml")
|
2019-02-14 02:25:44 +00:00
|
|
|
(version "2.0134")
|
2015-04-07 22:00:13 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/S/SH/SHLOMIF/"
|
|
|
|
"XML-LibXML-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-02-14 02:25:44 +00:00
|
|
|
"1ks69xymv6zkj7hvaymjvb78ch81abri7kg4zrwxhdfsqb8a9g7h"))))
|
2015-04-07 22:00:13 +00:00
|
|
|
(build-system perl-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("perl-xml-namespacesupport" ,perl-xml-namespacesupport)
|
|
|
|
("perl-xml-sax" ,perl-xml-sax)))
|
|
|
|
(inputs
|
|
|
|
`(("libxml2" ,libxml2)))
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-LibXML")
|
2015-04-07 22:00:13 +00:00
|
|
|
(synopsis "Perl interface to libxml2")
|
|
|
|
(description "This module implements a Perl interface to the libxml2
|
2016-06-14 11:29:03 +00:00
|
|
|
library which provides interfaces for parsing and manipulating XML files. This
|
2015-04-07 22:00:13 +00:00
|
|
|
module allows Perl programmers to make use of the highly capable validating
|
|
|
|
XML parser and the high performance DOM implementation.")
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)))
|
2015-04-07 22:00:13 +00:00
|
|
|
|
2015-12-22 15:13:21 +00:00
|
|
|
(define-public perl-xml-libxml-simple
|
|
|
|
(package
|
|
|
|
(name "perl-xml-libxml-simple")
|
2018-06-14 23:22:31 +00:00
|
|
|
(version "0.99")
|
2015-12-22 15:13:21 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MA/MARKOV/"
|
|
|
|
"XML-LibXML-Simple-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2018-06-14 23:22:31 +00:00
|
|
|
"0i4ybiqdnvnbfxqslw2y392kvy7i752dl8n99bqiqv5kzk4lbzhl"))))
|
2015-12-22 15:13:21 +00:00
|
|
|
(build-system perl-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("perl-file-slurp-tiny" ,perl-file-slurp-tiny)
|
|
|
|
("perl-xml-libxml" ,perl-xml-libxml)))
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-LibXML-Simple")
|
2015-12-22 15:13:21 +00:00
|
|
|
(synopsis "XML::LibXML based XML::Simple clone")
|
|
|
|
(description
|
|
|
|
"This package provides the same API as @code{XML::Simple} but is based on
|
|
|
|
@code{XML::LibXML}.")
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)))
|
2015-12-22 15:13:21 +00:00
|
|
|
|
2016-11-23 21:13:28 +00:00
|
|
|
(define-public perl-xml-libxslt
|
|
|
|
(package
|
|
|
|
(name "perl-xml-libxslt")
|
2018-02-25 14:48:36 +00:00
|
|
|
(version "1.96")
|
2016-11-23 21:13:28 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/S/SH/SHLOMIF/"
|
|
|
|
"XML-LibXSLT-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2018-02-25 14:48:36 +00:00
|
|
|
"0wyl8klgr65j8y8fzgwz9jlvfjwvxazna8j3dg9gksd2v973fpia"))))
|
2016-11-23 21:13:28 +00:00
|
|
|
(build-system perl-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("libxslt" ,libxslt)))
|
|
|
|
(propagated-inputs
|
|
|
|
`(("perl-xml-libxml" ,perl-xml-libxml)))
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-LibXSLT")
|
2016-11-23 21:13:28 +00:00
|
|
|
(synopsis "Perl bindings to GNOME libxslt library")
|
|
|
|
(description "This Perl module is an interface to the GNOME project's
|
|
|
|
libxslt library.")
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)))
|
2016-11-23 21:13:28 +00:00
|
|
|
|
2015-04-07 21:38:15 +00:00
|
|
|
(define-public perl-xml-namespacesupport
|
|
|
|
(package
|
|
|
|
(name "perl-xml-namespacesupport")
|
2017-07-14 15:18:16 +00:00
|
|
|
(version "1.12")
|
2015-04-07 21:38:15 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/P/PE/PERIGRIN/"
|
|
|
|
"XML-NamespaceSupport-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2017-07-14 15:18:16 +00:00
|
|
|
"1vz5pbi4lm5fhq2slrs2hlp6bnk29863abgjlcx43l4dky2rbsa7"))))
|
2015-04-07 21:38:15 +00:00
|
|
|
(build-system perl-build-system)
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-NamespaceSupport")
|
2015-04-07 21:38:15 +00:00
|
|
|
(synopsis "XML namespace support class")
|
|
|
|
(description "This module offers a simple to process namespaced XML
|
|
|
|
names (unames) from within any application that may need them. It also helps
|
|
|
|
maintain a prefix to namespace URI map, and provides a number of basic
|
|
|
|
checks.")
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)))
|
2015-04-07 21:38:15 +00:00
|
|
|
|
2016-08-14 15:14:05 +00:00
|
|
|
(define-public perl-xml-rss
|
|
|
|
(package
|
|
|
|
(name "perl-xml-rss")
|
2019-12-01 00:10:11 +00:00
|
|
|
(version "1.61")
|
2016-08-14 15:14:05 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/S/SH/SHLOMIF/"
|
|
|
|
"XML-RSS-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-12-01 00:10:11 +00:00
|
|
|
"03f983l2dnkvcw6iyg1s0xmv5wn793d3kvqlshmhm01ibp7ffvzs"))))
|
2016-08-14 15:14:05 +00:00
|
|
|
(build-system perl-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("perl-module-build" ,perl-module-build)
|
|
|
|
("perl-test-manifest" ,perl-test-manifest)
|
|
|
|
("perl-test-differences" ,perl-test-differences)
|
|
|
|
("perl-test-pod" ,perl-test-pod)
|
|
|
|
("perl-test-pod-coverage" ,perl-test-pod-coverage)))
|
|
|
|
;; XXX: The test which uses this modules does not run, even when it is included
|
|
|
|
;; it is ignored. ("perl-test-trailingspace" ,perl-test-trailingspace)
|
|
|
|
(inputs
|
|
|
|
`(("perl-datetime" ,perl-datetime)
|
|
|
|
("perl-datetime-format-mail" ,perl-datetime-format-mail)
|
|
|
|
("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
|
|
|
|
("perl-html-parser" ,perl-html-parser)
|
|
|
|
("perl-xml-parser" ,perl-xml-parser)))
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-RSS")
|
2016-08-14 15:14:05 +00:00
|
|
|
(synopsis "Creates and updates RSS files")
|
|
|
|
(description
|
|
|
|
"This module provides a basic framework for creating and maintaining
|
|
|
|
RDF Site Summary (RSS) files. This distribution also contains many examples
|
|
|
|
that allow you to generate HTML from an RSS, convert between 0.9, 0.91, and
|
|
|
|
1.0 version, and more.")
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)))
|
2016-08-14 15:14:05 +00:00
|
|
|
|
2015-04-07 21:54:44 +00:00
|
|
|
(define-public perl-xml-sax
|
|
|
|
(package
|
|
|
|
(name "perl-xml-sax")
|
2019-06-19 15:16:58 +00:00
|
|
|
(version "1.02")
|
2015-04-07 21:54:44 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/G/GR/GRANTM/"
|
|
|
|
"XML-SAX-" version ".tar.gz"))
|
|
|
|
(sha256
|
2019-06-19 15:16:58 +00:00
|
|
|
(base32 "0am13vnv8qsjafr5ljakwnkhlwpk15sga02z8mxsg9is0j3w61j5"))))
|
2015-04-07 21:54:44 +00:00
|
|
|
(build-system perl-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("perl-xml-namespacesupport" ,perl-xml-namespacesupport)
|
|
|
|
("perl-xml-sax-base" ,perl-xml-sax-base)))
|
|
|
|
(arguments
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
(add-before
|
2015-04-20 02:37:28 +00:00
|
|
|
'install 'augment-path
|
2015-04-07 21:54:44 +00:00
|
|
|
;; The install target tries to load the newly-installed
|
|
|
|
;; XML::SAX module, but can't find it, so we need to tell
|
|
|
|
;; perl where to look.
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(setenv "PERL5LIB"
|
|
|
|
(string-append (getenv "PERL5LIB") ":"
|
|
|
|
(assoc-ref outputs "out")
|
2018-06-28 01:13:52 +00:00
|
|
|
"/lib/perl5/site_perl"))
|
|
|
|
#t)))))
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-SAX")
|
2015-04-07 21:54:44 +00:00
|
|
|
(synopsis "Perl API for XML")
|
|
|
|
(description "XML::SAX consists of several framework classes for using and
|
|
|
|
building Perl SAX2 XML parsers, filters, and drivers.")
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)))
|
2015-04-07 21:54:44 +00:00
|
|
|
|
2015-04-07 21:44:31 +00:00
|
|
|
(define-public perl-xml-sax-base
|
|
|
|
(package
|
|
|
|
(name "perl-xml-sax-base")
|
2018-02-27 12:58:20 +00:00
|
|
|
(version "1.09")
|
2015-04-07 21:44:31 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/G/GR/GRANTM/"
|
|
|
|
"XML-SAX-Base-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2018-02-27 12:58:20 +00:00
|
|
|
"1l1ai9g1z11ja7mvnfl5mj346r13jyckbg9qlw6c2izglidkbjv6"))))
|
2015-04-07 21:44:31 +00:00
|
|
|
(build-system perl-build-system)
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-SAX-Base")
|
2015-04-07 21:44:31 +00:00
|
|
|
(synopsis "Base class for SAX Drivers and Filters")
|
|
|
|
(description "This module has a very simple task - to be a base class for
|
|
|
|
PerlSAX drivers and filters. It's default behaviour is to pass the input
|
|
|
|
directly to the output unchanged. It can be useful to use this module as a
|
|
|
|
base class so you don't have to, for example, implement the characters()
|
|
|
|
callback.")
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)))
|
2015-04-07 21:44:31 +00:00
|
|
|
|
2013-10-02 19:46:44 +00:00
|
|
|
(define-public perl-xml-simple
|
|
|
|
(package
|
|
|
|
(name "perl-xml-simple")
|
2018-03-19 18:06:33 +00:00
|
|
|
(version "2.25")
|
2013-10-02 19:46:44 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"mirror://cpan/authors/id/G/GR/GRANTM/XML-Simple-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2018-03-19 18:06:33 +00:00
|
|
|
"1y6vh328zrh085d40852v4ij2l4g0amxykswxd1nfhd2pspds7sk"))))
|
2013-10-02 19:46:44 +00:00
|
|
|
(build-system perl-build-system)
|
2015-01-01 01:23:24 +00:00
|
|
|
(propagated-inputs
|
2016-06-14 11:08:07 +00:00
|
|
|
`(("perl-xml-parser" ,perl-xml-parser)
|
|
|
|
("perl-xml-sax" ,perl-xml-sax)))
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)
|
2013-10-02 19:46:44 +00:00
|
|
|
(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).")
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-Simple")))
|
2013-10-02 19:46:44 +00:00
|
|
|
|
2013-12-06 21:54:44 +00: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)))
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)
|
2013-12-06 21:54:44 +00:00
|
|
|
(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.")
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-RegExp")))
|
2013-12-06 21:54:44 +00:00
|
|
|
|
2013-12-09 21:37:28 +00:00
|
|
|
(define-public perl-xml-dom
|
|
|
|
(package
|
|
|
|
(name "perl-xml-dom")
|
2016-11-30 11:30:58 +00:00
|
|
|
(version "1.46")
|
2013-12-09 21:37:28 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"mirror://cpan/authors/id/T/TJ/TJMATHER/XML-DOM-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2016-11-30 11:30:58 +00:00
|
|
|
"0phpkc4li43m2g44hdcvyxzy9pymqwlqhh5hwp2xc0cv8l5lp8lb"))))
|
2013-12-09 21:37:28 +00:00
|
|
|
(build-system perl-build-system)
|
2013-12-09 23:17:04 +00:00
|
|
|
(propagated-inputs
|
|
|
|
`(("perl-libwww" ,perl-libwww)
|
2013-12-09 21:37:28 +00:00
|
|
|
("perl-libxml" ,perl-libxml)
|
2016-11-30 11:30:58 +00:00
|
|
|
("perl-xml-parser" ,perl-xml-parser)
|
2013-12-09 21:37:28 +00:00
|
|
|
("perl-xml-regexp" ,perl-xml-regexp)))
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)
|
2013-12-09 21:37:28 +00:00
|
|
|
(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.")
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-DOM")))
|
2013-12-09 21:37:28 +00:00
|
|
|
|
2015-12-22 13:53:15 +00:00
|
|
|
(define-public perl-xml-compile-tester
|
|
|
|
(package
|
|
|
|
(name "perl-xml-compile-tester")
|
2018-05-16 12:10:33 +00:00
|
|
|
(version "0.91")
|
2015-12-22 13:53:15 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MA/MARKOV/"
|
|
|
|
"XML-Compile-Tester-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2018-05-16 12:10:33 +00:00
|
|
|
"1drzwziwi96rfkh48qpw4l225mcbk8ppl2157nj92cslcpwwdk75"))))
|
2015-12-22 13:53:15 +00:00
|
|
|
(build-system perl-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("perl-log-report" ,perl-log-report)
|
|
|
|
("perl-test-deep" ,perl-test-deep)))
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-Compile-Tester")
|
2015-12-22 13:53:15 +00:00
|
|
|
(synopsis "XML::Compile related regression testing")
|
|
|
|
(description
|
|
|
|
"The @code{XML::Compile} module suite has extensive regression testing.
|
|
|
|
This module provide functions which simplify writing tests for
|
|
|
|
@code{XML::Compile} related distributions.")
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)))
|
2015-12-22 13:53:15 +00:00
|
|
|
|
2015-12-22 13:53:43 +00:00
|
|
|
(define-public perl-xml-compile
|
|
|
|
(package
|
|
|
|
(name "perl-xml-compile")
|
2019-07-10 22:27:14 +00:00
|
|
|
(version "1.63")
|
2015-12-22 13:53:43 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MA/MARKOV/"
|
|
|
|
"XML-Compile-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-07-10 22:27:14 +00:00
|
|
|
"0psr5pwsk2biz2bfkigmx04v2rfhs6ybwcfmcrrg7gvh9bpp222b"))))
|
2015-12-22 13:53:43 +00:00
|
|
|
(build-system perl-build-system)
|
|
|
|
(propagated-inputs
|
2018-09-21 10:18:55 +00:00
|
|
|
`(("perl-carp" ,perl-carp)
|
|
|
|
("perl-log-report" ,perl-log-report)
|
2015-12-22 13:53:43 +00:00
|
|
|
("perl-xml-compile-tester" ,perl-xml-compile-tester)
|
|
|
|
("perl-xml-libxml" ,perl-xml-libxml)
|
2018-09-21 10:18:55 +00:00
|
|
|
("perl-scalar-list-utils" ,perl-scalar-list-utils)
|
|
|
|
("perl-test-deep" ,perl-test-deep)
|
|
|
|
("perl-types-serialiser" ,perl-types-serialiser)))
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-Compile")
|
2015-12-22 13:53:43 +00:00
|
|
|
(synopsis "Compilation-based XML processing")
|
|
|
|
(description
|
|
|
|
"@code{XML::Compile} can be used to translate a Perl data-structure into
|
|
|
|
XML or XML into a Perl data-structure, both directions under rigid control by
|
|
|
|
a schema.")
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)))
|
2015-12-22 13:53:43 +00:00
|
|
|
|
2015-12-22 15:14:07 +00:00
|
|
|
(define-public perl-xml-compile-cache
|
|
|
|
(package
|
|
|
|
(name "perl-xml-compile-cache")
|
2018-03-05 14:27:51 +00:00
|
|
|
(version "1.06")
|
2015-12-22 15:14:07 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MA/MARKOV/"
|
|
|
|
"XML-Compile-Cache-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2018-03-05 14:27:51 +00:00
|
|
|
"181qf1s7ymgi7saph3cf9p6dbxkxyh1ja23na4dchhi8v5mi66sr"))))
|
2015-12-22 15:14:07 +00:00
|
|
|
(build-system perl-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("perl-log-report" ,perl-log-report)
|
|
|
|
("perl-xml-compile" ,perl-xml-compile)
|
|
|
|
("perl-xml-compile-tester" ,perl-xml-compile-tester)
|
|
|
|
("perl-xml-libxml-simple" ,perl-xml-libxml-simple)))
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-Compile-Cache")
|
2015-12-22 15:14:07 +00:00
|
|
|
(synopsis "Cache compiled XML translators")
|
|
|
|
(description
|
|
|
|
"This package provides methods to cache compiled XML translators.")
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)))
|
2015-12-22 15:14:07 +00:00
|
|
|
|
2015-12-22 21:15:09 +00:00
|
|
|
(define-public perl-xml-compile-soap
|
|
|
|
(package
|
|
|
|
(name "perl-xml-compile-soap")
|
2018-03-19 18:06:53 +00:00
|
|
|
(version "3.24")
|
2015-12-22 21:15:09 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MA/MARKOV/"
|
|
|
|
"XML-Compile-SOAP-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2018-03-19 18:06:53 +00:00
|
|
|
"0pkcph562l2ij7rlwlvm58v6y062qsbydfpaz2qnph2ixqy0xfd1"))))
|
2015-12-22 21:15:09 +00:00
|
|
|
(build-system perl-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("perl-file-slurp-tiny" ,perl-file-slurp-tiny)
|
|
|
|
("perl-libwww" ,perl-libwww)
|
|
|
|
("perl-log-report" ,perl-log-report)
|
|
|
|
("perl-xml-compile" ,perl-xml-compile)
|
|
|
|
("perl-xml-compile-cache" ,perl-xml-compile-cache)
|
|
|
|
("perl-xml-compile-tester" ,perl-xml-compile-tester)))
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-Compile-SOAP")
|
2015-12-22 21:15:09 +00:00
|
|
|
(synopsis "Base-class for SOAP implementations")
|
|
|
|
(description
|
|
|
|
"This module provides a class to handle the SOAP protocol. The first
|
|
|
|
implementation is @url{SOAP1.1,
|
|
|
|
http://www.w3.org/TR/2000/NOTE-SOAP-20000508/}, which is still most often
|
|
|
|
used.")
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)))
|
2015-12-22 21:15:09 +00:00
|
|
|
|
2015-12-22 21:15:38 +00:00
|
|
|
(define-public perl-xml-compile-wsdl11
|
|
|
|
(package
|
|
|
|
(name "perl-xml-compile-wsdl11")
|
2018-05-16 12:12:27 +00:00
|
|
|
(version "3.07")
|
2015-12-22 21:15:38 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MA/MARKOV/"
|
|
|
|
"XML-Compile-WSDL11-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2018-05-16 12:12:27 +00:00
|
|
|
"09ayl442hzvn97q4ghn5rz4r82dm9w3l69hixhb29h9xq9ysi7ba"))))
|
2015-12-22 21:15:38 +00:00
|
|
|
(build-system perl-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("perl-log-report" ,perl-log-report)
|
|
|
|
("perl-xml-compile" ,perl-xml-compile)
|
|
|
|
("perl-xml-compile-cache" ,perl-xml-compile-cache)
|
|
|
|
("perl-xml-compile-soap" ,perl-xml-compile-soap)))
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-Compile-WSDL11")
|
2015-12-22 21:15:38 +00:00
|
|
|
(synopsis "Create SOAP messages defined by WSDL 1.1")
|
|
|
|
(description
|
|
|
|
"This module understands WSDL version 1.1. A WSDL file defines a set of
|
|
|
|
messages to be send and received over SOAP connections. This involves
|
|
|
|
encoding of the message to be send into XML, sending the message to the
|
|
|
|
server, collect the answer, and finally decoding the XML to Perl.")
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)))
|
2015-12-22 21:15:38 +00:00
|
|
|
|
2016-08-14 15:36:05 +00:00
|
|
|
(define-public perl-xml-feed
|
|
|
|
(package
|
|
|
|
(name "perl-xml-feed")
|
2019-03-15 16:22:31 +00:00
|
|
|
(version "0.59")
|
2016-08-14 15:36:05 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/D/DA/DAVECROSS/"
|
|
|
|
"XML-Feed-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-03-15 16:22:31 +00:00
|
|
|
"1z1a88bpy64j42bbyl8acbfl3dn9iaz47gx6clkgy5sbn4kr0kgk"))))
|
2016-08-14 15:36:05 +00:00
|
|
|
(build-system perl-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("perl-module-build" ,perl-module-build)
|
|
|
|
("perl-uri" ,perl-uri)
|
|
|
|
("perl-class-data-inheritable" ,perl-class-data-inheritable)))
|
2020-05-20 22:42:07 +00:00
|
|
|
(propagated-inputs
|
2016-08-14 15:36:05 +00:00
|
|
|
`(("perl-class-errorhandler" ,perl-class-errorhandler)
|
|
|
|
("perl-datetime" ,perl-datetime)
|
2020-05-20 09:52:19 +00:00
|
|
|
("perl-datetime-format-flexible" ,perl-datetime-format-flexible)
|
|
|
|
("perl-datetime-format-iso8601" ,perl-datetime-format-iso8601)
|
2016-08-14 15:36:05 +00:00
|
|
|
("perl-datetime-format-mail" ,perl-datetime-format-mail)
|
2020-05-20 09:52:19 +00:00
|
|
|
("perl-datetime-format-natural" ,perl-datetime-format-natural)
|
2016-08-14 15:36:05 +00:00
|
|
|
("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
|
|
|
|
("perl-feed-find" ,perl-feed-find)
|
|
|
|
("perl-html-parser" ,perl-html-parser)
|
|
|
|
("perl-libwww-perl" ,perl-libwww)
|
|
|
|
("perl-module-pluggable" ,perl-module-pluggable)
|
|
|
|
("perl-uri-fetch" ,perl-uri-fetch)
|
|
|
|
("perl-xml-atom" ,perl-xml-atom)
|
|
|
|
("perl-xml-libxml" ,perl-xml-libxml)
|
|
|
|
("perl-xml-rss" ,perl-xml-rss)))
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-Feed")
|
2016-08-14 15:36:05 +00:00
|
|
|
(synopsis "XML Syndication Feed Support")
|
|
|
|
(description "@code{XML::Feed} is a syndication feed parser for both RSS and
|
|
|
|
Atom feeds. It also implements feed auto-discovery for finding feeds, given a URI.
|
|
|
|
@code{XML::Feed} supports the following syndication feed formats:
|
|
|
|
RSS 0.91, RSS 1.0, RSS 2.0, Atom")
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)))
|
2016-08-14 15:36:05 +00:00
|
|
|
|
2016-08-14 14:37:34 +00:00
|
|
|
(define-public perl-xml-xpath
|
|
|
|
(package
|
|
|
|
(name "perl-xml-xpath")
|
2018-10-27 22:03:41 +00:00
|
|
|
(version "1.44")
|
2016-08-14 14:37:34 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MA/MANWAR/"
|
|
|
|
"XML-XPath-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2018-10-27 22:03:41 +00:00
|
|
|
"03yxj7w5a43ibbpiqsvb3lswj2b71dydsx4rs2fw0p8n0l3i3j8w"))))
|
2016-08-14 14:37:34 +00:00
|
|
|
(build-system perl-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("perl-path-tiny" ,perl-path-tiny)))
|
2018-06-14 20:36:33 +00:00
|
|
|
(propagated-inputs
|
2016-08-14 14:37:34 +00:00
|
|
|
`(("perl-xml-parser" ,perl-xml-parser)))
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-XPath")
|
2016-08-14 14:37:34 +00:00
|
|
|
(synopsis "Parse and evaluate XPath statements")
|
|
|
|
(description
|
|
|
|
"This module aims to comply exactly to the @url{XPath specification,
|
|
|
|
https://www.w3.org/TR/xpath} and yet allow extensions to be added in
|
|
|
|
the form of functions.")
|
2017-05-02 14:57:52 +00:00
|
|
|
(license license:perl-license)))
|
2016-08-14 14:37:34 +00:00
|
|
|
|
2015-05-28 07:43:53 +00:00
|
|
|
(define-public pugixml
|
|
|
|
(package
|
|
|
|
(name "pugixml")
|
2020-11-28 14:08:44 +00:00
|
|
|
(version "1.11")
|
2015-05-28 07:43:53 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2016-07-03 05:28:51 +00:00
|
|
|
(uri (string-append "https://github.com/zeux/pugixml/releases/download/v"
|
|
|
|
version "/pugixml-" version ".tar.gz"))
|
2015-05-28 07:43:53 +00:00
|
|
|
(sha256
|
2020-11-28 14:08:44 +00:00
|
|
|
(base32 "0b5apqiisq8yk51x0cwks4h2m0zd2zgjdy0w80qp9h5rccz3v496"))))
|
2015-05-28 07:43:53 +00:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
2019-03-10 19:43:54 +00:00
|
|
|
`(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")
|
2019-12-01 16:58:20 +00:00
|
|
|
#:tests? #f)) ; no tests
|
2019-03-10 19:43:54 +00:00
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2018-04-16 12:58:41 +00:00
|
|
|
(home-page "https://pugixml.org")
|
2015-05-28 07:43:53 +00:00
|
|
|
(synopsis "Light-weight, simple and fast XML parser for C++ with XPath support")
|
|
|
|
(description
|
|
|
|
"pugixml is a C++ XML processing library, which consists of a DOM-like
|
|
|
|
interface with rich traversal/modification capabilities, a fast XML parser
|
|
|
|
which constructs the DOM tree from an XML file/buffer, and an XPath 1.0
|
|
|
|
implementation for complex data-driven tree queries. Full Unicode support is
|
|
|
|
also available, with Unicode interface variants and conversions between
|
|
|
|
different Unicode encodings which happen automatically during
|
|
|
|
parsing/saving.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2016-09-17 09:33:28 +00:00
|
|
|
(define-public python-pyxb
|
|
|
|
(package
|
|
|
|
(name "python-pyxb")
|
2017-09-05 21:02:25 +00:00
|
|
|
(version "1.2.6")
|
2016-09-17 09:33:28 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "PyXB" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2017-09-05 21:02:25 +00:00
|
|
|
"1d17pyixbfvjyi2lb0cfp0ch8wwdf44mmg3r5pwqhyyqs66z601a"))))
|
2016-09-17 09:33:28 +00:00
|
|
|
(build-system python-build-system)
|
|
|
|
(home-page "http://pyxb.sourceforge.net/")
|
|
|
|
(synopsis "Python XML Schema Bindings")
|
|
|
|
(description
|
|
|
|
"PyXB (\"pixbee\") is a pure Python package that generates Python source
|
|
|
|
code for classes that correspond to data structures defined by XMLSchema.")
|
|
|
|
(license (list license:asl2.0 ; Most files.
|
|
|
|
license:expat ; pyxb/utils/six.py
|
|
|
|
license:gpl2 ; bundled jquery in doc is dual MIT/GPL2
|
|
|
|
license:psfl)))) ; pyxb/utils/activestate.py
|
|
|
|
|
|
|
|
(define-public python2-pyxb
|
|
|
|
(package-with-python2 python-pyxb))
|
|
|
|
|
2013-08-31 11:47:46 +00:00
|
|
|
(define-public xmlto
|
|
|
|
(package
|
|
|
|
(name "xmlto")
|
2015-12-02 20:32:58 +00:00
|
|
|
(version "0.0.28")
|
2013-08-31 11:47:46 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2017-03-06 01:17:50 +00:00
|
|
|
;; The old source on fedorahosted.org is offline permanently:
|
|
|
|
;; <https://bugs.gnu.org/25989>
|
|
|
|
(uri (string-append "mirror://debian/pool/main/x/xmlto/"
|
|
|
|
"xmlto_" version ".orig.tar.bz2"))
|
|
|
|
(file-name (string-append name "-" version ".tar.bz2"))
|
2013-08-31 11:47:46 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2015-12-02 20:32:58 +00:00
|
|
|
"0xhj8b2pwp4vhl9y16v3dpxpsakkflfamr191mprzsspg4xdyc0i"))))
|
2013-08-31 11:47:46 +00:00
|
|
|
(build-system gnu-build-system)
|
2013-10-06 20:13:04 +00: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"))))
|
2019-07-05 15:21:37 +00:00
|
|
|
(native-inputs
|
|
|
|
`(("util-linux" ,util-linux)))
|
2013-08-31 11:47:46 +00:00
|
|
|
(inputs
|
2013-10-06 20:13:04 +00:00
|
|
|
`(("util-linux" ,util-linux) ; for 'getopt'
|
|
|
|
("libxml2" ,libxml2) ; for 'xmllint'
|
|
|
|
("libxslt" ,libxslt))) ; for 'xsltproc'
|
2013-08-31 11:47:46 +00: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+)))
|
2015-05-24 20:55:32 +00:00
|
|
|
|
|
|
|
(define-public xmlsec
|
|
|
|
(package
|
|
|
|
(name "xmlsec")
|
2020-11-07 07:16:32 +00:00
|
|
|
(version "1.2.31")
|
2015-05-24 20:55:32 +00:00
|
|
|
(source (origin
|
2018-10-23 23:40:40 +00:00
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://www.aleksey.com/xmlsec/download/"
|
|
|
|
"xmlsec1-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2020-11-07 07:16:32 +00:00
|
|
|
"09hbbaz2d9hw645q27apkjs1mdr6vd85x5z3c9hzgr1iri9bq44v"))))
|
2015-05-24 20:55:32 +00:00
|
|
|
(build-system gnu-build-system)
|
2018-10-23 23:40:40 +00:00
|
|
|
(propagated-inputs ; according to xmlsec1.pc
|
2015-05-24 20:55:32 +00:00
|
|
|
`(("libxml2" ,libxml2)
|
|
|
|
("libxslt" ,libxslt)))
|
|
|
|
(inputs
|
|
|
|
`(("gnutls" ,gnutls)
|
|
|
|
("libgcrypt" ,libgcrypt)
|
|
|
|
("libltdl" ,libltdl)))
|
2016-06-06 12:33:58 +00:00
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2018-01-26 15:36:01 +00:00
|
|
|
(home-page "https://www.aleksey.com/xmlsec/")
|
2015-05-24 20:55:32 +00:00
|
|
|
(synopsis "XML Security Library")
|
|
|
|
(description
|
|
|
|
"The XML Security Library is a C library based on Libxml2. It
|
|
|
|
supports XML security standards such as XML Signature, XML Encryption,
|
|
|
|
Canonical XML (part of Libxml2) and Exclusive Canonical XML (part of
|
|
|
|
Libxml2).")
|
|
|
|
(license (license:x11-style "file://COPYING"
|
|
|
|
"See 'COPYING' in the distribution."))))
|
2015-08-31 15:33:56 +00:00
|
|
|
|
2018-02-11 10:46:27 +00:00
|
|
|
(define-public xmlsec-nss
|
gnu: Use PACKAGE/INHERIT in more places.
* gnu/packages/algebra.scm (fftwf, fftw-openmpi),
gnu/packages/audio.scm (ztoolkit-rsvg),
gnu/packages/bioinformatics.scm (python2-dendropy),
gnu/packages/boost.scm (boost-with-python2),
gnu/packages/check.scm (python2-mock, python2-pytest-mock),
gnu/packages/cups.scm (hplip-minimal),
gnu/packages/freedesktop.scm (libinput-minimal),
gnu/packages/gettext.scm (gnu-gettext),
gnu/packages/glib.scm (python2-pygobject),
gnu/packages/gnome.scm (gdl-minimal, libsoup-minimal, python2-pyatspi),
gnu/packages/groff.scm (groff-minimal),
gnu/packages/jami.scm (ffmpeg-jami),
gnu/packages/libcanberra.scm (libcanberra/gtk+-2),
gnu/packages/lirc.scm (python2-lirc),
gnu/packages/llvm.scm (clang-runtime-3.5),
gnu/packages/mpi.scm (java-openmpi, openmpi-thread-multiple),
gnu/packages/node.scm (libnode),
gnu/packages/onc-rpc.scm (libtirpc/hurd),
gnu/packages/python-compression.scm (bitshuffle-for-snappy),
gnu/packages/python-crypto.scm (python2-pycrypto, python2-cryptography)
(python2-cryptography, python2-m2crypto),
gnu/packages/python-web.scm (python2-html2text, python2-tornado)
(python2-terminado, python2-ndg-httpsclient, python2-websocket-client)
(python2-rauth, python2-url, python2-s3transfer),
gnu/packages/python-xyz.scm (python2-psutil, python2-serpent)
(python2-humanfriendly, python2-empy, python2-parse-type, python2-polib)
(python2-jsonschema, python2-pystache, python2-cython, python2-numpydoc)
(python2-ipyparallel, python2-traitlets, python2-dbus)
(python2-beautifulsoup4, python2-pep517, python2-flake8, python2-llfuse)
(python2-tlsh, python-file, python2-notebook, python-jupyter-console-minimal)
(python2-contextlib2, python2-promise, python2-anyjson, python2-amqp)
(python2-kombu, python2-billiard, python2-celery, python2-whoosh)
(python2-jellyfish, python-rope, ptpython-2, python2-binaryornot)
(python2-setproctitle, python2-argcomplete, python2-xopen, python2-isort)
(python2-radon, python2-rfc6555, python2-activepapers, python2-send2trash)
(python2-cloudpickle, python2-reparser),
gnu/packages/python.scm (python2-called-python),
gnu/packages/qt.scm (python2-sip, python-pyqt-without-qtwebkit, python2-pyqt)
(python-qscintilla, python-pyqt+qscintilla),
gnu/packages/scanner.scm (sane-backends),
gnu/packages/sdl.scm (guile3.0-sdl2),
gnu/packages/selinux.scm (checkpolicy, libselinux, libsemanage, secilc)
(python-sepolgen, policycoreutils),
gnu/packages/serialization.scm (lua5.1-libmpack, lua5.2-libmpack),
gnu/packages/simulation.scm (fenics),
gnu/packages/statistics.scm (python2-statsmodels),
gnu/packages/texinfo.scm (info-reader),
gnu/packages/wxwidgets.scm (wxwidgets-gtk2, wxwidgets-gtk2-3.1),
gnu/packages/xml.scm (xmlsec-nss),
gnu/packages/xorg.scm (uim-gtk, uim-qt),
guix/build-system/python.scm (package-with-explicit-python)
(strip-python2-variant): Use PACKAGE/INHERIT.
2021-03-17 07:42:12 +00:00
|
|
|
(package/inherit xmlsec
|
2018-02-11 10:46:27 +00:00
|
|
|
(name "xmlsec-nss")
|
2018-10-27 02:43:33 +00:00
|
|
|
(native-inputs
|
|
|
|
;; For tests.
|
|
|
|
`(("nss:bin" ,nss "bin") ; for certutil
|
|
|
|
,@(package-native-inputs xmlsec)))
|
2018-02-11 10:46:27 +00:00
|
|
|
(inputs
|
|
|
|
`(("nss" ,nss)
|
|
|
|
("libltdl" ,libltdl)))
|
2020-12-18 16:55:56 +00:00
|
|
|
(arguments
|
|
|
|
;; NSS no longer supports MD5 since 3.59, don't attempt to use it.
|
|
|
|
'(#:configure-flags '("--disable-md5")))
|
2018-02-11 10:46:27 +00:00
|
|
|
(synopsis "XML Security Library (using NSS instead of GnuTLS)")))
|
|
|
|
|
2015-08-31 15:33:56 +00:00
|
|
|
(define-public minixml
|
|
|
|
(package
|
|
|
|
(name "minixml")
|
2020-12-28 11:59:45 +00:00
|
|
|
(version "3.2")
|
2015-08-31 15:33:56 +00:00
|
|
|
(source (origin
|
2019-11-13 14:56:37 +00:00
|
|
|
(method url-fetch)
|
2017-05-06 06:34:18 +00:00
|
|
|
(uri (string-append "https://github.com/michaelrsweet/mxml/"
|
2018-01-19 05:07:14 +00:00
|
|
|
"releases/download/v" version
|
2017-05-06 06:34:18 +00:00
|
|
|
"/mxml-" version ".tar.gz"))
|
2015-08-31 15:33:56 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2020-12-28 11:59:45 +00:00
|
|
|
"0x698ayv00vrjg0yfm20lakpgl7m02x1fk2n09wygwk4973gd55q"))))
|
2015-08-31 15:33:56 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
2018-10-24 18:51:06 +00:00
|
|
|
`(#:configure-flags
|
|
|
|
(list (string-append "LDFLAGS=-Wl,-rpath="
|
|
|
|
(assoc-ref %outputs "out") "/lib"))
|
2018-01-19 05:07:14 +00:00
|
|
|
#:tests? #f)) ; tests are run during build
|
2020-12-28 11:59:45 +00:00
|
|
|
(home-page "https://www.msweet.org/mxml/")
|
2015-08-31 15:33:56 +00:00
|
|
|
(synopsis "Small XML parsing library")
|
|
|
|
(description
|
|
|
|
"Mini-XML is a small C library to read and write XML files and strings in
|
|
|
|
UTF-8 and UTF-16 encoding.")
|
|
|
|
;; LGPL 2.0+ with additional exceptions for static linking
|
|
|
|
(license license:lgpl2.0+)))
|
2015-11-24 18:35:44 +00:00
|
|
|
|
|
|
|
;; TinyXML is an unmaintained piece of software, so the patches and build
|
|
|
|
;; system massaging have no upstream potential.
|
|
|
|
(define-public tinyxml
|
|
|
|
(package
|
|
|
|
(name "tinyxml")
|
|
|
|
(version "2.6.2")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2016-07-21 06:35:30 +00:00
|
|
|
(uri (string-append "mirror://sourceforge/tinyxml/tinyxml/"
|
|
|
|
version "/tinyxml_"
|
2015-11-24 18:35:44 +00:00
|
|
|
(string-join (string-split version #\.) "_")
|
|
|
|
".tar.gz"))
|
2018-03-13 17:51:41 +00:00
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2015-11-24 18:35:44 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"14smciid19lvkxqznfig77jxn5s4iq3jpb47vh5a6zcaqp7gvg8m"))
|
2016-04-08 12:18:13 +00:00
|
|
|
(patches (search-patches "tinyxml-use-stl.patch"))))
|
2015-11-24 18:35:44 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
;; This library is missing *a lot* of the steps to make it usable, so we
|
|
|
|
;; have to add them here, like every other distro must do.
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(delete 'configure)
|
|
|
|
(add-after 'build 'build-shared-library
|
|
|
|
(lambda _
|
2018-03-13 17:57:14 +00:00
|
|
|
(invoke "g++" "-Wall" "-O2" "-shared" "-fpic"
|
|
|
|
"tinyxml.cpp" "tinyxmlerror.cpp"
|
|
|
|
"tinyxmlparser.cpp" "tinystr.cpp"
|
|
|
|
"-o" "libtinyxml.so")))
|
2015-11-24 18:35:44 +00:00
|
|
|
(replace 'check
|
2018-03-13 17:57:14 +00:00
|
|
|
(lambda _ (invoke "./xmltest")))
|
2015-11-24 18:35:44 +00:00
|
|
|
(replace 'install
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(include (string-append out "/include"))
|
|
|
|
(lib (string-append out "/lib"))
|
|
|
|
(pkgconfig (string-append out "/lib/pkgconfig"))
|
|
|
|
(doc (string-append out "/share/doc")))
|
|
|
|
;; Install libs and headers.
|
|
|
|
(install-file "libtinyxml.so" lib)
|
|
|
|
(install-file "tinystr.h" include)
|
|
|
|
(install-file "tinyxml.h" include)
|
|
|
|
;; Generate and install pkg-config file.
|
|
|
|
(mkdir-p pkgconfig)
|
|
|
|
;; Software such as Kodi expect this file to be present, but
|
|
|
|
;; it's not provided in the source code.
|
|
|
|
(call-with-output-file (string-append pkgconfig "/tinyxml.pc")
|
|
|
|
(lambda (port)
|
|
|
|
(format port "prefix=~a
|
|
|
|
exec_prefix=${prefix}
|
|
|
|
libdir=${exec_prefix}/lib
|
|
|
|
includedir=${prefix}/include
|
|
|
|
|
|
|
|
Name: TinyXML
|
|
|
|
Description: A simple, small, C++ XML parser
|
|
|
|
Version: ~a
|
|
|
|
Libs: -L${libdir} -ltinyxml
|
|
|
|
Cflags: -I${includedir}
|
|
|
|
"
|
|
|
|
out ,version)))
|
|
|
|
;; Install docs.
|
|
|
|
(mkdir-p doc)
|
|
|
|
(copy-recursively "docs" (string-append doc "tinyxml"))
|
|
|
|
#t))))))
|
|
|
|
(synopsis "Small XML parser for C++")
|
|
|
|
(description "TinyXML is a small and simple XML parsing library for the
|
2016-09-10 18:57:39 +00:00
|
|
|
C++ programming language.")
|
2015-11-24 18:35:44 +00:00
|
|
|
(home-page "http://www.grinninglizard.com/tinyxml/index.html")
|
|
|
|
(license license:zlib)))
|
2015-12-28 11:51:59 +00:00
|
|
|
|
2016-09-11 00:52:32 +00:00
|
|
|
(define-public tinyxml2
|
|
|
|
(package
|
|
|
|
(name "tinyxml2")
|
2020-05-08 12:51:43 +00:00
|
|
|
(version "8.0.0")
|
2016-09-11 00:52:32 +00:00
|
|
|
(source
|
|
|
|
(origin
|
2019-02-10 11:43:31 +00:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
(url "https://github.com/leethomason/tinyxml2")
|
2019-02-10 11:43:31 +00:00
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
2016-09-11 00:52:32 +00:00
|
|
|
(sha256
|
2020-05-08 12:51:43 +00:00
|
|
|
(base32 "0raa8r2hsagk7gjlqjwax95ib8d47ba79n91r4aws2zg8y6ssv1d"))))
|
2016-09-11 00:52:32 +00:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(synopsis "Small XML parser for C++")
|
|
|
|
(description "TinyXML2 is a small and simple XML parsing library for the
|
|
|
|
C++ programming language.")
|
|
|
|
(home-page "http://www.grinninglizard.com/tinyxml2/")
|
|
|
|
(license license:zlib)))
|
|
|
|
|
2015-12-28 11:51:59 +00:00
|
|
|
(define-public xmlstarlet
|
|
|
|
(package
|
|
|
|
(name "xmlstarlet")
|
|
|
|
(version "1.6.1")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://sourceforge/xmlstar/xmlstarlet/"
|
|
|
|
version "/xmlstarlet-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1jp737nvfcf6wyb54fla868yrr39kcbijijmjpyk4lrpyg23in0m"))))
|
|
|
|
(build-system gnu-build-system)
|
2017-02-16 12:56:22 +00:00
|
|
|
(arguments
|
|
|
|
'(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'check 'drop-failing-tests
|
|
|
|
(lambda _
|
|
|
|
;; FIXME: Why are these tests failing.
|
|
|
|
(substitute* "Makefile"
|
|
|
|
(("^examples/schema1\\\\") "\\")
|
|
|
|
(("^examples/valid1\\\\") "\\"))
|
2020-11-08 11:18:11 +00:00
|
|
|
#t))
|
|
|
|
(add-after 'install 'symlink-xmlstarlet
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
;; Other distros usually either rename or symlink the `xml' binary
|
|
|
|
;; as `xmlstarlet', let's do it as well for compatibility.
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
(symlink "xml" (string-append bin "/xmlstarlet"))
|
|
|
|
#t))))))
|
2015-12-28 11:51:59 +00:00
|
|
|
(inputs
|
|
|
|
`(("libxslt" ,libxslt)
|
|
|
|
("libxml2" ,libxml2)))
|
|
|
|
(home-page "http://xmlstar.sourceforge.net/")
|
|
|
|
(synopsis "Command line XML toolkit")
|
|
|
|
(description "XMLStarlet is a set of command line utilities which can be
|
|
|
|
used to transform, query, validate, and edit XML documents. XPath is used to
|
|
|
|
match and extract data, and elements can be added, deleted or modified using
|
|
|
|
XSLT and EXSLT.")
|
|
|
|
(license license:x11)))
|
2016-08-13 10:08:02 +00:00
|
|
|
|
2017-12-29 21:00:18 +00:00
|
|
|
(define-public html-xml-utils
|
|
|
|
(package
|
|
|
|
(name "html-xml-utils")
|
2020-08-09 14:04:29 +00:00
|
|
|
(version "7.9")
|
2017-12-29 21:00:18 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"https://www.w3.org/Tools/HTML-XML-utils/html-xml-utils-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
2020-08-09 14:04:29 +00:00
|
|
|
(base32 "0gs3xvdbzhk5k12i95p5d4fgkkaldnlv45sch7pnncb0lrpcjsnq"))))
|
2017-12-29 21:00:18 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(home-page "https://www.w3.org/Tools/HTML-XML-utils/")
|
|
|
|
(synopsis "Command line utilities to manipulate HTML and XML files")
|
|
|
|
(description "HTML-XML-utils provides a number of simple utilities for
|
|
|
|
manipulating and converting HTML and XML files in various ways. The suite
|
|
|
|
consists of the following tools:
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
@item @command{asc2xml} convert from @code{UTF-8} to @code{&#nnn;} entities
|
|
|
|
@item @command{xml2asc} convert from @code{&#nnn;} entities to @code{UTF-8}
|
|
|
|
@item @command{hxaddid} add IDs to selected elements
|
|
|
|
@item @command{hxcite} replace bibliographic references by hyperlinks
|
|
|
|
@item @command{hxcite} mkbib - expand references and create bibliography
|
|
|
|
@item @command{hxclean} apply heuristics to correct an HTML file
|
|
|
|
@item @command{hxcopy} copy an HTML file while preserving relative links
|
|
|
|
@item @command{hxcount} count elements and attributes in HTML or XML files
|
|
|
|
@item @command{hxextract} extract selected elements
|
|
|
|
@item @command{hxincl} expand included HTML or XML files
|
|
|
|
@item @command{hxindex} create an alphabetically sorted index
|
|
|
|
@item @command{hxmkbib} create bibliography from a template
|
|
|
|
@item @command{hxmultitoc} create a table of contents for a set of HTML files
|
|
|
|
@item @command{hxname2id} move some @code{ID=} or @code{NAME=} from A
|
|
|
|
elements to their parents
|
|
|
|
@item @command{hxnormalize} pretty-print an HTML file
|
|
|
|
@item @command{hxnsxml} convert output of hxxmlns back to normal XML
|
|
|
|
@item @command{hxnum} number section headings in an HTML file
|
|
|
|
@item @command{hxpipe} convert XML to a format easier to parse with Perl or AWK
|
|
|
|
@item @command{hxprintlinks} number links and add table of URLs at end of an HTML file
|
|
|
|
@item @command{hxprune} remove marked elements from an HTML file
|
|
|
|
@item @command{hxref} generate cross-references
|
|
|
|
@item @command{hxselect} extract elements that match a (CSS) selector
|
|
|
|
@item @command{hxtoc} insert a table of contents in an HTML file
|
|
|
|
@item @command{hxuncdata} replace CDATA sections by character entities
|
|
|
|
@item @command{hxunent} replace HTML predefined character entities to @code{UTF-8}
|
|
|
|
@item @command{hxunpipe} convert output of pipe back to XML format
|
|
|
|
@item @command{hxunxmlns} replace \"global names\" by XML Namespace prefixes
|
|
|
|
@item @command{hxwls} list links in an HTML file
|
|
|
|
@item @command{hxxmlns} replace XML Namespace prefixes by \"global names\"
|
|
|
|
@end itemize
|
|
|
|
")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2016-08-13 10:08:02 +00:00
|
|
|
(define-public xlsx2csv
|
|
|
|
(package
|
|
|
|
(name "xlsx2csv")
|
2019-02-10 00:24:44 +00:00
|
|
|
(version "0.7.4")
|
2019-02-10 00:27:03 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
(url "https://github.com/dilshod/xlsx2csv")
|
2019-02-10 00:27:03 +00:00
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32 "168dm6p7w6pvgd87yb9hcxv9y0liv6mxgril202nfva68cp8y939"))))
|
2016-08-13 10:08:02 +00:00
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
2019-02-10 00:24:44 +00:00
|
|
|
`(#:python ,python-2 ; use python-2 for the test script
|
2016-08-13 10:08:02 +00:00
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(replace 'check
|
|
|
|
(lambda _
|
|
|
|
(substitute* "test/run"
|
2019-02-10 00:24:44 +00:00
|
|
|
;; Run tests with `python' only.
|
2016-08-13 10:08:02 +00:00
|
|
|
(("^(PYTHON_VERSIONS = ).*" all m) (string-append m "['']")))
|
2018-06-28 01:13:52 +00:00
|
|
|
(invoke "test/run"))))))
|
2016-08-13 10:08:02 +00:00
|
|
|
(home-page "https://github.com/dilshod/xlsx2csv")
|
|
|
|
(synopsis "XLSX to CSV converter")
|
|
|
|
(description
|
|
|
|
"Xlsx2csv is a program to convert Microsoft Excel 2007 XML (XLSX and
|
|
|
|
XLSM) format spreadsheets into plaintext @dfn{comma separated values} (CSV)
|
|
|
|
files. It is designed to be fast and to handle large input files.")
|
|
|
|
(license license:gpl2+)))
|
2017-02-15 10:09:22 +00:00
|
|
|
|
|
|
|
(define-public python-defusedxml
|
|
|
|
(package
|
|
|
|
(name "python-defusedxml")
|
2019-10-01 22:32:23 +00:00
|
|
|
(version "0.6.0")
|
2017-02-15 10:09:22 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "defusedxml" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-10-01 22:32:23 +00:00
|
|
|
"1xbp8fivl3wlbyg2jrvs4lalaqv1xp9a9f29p75wdx2s2d6h717n"))))
|
2017-02-15 10:09:22 +00:00
|
|
|
(build-system python-build-system)
|
|
|
|
(home-page "https://bitbucket.org/tiran/defusedxml")
|
|
|
|
(synopsis "XML bomb protection for Python stdlib modules")
|
|
|
|
(description
|
|
|
|
"Defusedxml provides XML bomb protection for Python stdlib modules.")
|
|
|
|
(license license:psfl)))
|
|
|
|
|
|
|
|
(define-public python2-defusedxml
|
|
|
|
(package-with-python2 python-defusedxml))
|
2017-04-10 07:11:33 +00:00
|
|
|
|
2017-04-23 16:36:38 +00:00
|
|
|
(define-public freexl
|
|
|
|
(package
|
|
|
|
(name "freexl")
|
2020-08-09 17:08:25 +00:00
|
|
|
(version "1.0.6")
|
2017-04-23 16:36:38 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2020-08-09 14:12:21 +00:00
|
|
|
(uri (string-append "https://www.gaia-gis.it/gaia-sins/"
|
|
|
|
"freexl-" version ".tar.gz"))
|
2017-04-23 16:36:38 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2020-08-09 17:08:25 +00:00
|
|
|
"08pwj17l0lgp6zms9nmpawdxpvhzrslklbd53s4b430k7mxbbs1x"))))
|
2017-04-23 16:36:38 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(home-page "https://www.gaia-gis.it/fossil/freexl/index")
|
|
|
|
(synopsis "Read Excel files")
|
|
|
|
(description
|
|
|
|
"FreeXL is a C library to extract valid data from within an Excel (.xls)
|
|
|
|
spreadsheet.")
|
|
|
|
;; Any of these licenses may be picked.
|
|
|
|
(license (list license:gpl2+
|
|
|
|
license:lgpl2.1+
|
|
|
|
license:mpl1.1))))
|
2017-04-27 06:52:04 +00:00
|
|
|
|
|
|
|
(define-public xerces-c
|
|
|
|
(package
|
|
|
|
(name "xerces-c")
|
2020-05-25 21:57:58 +00:00
|
|
|
(version "3.2.3")
|
2017-04-27 06:52:04 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://apache/xerces/c/3/sources/"
|
|
|
|
"xerces-c-" version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2020-05-25 21:57:58 +00:00
|
|
|
"0jf1khvlssg31vkxbc25dxjxcxm56xb8nywj1sypj6hxzjlrkz0j"))))
|
2017-04-27 06:52:04 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
(let ((system (or (%current-target-system)
|
|
|
|
(%current-system))))
|
|
|
|
(if (string-prefix? "x86_64" system)
|
|
|
|
'()
|
|
|
|
'(#:configure-flags '("--disable-sse2")))))
|
|
|
|
(native-inputs
|
|
|
|
`(("perl" ,perl)))
|
2020-01-18 21:36:01 +00:00
|
|
|
(home-page "https://xerces.apache.org/xerces-c/")
|
2017-04-27 06:52:04 +00:00
|
|
|
(synopsis "Validating XML parser library for C++")
|
|
|
|
(description "Xerces-C++ is a validating XML parser written in a portable
|
|
|
|
subset of C++. Xerces-C++ makes it easy to give your application the ability
|
|
|
|
to read and write XML data. A shared library is provided for parsing,
|
|
|
|
generating, manipulating, and validating XML documents using the DOM, SAX, and
|
|
|
|
SAX2 APIs.")
|
|
|
|
(license license:asl2.0)))
|
2017-05-07 14:38:36 +00:00
|
|
|
|
2020-06-19 13:36:00 +00:00
|
|
|
(define-public xlsxio
|
|
|
|
(package
|
|
|
|
(name "xlsxio")
|
2020-10-17 03:00:52 +00:00
|
|
|
(version "0.2.29")
|
2020-06-19 13:36:00 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/brechtsanders/xlsxio")
|
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
2020-10-17 03:00:52 +00:00
|
|
|
(base32 "0jr6ggzhd8aakdvppcl8scy9j9jafg82zbzr4ih996sz8lrj90fn"))))
|
2020-06-19 13:36:00 +00:00
|
|
|
(native-inputs
|
|
|
|
`(("expat" ,expat)
|
|
|
|
("make" ,gnu-make)
|
|
|
|
("minizip" ,minizip)
|
|
|
|
("which" ,which)))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(delete 'configure)
|
|
|
|
(delete 'check)
|
|
|
|
(replace 'install
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(invoke "make" "install"
|
|
|
|
(string-append
|
|
|
|
"PREFIX=" (assoc-ref outputs "out"))))))))
|
|
|
|
(synopsis "C library for reading and writing .xlsx files")
|
|
|
|
(description "XLSX I/O aims to provide a C library for reading and writing
|
|
|
|
.xlsx files. The .xlsx file format is the native format used by Microsoft(R)
|
|
|
|
Excel(TM) since version 2007.")
|
|
|
|
(home-page "https://github.com/brechtsanders/xlsxio")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2017-05-07 14:38:36 +00:00
|
|
|
(define-public java-simple-xml
|
|
|
|
(package
|
|
|
|
(name "java-simple-xml")
|
|
|
|
(version "2.7.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://sourceforge/simple/simple-xml-"
|
|
|
|
version ".zip"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2018-03-13 21:55:10 +00:00
|
|
|
"0w19k1awslmihpwsxwjbg89hv0vjhk4k3i0vrfchy3mqknd988y5"))
|
|
|
|
(patches (search-patches "java-simple-xml-fix-tests.patch"))))
|
2017-05-07 14:38:36 +00:00
|
|
|
(build-system ant-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:build-target "build"
|
|
|
|
#:test-target "test"
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(replace 'install (install-jars "jar")))))
|
|
|
|
(native-inputs
|
|
|
|
`(("unzip" ,unzip)))
|
|
|
|
(home-page "http://simple.sourceforge.net/")
|
|
|
|
(synopsis "XML serialization framework for Java")
|
|
|
|
(description "Simple is a high performance XML serialization and
|
|
|
|
configuration framework for Java. Its goal is to provide an XML framework
|
|
|
|
that enables rapid development of XML configuration and communication systems.
|
|
|
|
This framework aids the development of XML systems with minimal effort and
|
|
|
|
reduced errors. It offers full object serialization and deserialization,
|
|
|
|
maintaining each reference encountered.")
|
|
|
|
(license license:asl2.0)))
|
2017-10-23 06:23:21 +00:00
|
|
|
|
|
|
|
(define-public perl-xml-xpathengine
|
|
|
|
(package
|
|
|
|
(name "perl-xml-xpathengine")
|
|
|
|
(version "0.14")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MI/MIROD/"
|
|
|
|
"XML-XPathEngine-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0r72na14bmsxfd16s9nlza155amqww0k8wsa9x2a3sqbpp5ppznj"))))
|
|
|
|
(build-system perl-build-system)
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-XPathEngine")
|
2017-10-23 06:23:21 +00:00
|
|
|
(synopsis "Re-usable XPath engine for DOM-like trees")
|
|
|
|
(description
|
|
|
|
"This module provides an XPath engine, that can be re-used by other
|
|
|
|
modules/classes that implement trees.
|
|
|
|
|
2019-09-23 19:15:51 +00:00
|
|
|
In order to use the XPath engine, nodes in the user module need to mimic DOM
|
2017-10-23 06:23:21 +00:00
|
|
|
nodes. The degree of similitude between the user tree and a DOM dictates how
|
|
|
|
much of the XPath features can be used. A module implementing all of the DOM
|
|
|
|
should be able to use this module very easily (you might need to add the
|
|
|
|
@code{cmp} method on nodes in order to get ordered result sets).")
|
|
|
|
(license license:perl-license)))
|
2017-10-23 06:25:19 +00:00
|
|
|
|
|
|
|
(define-public perl-tree-xpathengine
|
|
|
|
(package
|
|
|
|
(name "perl-tree-xpathengine")
|
|
|
|
(version "0.05")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MI/MIROD/"
|
|
|
|
"Tree-XPathEngine-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1vbbw8wxm79r3xbra8narw1dqvm34510q67wbmg2zmj6zd1k06r9"))))
|
|
|
|
(build-system perl-build-system)
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/Tree-XPathEngine")
|
2017-10-23 06:25:19 +00:00
|
|
|
(synopsis "Re-usable XPath engine")
|
|
|
|
(description
|
|
|
|
"This module provides an XPath engine, that can be re-used by other
|
|
|
|
module/classes that implement trees. It is designed to be compatible with
|
|
|
|
@code{Class::XPath}, ie it passes its tests if you replace @code{Class::XPath}
|
|
|
|
by @code{Tree::XPathEngine}.")
|
|
|
|
(license license:perl-license)))
|
2017-10-23 06:49:30 +00:00
|
|
|
|
|
|
|
(define-public perl-xml-filter-buffertext
|
|
|
|
(package
|
|
|
|
(name "perl-xml-filter-buffertext")
|
|
|
|
(version "1.01")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/R/RB/RBERJON/"
|
|
|
|
"XML-Filter-BufferText-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0p5785c1dsk6kdp505vapb5h54k8krrz8699hpgm9igf7dni5llg"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("perl-xml-sax-base" ,perl-xml-sax-base)))
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-Filter-BufferText")
|
2017-10-23 06:49:30 +00:00
|
|
|
(synopsis "Filter to put all characters() in one event")
|
|
|
|
(description "This is a very simple filter. One common cause of
|
|
|
|
grief (and programmer error) is that XML parsers aren't required to provide
|
|
|
|
character events in one chunk. They can, but are not forced to, and most
|
|
|
|
don't. This filter does the trivial but oft-repeated task of putting all
|
|
|
|
characters into a single event.")
|
|
|
|
(license license:perl-license)))
|
2017-10-23 06:50:03 +00:00
|
|
|
|
|
|
|
(define-public perl-xml-sax-writer
|
|
|
|
(package
|
|
|
|
(name "perl-xml-sax-writer")
|
|
|
|
(version "0.57")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"mirror://cpan/authors/id/P/PE/PERIGRIN/"
|
|
|
|
"XML-SAX-Writer-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1w1cd1ybxdvhmnxdlkywi3x5ka3g4md42kyynksjc09vyizd0q9x"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("perl-libxml" ,perl-libxml)
|
|
|
|
("perl-xml-filter-buffertext" ,perl-xml-filter-buffertext)
|
2018-03-16 15:50:14 +00:00
|
|
|
("perl-xml-namespacesupport" ,perl-xml-namespacesupport)
|
2017-10-23 06:50:03 +00:00
|
|
|
("perl-xml-sax-base" ,perl-xml-sax-base)))
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-SAX-Writer")
|
2017-10-23 06:50:03 +00:00
|
|
|
(synopsis "SAX2 XML Writer")
|
|
|
|
(description
|
|
|
|
"This is an XML writer that understands SAX2. It is based on
|
|
|
|
@code{XML::Handler::YAWriter}.")
|
|
|
|
(license license:perl-license)))
|
2017-10-23 06:51:31 +00:00
|
|
|
|
|
|
|
(define-public perl-xml-handler-yawriter
|
|
|
|
(package
|
|
|
|
(name "perl-xml-handler-yawriter")
|
|
|
|
(version "0.23")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/K/KR/KRAEHE/"
|
|
|
|
"XML-Handler-YAWriter-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"11d45a1sz862va9rry3p2m77pwvq3kpsvgwhc5ramh9mbszbnk77"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("perl-libxml" ,perl-libxml)))
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-Handler-YAWriter")
|
2017-10-23 06:51:31 +00:00
|
|
|
(synopsis "Yet another Perl SAX XML Writer")
|
|
|
|
(description "YAWriter implements Yet Another @code{XML::Handler::Writer}.
|
|
|
|
It provides a flexible escaping technique and pretty printing.")
|
|
|
|
(license license:perl-license)))
|
2017-10-24 08:39:25 +00:00
|
|
|
|
|
|
|
(define-public perl-xml-twig
|
|
|
|
(package
|
|
|
|
(name "perl-xml-twig")
|
|
|
|
(version "3.52")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MI/MIROD/"
|
|
|
|
"XML-Twig-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1bc0hrz4jp6199hi29sdxmb9gyy45whla9hd19yqfasgq8k5ixzy"))))
|
|
|
|
(build-system perl-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("expat" ,expat)))
|
|
|
|
(propagated-inputs
|
|
|
|
`(("perl-html-tidy" ,perl-html-tidy)
|
|
|
|
("perl-html-tree" ,perl-html-tree)
|
|
|
|
("perl-io-captureoutput" ,perl-io-captureoutput)
|
|
|
|
("perl-io-string" ,perl-io-string)
|
|
|
|
("perl-io-stringy" ,perl-io-stringy)
|
|
|
|
("perl-libxml" ,perl-libxml)
|
|
|
|
("perl-xml-filter-buffertext" ,perl-xml-filter-buffertext)
|
|
|
|
("perl-xml-handler-yawriter" ,perl-xml-handler-yawriter)
|
|
|
|
("perl-xml-parser" ,perl-xml-parser)
|
|
|
|
("perl-xml-sax-writer" ,perl-xml-sax-writer)
|
|
|
|
("perl-xml-simple" ,perl-xml-simple)
|
|
|
|
("perl-xml-xpathengine" ,perl-xml-xpathengine)
|
2018-03-16 15:50:14 +00:00
|
|
|
("perl-test-pod" ,perl-test-pod)
|
2017-10-24 08:39:25 +00:00
|
|
|
("perl-tree-xpathengine" ,perl-tree-xpathengine)))
|
2018-08-11 13:53:20 +00:00
|
|
|
(home-page "https://metacpan.org/release/XML-Twig")
|
2017-10-24 08:39:25 +00:00
|
|
|
(synopsis "Perl module for processing huge XML documents in tree mode")
|
|
|
|
(description "@code{XML::Twig} is an XML transformation module. Its
|
|
|
|
strong points: can be used to process huge documents while still being in tree
|
|
|
|
mode; not bound by DOM or SAX, so it is very perlish and offers a very
|
|
|
|
comprehensive set of methods; simple to use; DWIMs as much as possible.
|
|
|
|
|
|
|
|
What it doesn't offer: full SAX support (it can export SAX, but only reads
|
|
|
|
XML), full XPath support (unless you use @code{XML::Twig::XPath}), nor DOM
|
|
|
|
support.")
|
|
|
|
(license license:perl-license)))
|
2018-02-10 16:28:58 +00:00
|
|
|
|
|
|
|
;; TODO: Debian builds several jars out of this: jaxp-1.4.jar,
|
|
|
|
;; xml-apis.jar and xml-apis-1.4.01.jar.
|
|
|
|
(define-public java-jaxp
|
|
|
|
(package
|
|
|
|
(name "java-jaxp")
|
|
|
|
(version "1.4.01")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://apache/xerces/xml-commons/source/"
|
|
|
|
"xml-commons-external-" version "-src.tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32 "0rhq32a7dl9yik7zx9h0naz2iz068qgcdiayak91wp4wr26xhjyk"))))
|
|
|
|
(build-system ant-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:jar-name "jaxp.jar"
|
|
|
|
#:jdk ,icedtea-8
|
|
|
|
#:source-dir ".."
|
|
|
|
#:tests? #f)); no tests
|
|
|
|
(home-page "http://xerces.apache.org/xml-commons/")
|
|
|
|
(synopsis "Java XML parser and transformer APIs (DOM, SAX, JAXP, TrAX)")
|
|
|
|
(description "Jaxp from the Apache XML Commons project is used by
|
|
|
|
the Xerces-J XML parser and Xalan-J XSLT processor and specifies these APIs:
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
@item Document Object Model (DOM)
|
|
|
|
@item Simple API for XML (SAX)
|
|
|
|
@item Java APIs for XML Processing (JAXP)
|
|
|
|
@item Transformation API for XML (TrAX)
|
|
|
|
@item Document Object Model (DOM) Load and Save
|
|
|
|
@item JSR 206 Java API for XML Processing
|
|
|
|
@end itemize")
|
|
|
|
(license (list license:asl2.0
|
|
|
|
license:w3c ;; Files under org.w3c
|
|
|
|
license:public-domain)))) ;; org.xml.sax
|
2018-02-10 16:34:43 +00:00
|
|
|
|
|
|
|
(define-public java-apache-xml-commons-resolver
|
|
|
|
(package
|
|
|
|
(name "java-apache-xml-commons-resolver")
|
|
|
|
(version "1.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://apache/xerces/xml-commons/"
|
|
|
|
"xml-commons-resolver-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32 "1zhy4anc3fg9f8y348bj88vmab15aavrg6nf419ifb25asyygnsm"))
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
'(begin
|
|
|
|
(for-each delete-file (find-files "." ".*\\.(jar|zip)"))
|
|
|
|
#t))))
|
|
|
|
(build-system ant-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:jar-name (string-append "xml-resolver.jar")
|
|
|
|
#:tests? #f)); no tests
|
|
|
|
(inputs
|
|
|
|
`(("java-junit" ,java-junit)))
|
|
|
|
(home-page "http://xerces.apache.org/xml-commons/")
|
|
|
|
(synopsis "Catalog-based entity and URI resolution")
|
|
|
|
(description "The resolver class implements the full semantics of OASIS Technical
|
|
|
|
Resolution 9401:1997 (Amendment 2 to TR 9401) catalogs and the 06 Aug
|
|
|
|
2001 Committee Specification of OASIS XML Catalogs.
|
|
|
|
|
|
|
|
It also includes a framework of classes designed to read catalog files
|
|
|
|
in a number of formats:
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
@item The plain-text flavor described by TR9401.
|
|
|
|
@item The XCatalog XML format defined by John Cowan
|
|
|
|
@item The XML Catalog format defined by the OASIS Entity Resolution
|
|
|
|
Technical Committee.
|
|
|
|
@end itemize")
|
|
|
|
(license license:asl2.0)))
|
2018-02-10 16:48:54 +00:00
|
|
|
|
|
|
|
;; Jaxen requires java-dom4j and java-xom that in turn require jaxen.
|
|
|
|
;; This package is a bootstrap version without dependencies on dom4j and xom.
|
|
|
|
(define java-jaxen-bootstrap
|
|
|
|
(package
|
|
|
|
(name "java-jaxen-bootstrap")
|
|
|
|
(version "1.1.6")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
;; No release on github
|
|
|
|
(uri (string-append "https://repo1.maven.org/maven2/jaxen/jaxen/"
|
|
|
|
version "/jaxen-" version "-sources.jar"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"18pa8mks3gfhazmkyil8wsp6j1g1x7rggqxfv4k2mnixkrj5x1kx"))))
|
|
|
|
(build-system ant-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:jar-name "jaxen.jar"
|
|
|
|
#:source-dir "src"
|
|
|
|
#:tests? #f; no tests
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'build 'remove-dom4j
|
|
|
|
(lambda _
|
|
|
|
(delete-file-recursively "src/org/jaxen/dom4j")
|
|
|
|
(delete-file-recursively "src/org/jaxen/xom")
|
|
|
|
#t)))))
|
|
|
|
(inputs
|
|
|
|
`(("java-jdom" ,java-jdom)))
|
|
|
|
(home-page "https://github.com/jaxen-xpath/jaxen")
|
|
|
|
(synopsis "XPath library")
|
|
|
|
(description "Jaxen is an XPath library written in Java. It is adaptable
|
|
|
|
to many different object models, including DOM, XOM, dom4j, and JDOM. It is
|
|
|
|
also possible to write adapters that treat non-XML trees such as compiled
|
|
|
|
Java byte code or Java beans as XML, thus enabling you to query these trees
|
|
|
|
with XPath too.")
|
|
|
|
(license license:bsd-3)))
|
2018-02-10 16:50:11 +00:00
|
|
|
|
2018-02-10 17:15:52 +00:00
|
|
|
(define-public java-jaxen
|
|
|
|
(package
|
|
|
|
(inherit java-jaxen-bootstrap)
|
|
|
|
(name "java-jaxen")
|
|
|
|
(inputs
|
|
|
|
`(("java-jdom" ,java-jdom)
|
|
|
|
("java-xom" ,java-xom)
|
|
|
|
("java-dom4j" ,java-dom4j)))))
|
|
|
|
|
2018-02-10 16:50:11 +00:00
|
|
|
(define-public java-xom
|
|
|
|
(package
|
|
|
|
(name "java-xom")
|
|
|
|
(version "127")
|
|
|
|
(source (origin
|
2019-02-10 13:45:35 +00:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
(url "https://github.com/elharo/xom")
|
2019-02-10 13:45:35 +00:00
|
|
|
(commit (string-append "XOM_" version))))
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-10 16:50:11 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2019-02-10 13:45:35 +00:00
|
|
|
"1jh6y03g5zzdhsb5jm6ms1xnamr460qmn96y3w6aw0ikfwqlg0bq"))
|
2018-02-10 16:50:11 +00:00
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
'(begin
|
|
|
|
(for-each delete-file
|
|
|
|
(find-files "." "\\.jar$"))
|
|
|
|
#t))))
|
|
|
|
(build-system ant-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:jar-name "xom.jar"
|
|
|
|
#:jdk ,icedtea-8
|
2019-02-10 13:45:35 +00:00
|
|
|
#:tests? #f ; no tests
|
2018-02-10 16:50:11 +00:00
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
2019-02-10 13:45:35 +00:00
|
|
|
(add-after 'unpack 'make-git-checkout-writable
|
|
|
|
(lambda _
|
|
|
|
(for-each make-file-writable (find-files "."))
|
|
|
|
#t))
|
2018-02-10 16:50:11 +00:00
|
|
|
(add-before 'configure 'fix-tagsoup-dep
|
|
|
|
(lambda _
|
|
|
|
;; FIXME: Where is tagsoup source?
|
|
|
|
(delete-file "src/nu/xom/tools/XHTMLJavaDoc.java")
|
|
|
|
#t)))))
|
|
|
|
(inputs
|
|
|
|
`(("java-jdom" ,java-jdom)
|
|
|
|
("java-junit" ,java-junit)
|
|
|
|
("java-classpathx-servletapi" ,java-classpathx-servletapi)
|
|
|
|
("java-jaxen-bootstrap" ,java-jaxen-bootstrap)
|
|
|
|
("java-xerces" ,java-xerces)))
|
|
|
|
(home-page "https://xom.nu/")
|
|
|
|
(synopsis "XML Object Model")
|
|
|
|
(description "XOM is a new XML Object Model for processing XML with Java
|
|
|
|
that strives for correctness and simplicity.")
|
|
|
|
;; 2.1 only
|
|
|
|
(license license:lgpl2.1)))
|
2018-02-10 16:52:47 +00:00
|
|
|
|
|
|
|
(define-public java-xsdlib
|
|
|
|
(package
|
|
|
|
(name "java-xsdlib")
|
|
|
|
(version "2013.2")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2020-03-15 21:18:16 +00:00
|
|
|
(uri (string-append "https://repo1.maven.org/maven2/com/sun/msv/"
|
2018-02-10 16:52:47 +00:00
|
|
|
"datatype/xsd/xsdlib/" version "/xsdlib-"
|
|
|
|
version "-sources.jar"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"185i48p1xp09wbq03i9zgfl701qa262rq46yf4cajzmk3336kqim"))))
|
|
|
|
(build-system ant-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f; no tests
|
|
|
|
#:jar-name "xsdlib.jar"
|
|
|
|
#:jdk ,icedtea-8))
|
|
|
|
(inputs
|
|
|
|
`(("java-xerces" ,java-xerces)))
|
2020-03-15 21:18:16 +00:00
|
|
|
(home-page (string-append "https://web.archive.org/web/20161127144537/"
|
|
|
|
"https://msv.java.net//"))
|
2018-02-10 16:52:47 +00:00
|
|
|
(synopsis "Sun Multi-Schema Validator")
|
|
|
|
(description "Xsdlib contains an implementation of sun.com.msv, an XML
|
|
|
|
validator.")
|
|
|
|
(license license:bsd-2)))
|
2018-02-10 16:56:51 +00:00
|
|
|
|
|
|
|
(define-public java-xpp3
|
|
|
|
(package
|
|
|
|
(name "java-xpp3")
|
|
|
|
(version "1.1.4")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://www.extreme.indiana.edu/dist/"
|
|
|
|
"java-repository/xpp3/distributions/xpp3-"
|
|
|
|
version "_src.tgz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1b99zrhyij5qwyhilyjdl1ykxvhk902vsvflh6gx4fir8hfvdl5p"))
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
'(begin ;; Delete bundled jar archives.
|
|
|
|
(for-each delete-file (find-files "." ".*\\.jar"))
|
|
|
|
#t))))
|
|
|
|
(build-system ant-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f; no tests
|
|
|
|
#:build-target "jar"
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(replace 'install (install-jars "build")))))
|
|
|
|
(home-page "http://www.extreme.indiana.edu/xgws/xsoap/xpp/")
|
|
|
|
(synopsis "Streaming pull XML parser")
|
|
|
|
(description "Xml Pull Parser (in short XPP) is a streaming pull XML
|
|
|
|
parser and should be used when there is a need to process quickly and
|
|
|
|
efficiently all input elements (for example in SOAP processors). This
|
|
|
|
package is a stable XmlPull parsing engine that is based on ideas from XPP
|
|
|
|
and in particular XPP2 but completely revised and rewritten to take the best
|
|
|
|
advantage of JIT JVMs.")
|
|
|
|
(license (license:non-copyleft "file://LICENSE.txt"))))
|
2018-02-10 17:02:31 +00:00
|
|
|
|
|
|
|
(define-public java-xmlpull2
|
|
|
|
(package
|
|
|
|
(name "java-xmlpull2")
|
|
|
|
(version "2.1.10")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://www.extreme.indiana.edu/xgws/xsoap/"
|
|
|
|
"PullParser/PullParser" version ".tgz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1kw9nhyqb7bzhn2zjbwlpi5vp5rzj89amzi3hadw2acyh2dmd0md"))
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
'(begin ;; Delete bundled jar archives.
|
|
|
|
(for-each delete-file (find-files "." ".*\\.jar"))
|
|
|
|
#t))))
|
|
|
|
(build-system ant-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f; no tests
|
|
|
|
#:build-target "impl"
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(replace 'install (install-jars "build/lib")))))
|
|
|
|
(home-page "http://www.extreme.indiana.edu/xgws/xsoap/xpp/")
|
|
|
|
(synopsis "Streaming pull XML parser")
|
|
|
|
(description "Xml Pull Parser (in short XPP) is a streaming pull XML
|
|
|
|
parser and should be used when there is a need to process quickly and
|
|
|
|
efficiently all input elements (for example in SOAP processors). This
|
|
|
|
package is in maintenance mode.")
|
|
|
|
(license (license:non-copyleft "file:///LICENSE.txt"))))
|
2018-02-10 17:10:49 +00:00
|
|
|
|
2021-03-23 22:13:23 +00:00
|
|
|
(define-public java-xmlpull-api-v1
|
|
|
|
(package
|
|
|
|
(name "java-xmlpull-api-v1")
|
|
|
|
(version "1.1.3.4b")
|
|
|
|
(source (origin
|
|
|
|
;; The package is originally from Extreme! Lab, but the website
|
|
|
|
;; is now gone. This repositories contains the sources of the
|
|
|
|
;; latest version.
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/aslom/xmlpull-api-v1")
|
|
|
|
;; No releases, this is the latest commit
|
|
|
|
(commit "abeaa4aa87b2625af70c32f658f44e11355fe568")))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"15bdqxfncnakskna4m9gsh4f9iczxy83qxn2anqiqd15z406a5ih"))
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
`(begin
|
|
|
|
(delete-file-recursively "lib")
|
|
|
|
(mkdir-p "lib")
|
|
|
|
;; prevents a failure in "dist_lite"
|
|
|
|
(substitute* "build.xml"
|
|
|
|
(("README.html") "README.md"))))))
|
|
|
|
(build-system ant-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:test-target "junit"
|
|
|
|
#:build-target "dist"
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(replace 'install
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(doc (string-append out "/share/doc/" ,name "-" ,version))
|
|
|
|
(java (string-append out "/share/java"))
|
|
|
|
(project (string-append
|
|
|
|
"xmlpull_"
|
|
|
|
,(string-join (string-split version #\.) "_"))))
|
|
|
|
(mkdir-p doc)
|
|
|
|
(copy-recursively (string-append "build/dist/" project "/doc/")
|
|
|
|
doc)
|
|
|
|
(mkdir-p java)
|
|
|
|
(copy-file (string-append "build/dist/" project "/" project ".jar")
|
|
|
|
(string-append java "/" project ".jar")))
|
|
|
|
)))))
|
|
|
|
(home-page "https://github.com/aslom/xmlpull-api-v1")
|
|
|
|
(synopsis "XML pull parsing API")
|
|
|
|
(description "XmlPull v1 API is a simple to use XML pull parsing API. XML
|
|
|
|
pull parsing allows incremental (sometimes called streaming) parsing of XML
|
|
|
|
where application is in control - the parsing can be interrupted at any given
|
|
|
|
moment and resumed when application is ready to consume more input.")
|
|
|
|
(license license:public-domain)))
|
|
|
|
|
2018-02-10 17:10:49 +00:00
|
|
|
(define-public java-dom4j
|
|
|
|
(package
|
|
|
|
(name "java-dom4j")
|
2019-09-24 04:55:46 +00:00
|
|
|
(version "2.1.1")
|
2018-02-10 17:10:49 +00:00
|
|
|
(source (origin
|
2019-02-10 01:21:33 +00:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
(url "https://github.com/dom4j/dom4j")
|
2019-02-10 01:21:33 +00:00
|
|
|
(commit (string-append "version-" version))))
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-10 17:10:49 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2019-09-24 04:55:46 +00:00
|
|
|
"0q907srj9v4hwicpcrn4slyld5npf2jv7hzchsgrg29q2xmbwkdl"))
|
2018-02-10 17:10:49 +00:00
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
'(begin ;; Delete bundled jar archives.
|
|
|
|
(for-each delete-file (find-files "." ".*\\.jar"))
|
|
|
|
#t))))
|
|
|
|
(build-system ant-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:jar-name "dom4j.jar"
|
|
|
|
#:jdk ,icedtea-8
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
;; FIXME: Requires xalan, but xalan depends on java-cup which has a
|
|
|
|
;; dependency on itself through jflex.
|
|
|
|
#:tests? #f
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'build 'copy-jaxen-sources
|
|
|
|
;; java-jaxen-bootstrap is not enough. These files have a circular
|
|
|
|
;; dependency and there is no subset of dom4j that would allow
|
|
|
|
;; breaking the circle.
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(mkdir-p "jaxen-sources")
|
|
|
|
(with-directory-excursion "jaxen-sources"
|
|
|
|
(system* "jar" "xf" (assoc-ref inputs "java-jaxen-sources")))
|
|
|
|
(mkdir-p "src/main/java/org/jaxen/dom4j")
|
|
|
|
(copy-file "jaxen-sources/org/jaxen/dom4j/DocumentNavigator.java"
|
|
|
|
"src/main/java/org/jaxen/dom4j/DocumentNavigator.java")
|
|
|
|
(copy-file "jaxen-sources/org/jaxen/dom4j/Dom4jXPath.java"
|
|
|
|
"src/main/java/org/jaxen/dom4j/Dom4jXPath.java")
|
|
|
|
#t))
|
|
|
|
(add-before 'build 'fix-old-xpp2
|
|
|
|
(lambda _
|
|
|
|
;; This package normally depends on xpp2 2.0, but version 2.1.10
|
|
|
|
;; is the only version whose source code is published.
|
|
|
|
(substitute* "src/main/java/org/dom4j/xpp/ProxyXmlStartTag.java"
|
|
|
|
(("public void resetStartTag")
|
|
|
|
"public boolean removeAttributeByRawName(String name) {\n
|
|
|
|
return false;\n
|
|
|
|
}\n
|
|
|
|
public boolean removeAttributeByName(String name, String name2) {\n
|
|
|
|
return false;\n
|
|
|
|
}\n\npublic void resetStartTag")
|
|
|
|
(("Atttribute") "Attribute"))
|
|
|
|
#t)))))
|
|
|
|
(inputs
|
|
|
|
`(("java-jaxen-bootstrap" ,java-jaxen-bootstrap)
|
|
|
|
("java-jaxen-sources" ,(package-source java-jaxen-bootstrap))
|
|
|
|
("java-xmlpull2" ,java-xmlpull2)
|
|
|
|
("java-xpp3" ,java-xpp3)
|
|
|
|
("java-xsdlib" ,java-xsdlib)))
|
|
|
|
(native-inputs
|
|
|
|
`(("java-testng" ,java-testng)
|
|
|
|
("java-xerces" ,java-xerces)))
|
|
|
|
(home-page "https://dom4j.github.io/")
|
|
|
|
(synopsis "Flexible XML framework for Java")
|
|
|
|
(description "Dom4j is a flexible XML framework for Java. DOM4J works
|
|
|
|
with DOM, SAX, XPath, and XSLT. It can parse large XML documents with very
|
|
|
|
low memory footprint.")
|
|
|
|
;; some BSD-like 5-clause license
|
|
|
|
(license (license:non-copyleft "file://LICENSE"))))
|
2018-02-10 17:28:17 +00:00
|
|
|
|
|
|
|
(define-public java-kxml2
|
|
|
|
(package
|
|
|
|
(name "java-kxml2")
|
|
|
|
(version "2.4.2")
|
|
|
|
(source (origin
|
2019-02-10 01:37:28 +00:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
(url "https://github.com/stefanhaustein/kxml2")
|
2019-02-10 01:37:28 +00:00
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-10 17:28:17 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2019-02-10 01:37:28 +00:00
|
|
|
"0g6d8c9r9sh3x04sf4wdpgwvhkqvk11k3kq9skx91i60h4vn01hg"))))
|
2018-02-10 17:28:17 +00:00
|
|
|
(build-system ant-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:jar-name "kxml2.jar"
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
#:test-include (list "TestWb.java")
|
|
|
|
;; Test failure: it was expected to get an XML entity but got the
|
|
|
|
;; equivalent Unicode character instead.
|
|
|
|
#:tests? #f
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
2019-02-10 01:37:28 +00:00
|
|
|
(add-after 'unpack 'make-git-checkout-writable
|
|
|
|
(lambda _
|
|
|
|
(for-each make-file-writable (find-files "."))
|
|
|
|
#t))
|
2018-02-10 17:28:17 +00:00
|
|
|
(add-before 'build 'copy-resources
|
|
|
|
(lambda _
|
2018-06-28 01:13:52 +00:00
|
|
|
(copy-recursively "src/main/resources" "build/classes")
|
|
|
|
#t)))))
|
2018-02-10 17:28:17 +00:00
|
|
|
(inputs
|
|
|
|
`(("java-xpp3" ,java-xpp3)))
|
|
|
|
(native-inputs
|
|
|
|
`(("java-junit" ,java-junit)))
|
|
|
|
(home-page "http://kxml.org")
|
|
|
|
(synopsis "XML pull parser")
|
|
|
|
(description "kXML is a small XML pull parser, specially designed for
|
|
|
|
constrained environments such as Applets, Personal Java or devices compliant
|
|
|
|
with the Mobile Information Device Profile (MIDP).")
|
|
|
|
(license license:expat)))
|
2018-02-10 17:30:13 +00:00
|
|
|
|
|
|
|
(define-public java-stax
|
|
|
|
(package
|
|
|
|
(name "java-stax")
|
|
|
|
(version "1.2.0")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://repo1.maven.org/maven2/stax/stax/"
|
|
|
|
version "/stax-" version "-sources.jar"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"04ba4qvbrps45j8bldbakxq31k7gjlsay9pppa9yn13fr00q586z"))))
|
|
|
|
(build-system ant-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:jar-name "stax.jar"
|
|
|
|
#:tests? #f; no tests
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'configure 'fix-utf8
|
|
|
|
(lambda _
|
|
|
|
;; This file is ISO-8859-1 but java expects UTF-8.
|
|
|
|
;; Remove special characters in comments.
|
|
|
|
(with-fluids ((%default-port-encoding "ISO-8859-1"))
|
|
|
|
(substitute* "src/com/wutka/dtd/Scanner.java"
|
|
|
|
(("//.*") "\n")))
|
|
|
|
#t)))))
|
|
|
|
(home-page "https://repo1.maven.org/maven2/stax/stax/")
|
|
|
|
(synopsis "Streaming API for XML")
|
|
|
|
(description "This package provides the reference implementation of the
|
|
|
|
@dfn{Streaming API for XML} (StAX). It is used for streaming XML data to
|
|
|
|
and from a Java application. It provides a standard pull parser interface.")
|
|
|
|
(license license:asl2.0)))
|
2018-02-10 17:31:38 +00:00
|
|
|
|
|
|
|
(define-public java-jettison
|
|
|
|
(package
|
|
|
|
(name "java-jettison")
|
|
|
|
(version "1.3.7")
|
|
|
|
(source (origin
|
2019-02-10 12:30:02 +00:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
(url "https://github.com/codehaus/jettison")
|
2019-02-10 12:30:02 +00:00
|
|
|
(commit (string-append "jettison-" version))))
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-10 17:31:38 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2019-02-10 12:30:02 +00:00
|
|
|
"15sydmi5chdh4126qc7v8bsrp7fp4ldaya8a05iby4pq2324q0qw"))))
|
2018-02-10 17:31:38 +00:00
|
|
|
(build-system ant-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:jar-name "jettison.jar"
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
#:test-exclude (list "**/Abstract*.java"
|
|
|
|
;; Abstract classes
|
|
|
|
"**/DOMTest.java"
|
|
|
|
"**/BadgerFishDOMTest.java"
|
|
|
|
"**/MappedDOMTest.java")))
|
|
|
|
(native-inputs
|
|
|
|
`(("java-junit" ,java-junit)))
|
|
|
|
(home-page "https://github.com/codehaus/jettison")
|
|
|
|
(synopsis "StAX implementation for JSON")
|
|
|
|
(description "Jettison is a Java library for converting XML to JSON and
|
|
|
|
vice-versa with the help of the @dfn{Streaming API for XML} (StAX). It
|
|
|
|
implements @code{XMLStreamWriter} and @code{XMLStreamReader} and supports
|
|
|
|
@code{Mapped} and @code{BadgerFish} conventions.")
|
|
|
|
(license license:asl2.0)))
|
2018-02-10 17:35:02 +00:00
|
|
|
|
|
|
|
(define-public java-jdom2
|
|
|
|
(package
|
|
|
|
(name "java-jdom")
|
|
|
|
(version "2.0.6")
|
|
|
|
(source (origin
|
2019-02-10 10:59:31 +00:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
(url "https://github.com/hunterhacker/jdom")
|
2019-02-10 10:59:31 +00:00
|
|
|
(commit (string-append "JDOM-" version))))
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-10 17:35:02 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2019-02-10 10:59:31 +00:00
|
|
|
"14vv1kxrsdvwi4cz3rx6r48w5y6fvk9cymil8qhvxwp56xxrgxiq"))))
|
2018-02-10 17:35:02 +00:00
|
|
|
(build-system ant-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:build-target "package"
|
2019-02-10 10:59:31 +00:00
|
|
|
#:tests? #f ; tests are run as part of the build process
|
2018-02-10 17:35:02 +00:00
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(replace 'install
|
|
|
|
(install-jars "build")))))
|
|
|
|
(home-page "http://jdom.org/")
|
|
|
|
(synopsis "Access, manipulate, and output XML data")
|
|
|
|
(description "Jdom is a Java-based solution for accessing, manipulating, and
|
|
|
|
outputting XML data from Java code.")
|
|
|
|
(license license:bsd-4)))
|
2018-02-10 17:40:05 +00:00
|
|
|
|
|
|
|
(define-public java-xstream
|
|
|
|
(package
|
|
|
|
(name "java-xstream")
|
gnu: java-xstream: Update to 1.4.16 [security fixes].
Fixes CVE-2021-21341, CVE-2021-21342, CVE-2021-21343, CVE-2021-21344,
CVE-2021-21345, CVE-2021-21346, CVE-2021-21347, CVE-2021-21348,
CVE-2021-21349, CVE-2021-21350 and CVE-2021-21351.
* gnu/packages/xml.scm (java-xstream): Update to 1.4.16.
[inputs]: Add java-mxparser, a fork of java-xpp3 made by upstream.
Java-xpp3 is still needed.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-03-23 14:38:40 +00:00
|
|
|
(version "1.4.16")
|
2019-02-10 14:30:24 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
(url "https://github.com/x-stream/xstream")
|
2019-02-10 14:30:24 +00:00
|
|
|
(commit (string-append
|
|
|
|
"XSTREAM_"
|
|
|
|
(string-map (lambda (x) (if (eq? x #\.) #\_ x))
|
|
|
|
version)))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
gnu: java-xstream: Update to 1.4.16 [security fixes].
Fixes CVE-2021-21341, CVE-2021-21342, CVE-2021-21343, CVE-2021-21344,
CVE-2021-21345, CVE-2021-21346, CVE-2021-21347, CVE-2021-21348,
CVE-2021-21349, CVE-2021-21350 and CVE-2021-21351.
* gnu/packages/xml.scm (java-xstream): Update to 1.4.16.
[inputs]: Add java-mxparser, a fork of java-xpp3 made by upstream.
Java-xpp3 is still needed.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-03-23 14:38:40 +00:00
|
|
|
(base32 "16k2mc63h2fw7lxv74qmhg4p8q9hfrw114daa6nxwnpv08cnq755"))))
|
2018-02-10 17:40:05 +00:00
|
|
|
(build-system ant-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:jar-name "xstream.jar"
|
2019-02-10 14:30:24 +00:00
|
|
|
;; FIXME: Tests are not in a java subdirectory as assumed by ant-build-system.
|
2018-02-10 17:40:05 +00:00
|
|
|
#:tests? #f
|
|
|
|
#:jdk ,icedtea-8
|
|
|
|
#:source-dir "xstream/src/java"))
|
|
|
|
(inputs
|
|
|
|
`(("java-jdom" ,java-jdom)
|
|
|
|
("java-jdom2" ,java-jdom2)
|
|
|
|
("java-cglib" ,java-cglib)
|
|
|
|
("java-joda-time" ,java-joda-time)
|
|
|
|
("java-jettison" ,java-jettison)
|
|
|
|
("java-xom" ,java-xom)
|
gnu: java-xstream: Update to 1.4.16 [security fixes].
Fixes CVE-2021-21341, CVE-2021-21342, CVE-2021-21343, CVE-2021-21344,
CVE-2021-21345, CVE-2021-21346, CVE-2021-21347, CVE-2021-21348,
CVE-2021-21349, CVE-2021-21350 and CVE-2021-21351.
* gnu/packages/xml.scm (java-xstream): Update to 1.4.16.
[inputs]: Add java-mxparser, a fork of java-xpp3 made by upstream.
Java-xpp3 is still needed.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-03-23 14:38:40 +00:00
|
|
|
("java-mxparser" ,java-mxparser)
|
2018-02-10 17:40:05 +00:00
|
|
|
("java-xpp3" ,java-xpp3)
|
|
|
|
("java-dom4j" ,java-dom4j)
|
|
|
|
("java-stax2-api" ,java-stax2-api)
|
|
|
|
("java-woodstox-core" ,java-woodstox-core)
|
|
|
|
("java-kxml2" ,java-kxml2)
|
|
|
|
("java-stax" ,java-stax)))
|
|
|
|
(home-page "https://x-stream.github.io")
|
|
|
|
(synopsis "XML serialization library")
|
|
|
|
(description "XStream is a simple library to serialize Java objects to XML
|
|
|
|
and back again.")
|
|
|
|
(license license:bsd-3)))
|
2018-02-12 22:50:17 +00:00
|
|
|
|
2021-03-23 14:38:39 +00:00
|
|
|
(define-public java-mxparser
|
|
|
|
(package
|
|
|
|
(name "java-mxparser")
|
|
|
|
(version "1.2.1")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/x-stream/mxparser")
|
|
|
|
(commit (string-append "v-" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32 "0i3jrjbz4hgf62fm1ix7nlcmhi4kcv4flqsfvh7a3l2v7nsp5ryb"))))
|
|
|
|
(build-system ant-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:jar-name "mxparser.jar"
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
#:test-dir "src/test"
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'build 'copy-resources
|
|
|
|
(lambda _
|
|
|
|
(copy-recursively "src/main/resources" "build/classes")
|
|
|
|
#t)))))
|
|
|
|
(propagated-inputs
|
|
|
|
`(("java-xmlpull-api-v1" ,java-xmlpull-api-v1)))
|
|
|
|
(native-inputs
|
|
|
|
`(("java-junit" ,java-junit)))
|
|
|
|
(home-page "https://github.com/x-stream/mxparser")
|
|
|
|
(synopsis "Streaming pull XML parser forked from @code{java-xpp3}")
|
|
|
|
(description "Xml Pull Parser (in short XPP) is a streaming pull XML
|
|
|
|
parser and should be used when there is a need to process quickly and
|
|
|
|
efficiently all input elements (for example in SOAP processors). This
|
|
|
|
package is a stable XmlPull parsing engine that is based on ideas from XPP
|
|
|
|
and in particular XPP2 but completely revised and rewritten to take the best
|
|
|
|
advantage of JIT JVMs.
|
|
|
|
|
|
|
|
MXParser is a fork of xpp3_min 1.1.7 containing only the parser with merged
|
|
|
|
changes of the Plexus fork. It is an implementation of the XMLPULL V1 API
|
|
|
|
(parser only).")
|
|
|
|
(license (license:non-copyleft "file://LICENSE.txt"))))
|
|
|
|
|
2018-11-09 10:31:17 +00:00
|
|
|
(define-public xmlrpc-c
|
|
|
|
(package
|
|
|
|
(name "xmlrpc-c")
|
|
|
|
(version "1.43.08")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://sourceforge/xmlrpc-c/Xmlrpc-c%20Super%20Stable/"
|
|
|
|
version "/xmlrpc-c-" version ".tgz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"18zwbj6i2hpcn5riiyp8i6rml0sfv60dd7phw1x8g4r4lj2bbxf9"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("curl" ,curl)))
|
|
|
|
(native-inputs
|
|
|
|
`(;; For tools, if ever needed.
|
|
|
|
("perl" ,perl)))
|
|
|
|
(arguments
|
|
|
|
`(#:make-flags ; Add $libdir to the RUNPATH of all the executables.
|
|
|
|
(list (string-append "LDFLAGS_PERSONAL=-Wl,-rpath=" %output "/lib"))
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'fix-/bin/sh-in-tests
|
|
|
|
(lambda _
|
|
|
|
(substitute* "GNUmakefile"
|
|
|
|
(("#! /bin/sh") (which "sh")))
|
|
|
|
#t)))))
|
|
|
|
(home-page "http://xmlrpc-c.sourceforge.net/")
|
|
|
|
(synopsis "Lightweight RPC library based on XML and HTTP")
|
|
|
|
(description
|
|
|
|
"XML-RPC is a quick-and-easy way to make procedure calls over the Internet.
|
|
|
|
It converts the procedure call into an XML document, sends it to a remote
|
|
|
|
server using HTTP, and gets back the response as XML. This library provides a
|
|
|
|
modular implementation of XML-RPC for C and C++.")
|
|
|
|
(license (list license:psfl license:expat))))
|
2018-12-01 20:14:59 +00:00
|
|
|
|
2020-12-28 16:29:36 +00:00
|
|
|
(define-public opensp
|
|
|
|
(package
|
|
|
|
(name "opensp")
|
|
|
|
(version "1.5.2")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://sourceforge/openjade/opensp/"
|
|
|
|
version "/OpenSP-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1khpasr6l0a8nfz6kcf3s81vgdab8fm2dj291n5r2s53k228kx2p"))))
|
2020-12-28 19:01:47 +00:00
|
|
|
(outputs '("out" "doc"))
|
2020-12-28 16:29:36 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("docbook-xml" ,docbook-xml-4.1.2)
|
|
|
|
("docbook-xsl" ,docbook-xsl)
|
2020-12-28 19:01:47 +00:00
|
|
|
("libxml2" ,libxml2) ;for XML_CATALOG_DIR
|
|
|
|
("xmlto" ,xmlto)
|
|
|
|
;; Dependencies to regenerate the 'configure' script.
|
|
|
|
("autoconf" ,autoconf)
|
|
|
|
("automake" ,automake)
|
|
|
|
("gettext" ,gettext-minimal)
|
|
|
|
("libtool" ,libtool)))
|
2020-12-28 16:29:36 +00:00
|
|
|
(arguments
|
2020-12-28 19:01:47 +00:00
|
|
|
`( ;; Note: we cannot use '--enable-full-doc-build' as this would require
|
|
|
|
;; Openjade, which in turn requires this package.
|
|
|
|
|
|
|
|
;; Skip the tests that are known to fail (see:
|
|
|
|
;; https://sourceforge.net/p/openjade/mailman/message/6182316/)
|
|
|
|
#:make-flags '("TESTS_THAT_FAIL=")
|
2020-12-28 16:29:36 +00:00
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'patch-docbook-paths
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
|
|
|
|
"/xml/dtd/docbook"))
|
|
|
|
(xsldoc (string-append (assoc-ref inputs "docbook-xsl")
|
|
|
|
"/xml/xsl/docbook-xsl-"
|
|
|
|
,(package-version docbook-xsl))))
|
|
|
|
(substitute* (find-files "docsrc" "\\.xml$")
|
|
|
|
(("/usr/share/sgml/docbook/xml-dtd-4.1.2") xmldoc)
|
|
|
|
(("http://.*/docbookx\\.dtd")
|
|
|
|
(string-append xmldoc "/docbookx.dtd")))
|
2020-12-28 19:01:47 +00:00
|
|
|
#t)))
|
|
|
|
(add-after 'patch-docbook-paths 'delete-configure
|
|
|
|
;; The configure script in the release was made with an older
|
|
|
|
;; Autoconf and lacks support for the `--docdir' option.
|
|
|
|
(lambda _
|
|
|
|
(delete-file "configure")
|
|
|
|
#t))
|
|
|
|
(add-after 'delete-configure 'honor-docdir
|
|
|
|
;; docdir is not honored due to being hardcoded in the various
|
|
|
|
;; Makefile.am (see: https://sourceforge.net/p/openjade/bugs/147/).
|
|
|
|
(lambda _
|
|
|
|
(substitute* '("Makefile.am" "doc/Makefile.am" "docsrc/Makefile.am")
|
|
|
|
(("^docdir = .*") "docdir = @docdir@\n"))
|
|
|
|
#t))
|
|
|
|
(add-after 'delete-configure 'fix-tests-makefile.am
|
|
|
|
;; Remove the trailing $(SHELL) from the TESTS_ENVIRONMENT variable
|
|
|
|
;; definition. Otherwise, when targets are built using
|
|
|
|
;; "$(am__check_pre) $(LOG_DRIVER) [...]", there would be two
|
|
|
|
;; $(SHELL) expansion which fails the build.
|
|
|
|
(lambda _
|
|
|
|
(substitute* "tests/Makefile.am"
|
|
|
|
(("^\tOSGMLNORM=`echo osgmlnorm\\|sed '\\$\\(transform\\)'`\\\\")
|
|
|
|
"\tOSGMLNORM=`echo osgmlnorm|sed '$(transform)'`")
|
|
|
|
(("^\t\\$\\(SHELL\\)\n") ""))
|
|
|
|
#t)))))
|
|
|
|
;; $SGML_CATALOG_FILES lists 'catalog' or 'CATALOG' or '*.cat' files found
|
|
|
|
;; under the 'sgml' sub-directory of any given package.
|
|
|
|
(native-search-paths (list (search-path-specification
|
|
|
|
(variable "SGML_CATALOG_FILES")
|
|
|
|
(separator ":")
|
|
|
|
(files '("sgml"))
|
|
|
|
(file-pattern "^catalog$|^CATALOG$|^.*\\.cat$")
|
|
|
|
(file-type 'regular))))
|
2020-12-28 16:29:36 +00:00
|
|
|
(home-page "http://openjade.sourceforge.net/")
|
|
|
|
(synopsis "Suite of SGML/XML processing tools")
|
|
|
|
(description "OpenSP is an object-oriented toolkit for SGML parsing and
|
2020-12-28 19:01:47 +00:00
|
|
|
entity management. It is a fork of James Clark's SP suite. The tools it
|
|
|
|
contains can be used to parse, validate, and normalize SGML and XML files.
|
|
|
|
The central program included in this package is @code{onsgmls}, which replaces
|
|
|
|
@code{sgmls}, @code{ospam}, @code{ospent}, @code{osgmlnorm}, and @code{osx}.")
|
2020-12-28 16:29:36 +00:00
|
|
|
(license
|
|
|
|
;; expat license with added clause regarding advertising
|
|
|
|
(license:non-copyleft
|
|
|
|
"file://COPYING"
|
|
|
|
"See COPYING in the distribution."))))
|
|
|
|
|
2020-01-15 19:18:05 +00:00
|
|
|
(define-public python-elementpath
|
|
|
|
(package
|
|
|
|
(name "python-elementpath")
|
2020-01-26 11:48:56 +00:00
|
|
|
(version "1.4.0")
|
2020-01-15 19:18:05 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "elementpath" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2020-01-26 11:48:56 +00:00
|
|
|
"15h7d41v48q31hzjay7qzixdv531hnga3h35hksk7x52pgqcrkz7"))))
|
2020-01-15 19:18:05 +00:00
|
|
|
(build-system python-build-system)
|
|
|
|
(home-page
|
|
|
|
"https://github.com/sissaschool/elementpath")
|
|
|
|
(synopsis
|
|
|
|
"XPath 1.0/2.0 parsers and selectors for ElementTree and lxml")
|
|
|
|
(description
|
|
|
|
"The proposal of this package is to provide XPath 1.0 and 2.0 selectors
|
|
|
|
for Python's ElementTree XML data structures, both for the standard
|
|
|
|
ElementTree library and for the @uref{http://lxml.de, lxml.etree} library.
|
|
|
|
|
|
|
|
For lxml.etree this package can be useful for providing XPath 2.0 selectors,
|
|
|
|
because lxml.etree already has it's own implementation of XPath 1.0.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2020-01-15 19:19:26 +00:00
|
|
|
(define-public python-lxml
|
|
|
|
(package
|
|
|
|
(name "python-lxml")
|
|
|
|
(version "4.4.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "lxml" version))
|
|
|
|
(sha256
|
|
|
|
(base32 "01nvb5j8vs9nk4z5s3250b1m22b4d08kffa36if3g1mdygdrvxpg"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
(replace 'check
|
|
|
|
(lambda _
|
|
|
|
(invoke "make" "test"))))))
|
|
|
|
(inputs
|
|
|
|
`(("libxml2" ,libxml2)
|
|
|
|
("libxslt" ,libxslt)))
|
|
|
|
(home-page "https://lxml.de/")
|
|
|
|
(synopsis "Python XML processing library")
|
|
|
|
(description
|
|
|
|
"The lxml XML toolkit is a Pythonic binding for the C libraries
|
|
|
|
libxml2 and libxslt.")
|
|
|
|
(license license:bsd-3))) ; and a few more, see LICENSES.txt
|
|
|
|
|
|
|
|
(define-public python2-lxml
|
|
|
|
(package-with-python2 python-lxml))
|
|
|
|
|
2020-01-15 19:20:25 +00:00
|
|
|
(define-public python-xmlschema
|
|
|
|
(package
|
|
|
|
(name "python-xmlschema")
|
2020-03-26 14:48:09 +00:00
|
|
|
(version "1.1.2")
|
2020-01-15 19:20:25 +00:00
|
|
|
(source (origin
|
2020-01-26 11:49:17 +00:00
|
|
|
;; Unit tests are not distributed with the PyPI archive.
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/sissaschool/xmlschema")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
2020-01-15 19:20:25 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2020-03-26 14:48:09 +00:00
|
|
|
"03bz5mp45y4shmlc1gxq1h69vjx60z1acg9cy4kq7fczgx8qg9jw"))))
|
2020-01-15 19:20:25 +00:00
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(replace 'check
|
|
|
|
(lambda* (#:key (tests? #t) #:allow-other-keys)
|
|
|
|
(if tests?
|
|
|
|
(begin
|
|
|
|
(setenv "PYTHONPATH"
|
|
|
|
(string-append "./build/lib:"
|
|
|
|
(getenv "PYTHONPATH")))
|
2020-01-26 11:49:17 +00:00
|
|
|
(invoke "python" "-m" "unittest" "-v"))
|
2020-01-15 19:20:25 +00:00
|
|
|
(format #t "test suite not run~%"))
|
|
|
|
#t)))))
|
|
|
|
(native-inputs
|
|
|
|
`(("python-lxml" ,python-lxml))) ;for tests
|
|
|
|
(propagated-inputs
|
|
|
|
`(("python-elementpath" ,python-elementpath)))
|
|
|
|
(home-page "https://github.com/sissaschool/xmlschema")
|
|
|
|
(synopsis "XML Schema validator and data conversion library")
|
|
|
|
(description
|
|
|
|
"The @code{xmlschema} library is an implementation of
|
|
|
|
@url{https://www.w3.org/2001/XMLSchema, XML Schema} for Python. It has
|
|
|
|
full support for the XSD 1.0 and 1.1 standards, an XPath-based API for
|
|
|
|
finding schema's elements and attributes; and can encode and decode
|
|
|
|
XML data to JSON and other formats.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2018-12-01 20:14:59 +00:00
|
|
|
(define-public python-xmltodict
|
|
|
|
(package
|
|
|
|
(name "python-xmltodict")
|
2019-12-10 07:17:47 +00:00
|
|
|
(version "0.12.0")
|
2018-12-01 20:14:59 +00:00
|
|
|
(source
|
2019-12-10 07:19:43 +00:00
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "xmltodict" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"08cadlb9vsb4pmzc99lz3a2lx6qcfazyvgk10pcqijvyxlwcdn2h"))))
|
2018-12-01 20:14:59 +00:00
|
|
|
(build-system python-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("python-coverage" ,python-coverage)
|
|
|
|
("python-nose" ,python-nose)))
|
|
|
|
(home-page "https://github.com/martinblech/xmltodict")
|
|
|
|
(synopsis "Work with XML like you are working with JSON")
|
|
|
|
(description "This package provides a Python library to convert XML to
|
|
|
|
@code{OrderedDict}.")
|
|
|
|
(license license:expat)))
|