gnu: Add XML-LibXML.

* gnu/packages/xml.scm (perl-xml-libxml): New variable.
This commit is contained in:
Eric Bavier 2015-04-07 17:00:13 -05:00
parent 18b8bbb304
commit 3dd6bee1f2

View file

@ -179,6 +179,32 @@ (define-public perl-libxml
module.")
(home-page "http://search.cpan.org/~kmacleod/libxml-perl/lib/XML/Parser/PerlSAX.pm")))
(define-public perl-xml-libxml
(package
(name "perl-xml-libxml")
(version "2.0118")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/S/SH/SHLOMIF/"
"XML-LibXML-" version ".tar.gz"))
(sha256
(base32
"170c8dbk4p6jw9is0cria73021yp3hpmhb19p9j0zg2yxwkawr6c"))))
(build-system perl-build-system)
(propagated-inputs
`(("perl-xml-namespacesupport" ,perl-xml-namespacesupport)
("perl-xml-sax" ,perl-xml-sax)))
(inputs
`(("libxml2" ,libxml2)))
(home-page "http://search.cpan.org/dist/XML-LibXML")
(synopsis "Perl interface to libxml2")
(description "This module implements a Perl interface to the libxml2
library which provides interfaces for parsing and manipulating XML files. This
module allows Perl programmers to make use of the highly capable validating
XML parser and the high performance DOM implementation.")
(license (package-license perl))))
(define-public perl-xml-namespacesupport
(package
(name "perl-xml-namespacesupport")