From a2e520afbf12ee8015f16657bc32304a00d096c3 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Fri, 6 Dec 2013 22:54:44 +0100 Subject: gnu: Add perl-xml-regexp. * gnu/packages/xml.scm (perl-xml-regexp): New variable. --- gnu/packages/xml.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index f5c2e12302..e8115b3037 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -185,6 +185,29 @@ underlying XML parsing module (either XML::Parser or one of the SAX2 parser modules).") (home-page "http://search.cpan.org/~grantm/XML-Simple-2.20/lib/XML/Simple.pm"))) +(define-public perl-xml-regexp + (package + (name "perl-xml-regexp") + (version "0.04") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/T/TJ/TJMATHER/XML-RegExp-" + version ".tar.gz")) + (sha256 + (base32 + "0m7wj00a2kik7wj0azhs1zagwazqh3hlz4255n75q21nc04r06fz")))) + (build-system perl-build-system) + (inputs + `(("perl-xml-parser" ,perl-xml-parser))) + (license (package-license perl)) + (synopsis "Perl regular expressions for XML tokens") + (description + "XML::RegExp contains regular expressions for the following XML tokens: +BaseChar, Ideographic, Letter, Digit, Extender, CombiningChar, NameChar, +EntityRef, CharRef, Reference, Name, NmToken, and AttValue.") + (home-page "http://search.cpan.org/~tjmather/XML-RegExp/lib/XML/RegExp.pm"))) + (define-public xmlto (package (name "xmlto") -- cgit 1.4.1