1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
3 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
4 ;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
5 ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
6 ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
7 ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
8 ;;; Copyright © 2015 Efraim Flashner <efraim@flashner.co.il>
9 ;;; Copyright © 2015 Raimon Grau <raimonster@gmail.com>
11 ;;; This file is part of GNU Guix.
13 ;;; GNU Guix is free software; you can redistribute it and/or modify it
14 ;;; under the terms of the GNU General Public License as published by
15 ;;; the Free Software Foundation; either version 3 of the License, or (at
16 ;;; your option) any later version.
18 ;;; GNU Guix is distributed in the hope that it will be useful, but
19 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
20 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ;;; GNU General Public License for more details.
23 ;;; You should have received a copy of the GNU General Public License
24 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
26 (define-module (gnu packages xml)
27 #:use-module (gnu packages)
28 #:use-module (gnu packages autotools)
29 #:use-module (gnu packages compression)
30 #:use-module (gnu packages gnupg)
31 #:use-module (gnu packages perl)
32 #:use-module (gnu packages python)
33 #:use-module (gnu packages tls)
34 #:use-module (gnu packages web)
35 #:use-module ((guix licenses) #:prefix license:)
36 #:use-module (guix packages)
37 #:use-module (guix download)
38 #:use-module (guix build-system cmake)
39 #:use-module (guix build-system gnu)
40 #:use-module (guix build-system perl)
41 #:use-module (guix build-system python)
42 #:use-module (gnu packages linux))
50 (uri (string-append "mirror://sourceforge/expat/expat/"
51 version "/expat-" version ".tar.gz"))
54 "11pblz61zyxh68s5pdcbhc30ha1b2vfjd83aiwfg4vc15x3hadw2"))
55 (patches (list (search-patch "expat-CVE-2015-1283.patch")))))
56 (build-system gnu-build-system)
57 (home-page "http://www.libexpat.org/")
58 (synopsis "Stream-oriented XML parser library written in C")
60 "Expat is an XML parser library written in C. It is a
61 stream-oriented parser in which an application registers handlers for
62 things the parser might find in the XML document (like start tags).")
63 (license license:expat)))
65 (define-public libxml2
71 (uri (string-append "ftp://xmlsoft.org/libxml2/libxml2-"
75 "0bd17g6znn2r98gzpjppsqjg33iraky4px923j3k8kdl8qgy7sad"))))
76 (build-system gnu-build-system)
77 (home-page "http://www.xmlsoft.org/")
78 (synopsis "C parser for XML")
79 (propagated-inputs `(("zlib" ,zlib))) ; libxml2.la says '-lz'.
80 (native-inputs `(("perl" ,perl)))
81 ;; $XML_CATALOG_FILES lists 'catalog.xml' files found in under the 'xml'
82 ;; sub-directory of any given package.
83 (native-search-paths (list (search-path-specification
84 (variable "XML_CATALOG_FILES")
87 (file-pattern "^catalog\\.xml$")
88 (file-type 'regular))))
89 (search-paths native-search-paths)
91 "Libxml2 is the XML C parser and toolkit developed for the Gnome
92 project (but it is usable outside of the Gnome platform).")
93 (license license:x11)))
95 (define-public python-libxml2
96 (package (inherit libxml2)
97 (name "python-libxml2")
98 (build-system python-build-system)
100 `(;; XXX: Tests are specified in 'Makefile.am', but not in 'setup.py'.
103 (modify-phases %standard-phases
106 (lambda* (#:key inputs #:allow-other-keys)
108 (let ((glibc (assoc-ref inputs ,(if (%current-target-system)
109 "cross-libc" "libc")))
110 (libxml2 (assoc-ref inputs "libxml2")))
111 (substitute* "setup.py"
112 ;; For 'libxml2/libxml/tree.h'.
114 (format #f "ROOT = r'~a'" libxml2))
117 (string-append glibc "/include")))))))))
118 (inputs `(("libxml2" ,libxml2)))
119 (synopsis "Python bindings for the libxml2 library")))
121 (define-public python2-libxml2
122 (package-with-python2 python-libxml2))
124 (define-public libxslt
130 (uri (string-append "ftp://xmlsoft.org/libxslt/libxslt-"
134 "13029baw9kkyjgr7q3jccw2mz38amq7mmpr5p3bh775qawd1bisz"))
135 (patches (list (search-patch "libxslt-CVE-2015-7995.patch")))))
136 (build-system gnu-build-system)
137 (home-page "http://xmlsoft.org/XSLT/index.html")
138 (synopsis "C library for applying XSLT stylesheets to XML documents")
139 (inputs `(("libgcrypt" ,libgcrypt)
141 ("python" ,python-minimal-wrapper)
144 "Libxslt is an XSLT C library developed for the GNOME project. It is
145 based on libxml for XML parsing, tree manipulation and XPath support.")
146 (license license:x11)))
148 (define-public perl-xml-parser
150 (name "perl-xml-parser")
155 "mirror://cpan/authors/id/T/TO/TODDR/XML-Parser-"
159 "05ij0g6bfn27iaggxf8nl5rhlwx6f6p6xmdav6rjcly3x5zd1s8s"))))
160 (build-system perl-build-system)
161 (arguments `(#:make-maker-flags
162 (let ((expat (assoc-ref %build-inputs "expat")))
163 (list (string-append "EXPATLIBPATH=" expat "/lib")
164 (string-append "EXPATINCPATH=" expat "/include")))))
165 (inputs `(("expat" ,expat)))
166 (license (package-license perl))
167 (synopsis "Perl bindings to the Expat XML parsing library")
169 "This module provides ways to parse XML documents. It is built on top of
170 XML::Parser::Expat, which is a lower level interface to James Clark's expat
171 library. Each call to one of the parsing methods creates a new instance of
172 XML::Parser::Expat which is then used to parse the document. Expat options
173 may be provided when the XML::Parser object is created. These options are
174 then passed on to the Expat object on each parse call. They can also be given
175 as extra arguments to the parse methods, in which case they override options
176 given at XML::Parser creation time.")
177 (home-page "http://search.cpan.org/dist/XML-Parser")))
179 (define-public perl-libxml
186 "mirror://cpan/authors/id/K/KM/KMACLEOD/libxml-perl-"
190 "1jy9af0ljyzj7wakqli0437zb2vrbplqj4xhab7bfj2xgfdhawa5"))))
191 (build-system perl-build-system)
193 `(("perl-xml-parser" ,perl-xml-parser)))
194 (license (package-license perl))
195 (synopsis "Perl SAX parser using XML::Parser")
197 "XML::Parser::PerlSAX is a PerlSAX parser using the XML::Parser
199 (home-page "http://search.cpan.org/~kmacleod/libxml-perl/lib/XML/Parser/PerlSAX.pm")))
201 (define-public perl-xml-libxml
203 (name "perl-xml-libxml")
208 (uri (string-append "mirror://cpan/authors/id/S/SH/SHLOMIF/"
209 "XML-LibXML-" version ".tar.gz"))
212 "170c8dbk4p6jw9is0cria73021yp3hpmhb19p9j0zg2yxwkawr6c"))))
213 (build-system perl-build-system)
215 `(("perl-xml-namespacesupport" ,perl-xml-namespacesupport)
216 ("perl-xml-sax" ,perl-xml-sax)))
218 `(("libxml2" ,libxml2)))
219 (home-page "http://search.cpan.org/dist/XML-LibXML")
220 (synopsis "Perl interface to libxml2")
221 (description "This module implements a Perl interface to the libxml2
222 library which provides interfaces for parsing and manipulating XML files. This
223 module allows Perl programmers to make use of the highly capable validating
224 XML parser and the high performance DOM implementation.")
225 (license (package-license perl))))
227 (define-public perl-xml-libxml-simple
229 (name "perl-xml-libxml-simple")
233 (uri (string-append "mirror://cpan/authors/id/M/MA/MARKOV/"
234 "XML-LibXML-Simple-" version ".tar.gz"))
237 "0qqfqj5bgqmh1j4iv8dwl3g00nsmcvf2b7w1d09k9d77rrb249xi"))))
238 (build-system perl-build-system)
240 `(("perl-file-slurp-tiny" ,perl-file-slurp-tiny)
241 ("perl-xml-libxml" ,perl-xml-libxml)))
242 (home-page "http://search.cpan.org/dist/XML-LibXML-Simple")
243 (synopsis "XML::LibXML based XML::Simple clone")
245 "This package provides the same API as @code{XML::Simple} but is based on
246 @code{XML::LibXML}.")
247 (license (package-license perl))))
249 (define-public perl-xml-namespacesupport
251 (name "perl-xml-namespacesupport")
256 (uri (string-append "mirror://cpan/authors/id/P/PE/PERIGRIN/"
257 "XML-NamespaceSupport-" version ".tar.gz"))
260 "1sklgcldl3w6gn706vx1cgz6pm4y5lfgsjxnfqyk20pilgq530bd"))))
261 (build-system perl-build-system)
262 (home-page "http://search.cpan.org/dist/XML-NamespaceSupport")
263 (synopsis "XML namespace support class")
264 (description "This module offers a simple to process namespaced XML
265 names (unames) from within any application that may need them. It also helps
266 maintain a prefix to namespace URI map, and provides a number of basic
268 (license (package-license perl))))
270 (define-public perl-xml-sax
272 (name "perl-xml-sax")
277 (uri (string-append "mirror://cpan/authors/id/G/GR/GRANTM/"
278 "XML-SAX-" version ".tar.gz"))
281 "115dypb50w1l94y3iwihv5nkixbsv1cxiqkd93y4rk5n6s74pc1j"))))
282 (build-system perl-build-system)
284 `(("perl-xml-namespacesupport" ,perl-xml-namespacesupport)
285 ("perl-xml-sax-base" ,perl-xml-sax-base)))
287 `(#:phases (modify-phases %standard-phases
289 'install 'augment-path
290 ;; The install target tries to load the newly-installed
291 ;; XML::SAX module, but can't find it, so we need to tell
292 ;; perl where to look.
293 (lambda* (#:key outputs #:allow-other-keys)
295 (string-append (getenv "PERL5LIB") ":"
296 (assoc-ref outputs "out")
297 "/lib/perl5/site_perl")))))))
298 (home-page "http://search.cpan.org/dist/XML-SAX")
299 (synopsis "Perl API for XML")
300 (description "XML::SAX consists of several framework classes for using and
301 building Perl SAX2 XML parsers, filters, and drivers.")
302 (license (package-license perl))))
304 (define-public perl-xml-sax-base
306 (name "perl-xml-sax-base")
311 (uri (string-append "mirror://cpan/authors/id/G/GR/GRANTM/"
312 "XML-SAX-Base-" version ".tar.gz"))
315 "17i161rq1ngjlk0c8vdkrkkc56y1pf51k1g54y28py0micqp0qk6"))))
316 (build-system perl-build-system)
317 (home-page "http://search.cpan.org/dist/XML-SAX-Base")
318 (synopsis "Base class for SAX Drivers and Filters")
319 (description "This module has a very simple task - to be a base class for
320 PerlSAX drivers and filters. It's default behaviour is to pass the input
321 directly to the output unchanged. It can be useful to use this module as a
322 base class so you don't have to, for example, implement the characters()
324 (license (package-license perl))))
326 (define-public perl-xml-simple
328 (name "perl-xml-simple")
333 "mirror://cpan/authors/id/G/GR/GRANTM/XML-Simple-"
337 "0jj3jiray1l4pi9wkjcpxjc3v431whdwx5aqnhgdm4i7h3817zsw"))))
338 (build-system perl-build-system)
340 `(("perl-xml-parser" ,perl-xml-parser)))
341 (license (package-license perl))
342 (synopsis "Perl module for easy reading/writing of XML files")
344 "The XML::Simple module provides a simple API layer on top of an
345 underlying XML parsing module (either XML::Parser or one of the SAX2
347 (home-page "http://search.cpan.org/~grantm/XML-Simple-2.20/lib/XML/Simple.pm")))
349 (define-public perl-xml-regexp
351 (name "perl-xml-regexp")
356 "mirror://cpan/authors/id/T/TJ/TJMATHER/XML-RegExp-"
360 "0m7wj00a2kik7wj0azhs1zagwazqh3hlz4255n75q21nc04r06fz"))))
361 (build-system perl-build-system)
363 `(("perl-xml-parser" ,perl-xml-parser)))
364 (license (package-license perl))
365 (synopsis "Perl regular expressions for XML tokens")
367 "XML::RegExp contains regular expressions for the following XML tokens:
368 BaseChar, Ideographic, Letter, Digit, Extender, CombiningChar, NameChar,
369 EntityRef, CharRef, Reference, Name, NmToken, and AttValue.")
370 (home-page "http://search.cpan.org/~tjmather/XML-RegExp/lib/XML/RegExp.pm")))
372 (define-public perl-xml-dom
374 (name "perl-xml-dom")
379 "mirror://cpan/authors/id/T/TJ/TJMATHER/XML-DOM-"
383 "1r0ampc88ni3sjpzr583k86076qg399arfm9xirv3cw49k3k5bzn"))))
384 (build-system perl-build-system)
386 `(("perl-libwww" ,perl-libwww)
387 ("perl-libxml" ,perl-libxml)
388 ("perl-xml-regexp" ,perl-xml-regexp)))
389 (license (package-license perl))
391 "Perl module for building DOM Level 1 compliant document structures")
393 "This module extends the XML::Parser module by Clark Cooper. The
394 XML::Parser module is built on top of XML::Parser::Expat, which is a lower
395 level interface to James Clark's expat library. XML::DOM::Parser is derived
396 from XML::Parser. It parses XML strings or files and builds a data structure
397 that conforms to the API of the Document Object Model.")
398 (home-page "http://search.cpan.org/~tjmather/XML-DOM-1.44/lib/XML/DOM.pm")))
400 (define-public perl-xml-compile-tester
402 (name "perl-xml-compile-tester")
406 (uri (string-append "mirror://cpan/authors/id/M/MA/MARKOV/"
407 "XML-Compile-Tester-" version ".tar.gz"))
410 "1bcl8x8cyacqv9yjp97aq9qq85sy8wv78kd8c16yd9yw3by4cpp1"))))
411 (build-system perl-build-system)
413 `(("perl-log-report" ,perl-log-report)
414 ("perl-test-deep" ,perl-test-deep)))
415 (home-page "http://search.cpan.org/dist/XML-Compile-Tester")
416 (synopsis "XML::Compile related regression testing")
418 "The @code{XML::Compile} module suite has extensive regression testing.
419 This module provide functions which simplify writing tests for
420 @code{XML::Compile} related distributions.")
421 (license (package-license perl))))
423 (define-public perl-xml-compile
425 (name "perl-xml-compile")
429 (uri (string-append "mirror://cpan/authors/id/M/MA/MARKOV/"
430 "XML-Compile-" version ".tar.gz"))
433 "06fj4zf0yh4kf3kx4bhwrmrjr6al40nasasbgfhn8f1zxwkmm8f2"))))
434 (build-system perl-build-system)
436 `(("perl-log-report" ,perl-log-report)
437 ("perl-xml-compile-tester" ,perl-xml-compile-tester)
438 ("perl-xml-libxml" ,perl-xml-libxml)
439 ("perl-test-deep" ,perl-test-deep)))
440 (home-page "http://search.cpan.org/dist/XML-Compile")
441 (synopsis "Compilation-based XML processing")
443 "@code{XML::Compile} can be used to translate a Perl data-structure into
444 XML or XML into a Perl data-structure, both directions under rigid control by
446 (license (package-license perl))))
448 (define-public perl-xml-compile-cache
450 (name "perl-xml-compile-cache")
454 (uri (string-append "mirror://cpan/authors/id/M/MA/MARKOV/"
455 "XML-Compile-Cache-" version ".tar.gz"))
458 "1689dm54n7wb0n0cl9n77vk0kvg0mcckn2hz9ahigjhvazah8740"))))
459 (build-system perl-build-system)
461 `(("perl-log-report" ,perl-log-report)
462 ("perl-xml-compile" ,perl-xml-compile)
463 ("perl-xml-compile-tester" ,perl-xml-compile-tester)
464 ("perl-xml-libxml-simple" ,perl-xml-libxml-simple)))
465 (home-page "http://search.cpan.org/dist/XML-Compile-Cache")
466 (synopsis "Cache compiled XML translators")
468 "This package provides methods to cache compiled XML translators.")
469 (license (package-license perl))))
471 (define-public perl-xml-compile-soap
473 (name "perl-xml-compile-soap")
477 (uri (string-append "mirror://cpan/authors/id/M/MA/MARKOV/"
478 "XML-Compile-SOAP-" version ".tar.gz"))
481 "08qw63l78040nh37xzapbqp43g6s5l67bvskf3dyyizlarjx5mi4"))))
482 (build-system perl-build-system)
484 `(("perl-file-slurp-tiny" ,perl-file-slurp-tiny)
485 ("perl-libwww" ,perl-libwww)
486 ("perl-log-report" ,perl-log-report)
487 ("perl-xml-compile" ,perl-xml-compile)
488 ("perl-xml-compile-cache" ,perl-xml-compile-cache)
489 ("perl-xml-compile-tester" ,perl-xml-compile-tester)))
490 (home-page "http://search.cpan.org/dist/XML-Compile-SOAP")
491 (synopsis "Base-class for SOAP implementations")
493 "This module provides a class to handle the SOAP protocol. The first
494 implementation is @url{SOAP1.1,
495 http://www.w3.org/TR/2000/NOTE-SOAP-20000508/}, which is still most often
497 (license (package-license perl))))
499 (define-public perl-xml-compile-wsdl11
501 (name "perl-xml-compile-wsdl11")
505 (uri (string-append "mirror://cpan/authors/id/M/MA/MARKOV/"
506 "XML-Compile-WSDL11-" version ".tar.gz"))
509 "0pyikwnfwpangvnkf5dbdagy4z93ag9824f1ax5qaibc3ghca8kv"))))
510 (build-system perl-build-system)
512 `(("perl-log-report" ,perl-log-report)
513 ("perl-xml-compile" ,perl-xml-compile)
514 ("perl-xml-compile-cache" ,perl-xml-compile-cache)
515 ("perl-xml-compile-soap" ,perl-xml-compile-soap)))
516 (home-page "http://search.cpan.org/dist/XML-Compile-WSDL11")
517 (synopsis "Create SOAP messages defined by WSDL 1.1")
519 "This module understands WSDL version 1.1. A WSDL file defines a set of
520 messages to be send and received over SOAP connections. This involves
521 encoding of the message to be send into XML, sending the message to the
522 server, collect the answer, and finally decoding the XML to Perl.")
523 (license (package-license perl))))
525 (define-public pugixml
532 (uri (string-append "https://github.com/zeux/pugixml/archive/v"
534 (file-name (string-append name "-" version ".tar.gz"))
537 "0czbcv9aqf2rw3s9cljz2wb1f4zbhd07wnj7ykklklccl0ipfnwi"))))
538 (build-system cmake-build-system)
542 #:phases (modify-phases %standard-phases
548 (home-page "http://pugixml.org")
549 (synopsis "Light-weight, simple and fast XML parser for C++ with XPath support")
551 "pugixml is a C++ XML processing library, which consists of a DOM-like
552 interface with rich traversal/modification capabilities, a fast XML parser
553 which constructs the DOM tree from an XML file/buffer, and an XPath 1.0
554 implementation for complex data-driven tree queries. Full Unicode support is
555 also available, with Unicode interface variants and conversions between
556 different Unicode encodings which happen automatically during
558 (license license:expat)))
568 "https://fedorahosted.org/releases/x/m/xmlto/xmlto-"
572 "0xhj8b2pwp4vhl9y16v3dpxpsakkflfamr191mprzsspg4xdyc0i"))))
573 (build-system gnu-build-system)
575 ;; Make sure the reference to util-linux's 'getopt' is kept in 'xmlto'.
576 '(#:configure-flags (list (string-append "GETOPT="
577 (assoc-ref %build-inputs
581 `(("util-linux" ,util-linux) ; for 'getopt'
582 ("libxml2" ,libxml2) ; for 'xmllint'
583 ("libxslt" ,libxslt))) ; for 'xsltproc'
584 (home-page "http://cyberelk.net/tim/software/xmlto/")
585 (synopsis "Front-end to an XSL toolchain")
587 "Xmlto is a front-end to an XSL toolchain. It chooses an appropriate
588 stylesheet for the conversion you want and applies it using an external
589 XSL-T processor. It also performs any necessary post-processing.")
590 (license license:gpl2+)))
592 (define-public xmlsec
598 (uri (string-append "https://www.aleksey.com/xmlsec/download/"
599 name "1-" version ".tar.gz"))
602 "01bkbv2y3x8d1sf4dcln1x3y2jyj391s3208d9a2ndhglly5j89j"))))
603 (build-system gnu-build-system)
604 (propagated-inputs ; according to xmlsec1.pc
605 `(("libxml2" ,libxml2)
606 ("libxslt" ,libxslt)))
609 ("libgcrypt" ,libgcrypt)
610 ("libltdl" ,libltdl)))
611 (home-page "http://www.libexpat.org/")
612 (synopsis "XML Security Library")
614 "The XML Security Library is a C library based on Libxml2. It
615 supports XML security standards such as XML Signature, XML Encryption,
616 Canonical XML (part of Libxml2) and Exclusive Canonical XML (part of
618 (license (license:x11-style "file://COPYING"
619 "See 'COPYING' in the distribution."))))
621 (define-public minixml
627 (uri (string-append "http://www.msweet.org/files/project3/mxml-"
631 "14pzhlfidj5v1qbxy7a59yn4jz9pnjrs2zwalz228jsq7ijm9vfd"))))
632 (build-system gnu-build-system)
634 `(#:tests? #f)) ;no "check" target
635 (home-page "http://www.minixml.org/")
636 (synopsis "Small XML parsing library")
638 "Mini-XML is a small C library to read and write XML files and strings in
639 UTF-8 and UTF-16 encoding.")
640 ;; LGPL 2.0+ with additional exceptions for static linking
641 (license license:lgpl2.0+)))
643 ;; TinyXML is an unmaintained piece of software, so the patches and build
644 ;; system massaging have no upstream potential.
645 (define-public tinyxml
651 (uri (string-append "mirror://sourceforge/tinyxml/tinyxml_"
652 (string-join (string-split version #\.) "_")
656 "14smciid19lvkxqznfig77jxn5s4iq3jpb47vh5a6zcaqp7gvg8m"))
657 (patches (list (search-patch "tinyxml-use-stl.patch")))))
658 (build-system gnu-build-system)
659 ;; This library is missing *a lot* of the steps to make it usable, so we
660 ;; have to add them here, like every other distro must do.
663 (modify-phases %standard-phases
665 (add-after 'build 'build-shared-library
667 (zero? (system* "g++" "-Wall" "-O2" "-shared" "-fpic"
668 "tinyxml.cpp" "tinyxmlerror.cpp"
669 "tinyxmlparser.cpp" "tinystr.cpp"
670 "-o" "libtinyxml.so"))))
672 (lambda _ (zero? (system "./xmltest"))))
674 (lambda* (#:key outputs #:allow-other-keys)
675 (let* ((out (assoc-ref outputs "out"))
676 (include (string-append out "/include"))
677 (lib (string-append out "/lib"))
678 (pkgconfig (string-append out "/lib/pkgconfig"))
679 (doc (string-append out "/share/doc")))
680 ;; Install libs and headers.
681 (install-file "libtinyxml.so" lib)
682 (install-file "tinystr.h" include)
683 (install-file "tinyxml.h" include)
684 ;; Generate and install pkg-config file.
686 ;; Software such as Kodi expect this file to be present, but
687 ;; it's not provided in the source code.
688 (call-with-output-file (string-append pkgconfig "/tinyxml.pc")
690 (format port "prefix=~a
691 exec_prefix=${prefix}
692 libdir=${exec_prefix}/lib
693 includedir=${prefix}/include
696 Description: A simple, small, C++ XML parser
698 Libs: -L${libdir} -ltinyxml
699 Cflags: -I${includedir}
704 (copy-recursively "docs" (string-append doc "tinyxml"))
706 (synopsis "Small XML parser for C++")
707 (description "TinyXML is a small and simple XML parsing library for the
708 C++ programming langauge.")
709 (home-page "http://www.grinninglizard.com/tinyxml/index.html")
710 (license license:zlib)))
712 (define-public xmlstarlet
719 (uri (string-append "mirror://sourceforge/xmlstar/xmlstarlet/"
720 version "/xmlstarlet-" version ".tar.gz"))
723 "1jp737nvfcf6wyb54fla868yrr39kcbijijmjpyk4lrpyg23in0m"))))
724 (build-system gnu-build-system)
726 `(("libxslt" ,libxslt)
727 ("libxml2" ,libxml2)))
728 (home-page "http://xmlstar.sourceforge.net/")
729 (synopsis "Command line XML toolkit")
730 (description "XMLStarlet is a set of command line utilities which can be
731 used to transform, query, validate, and edit XML documents. XPath is used to
732 match and extract data, and elements can be added, deleted or modified using
734 (license license:x11)))