Subject: [bug#67963] [PATCH v2 19/37] gnu: Add perl-xml-parser-lite.

From: Felix Lechner <[email-masked]>
Date: Tue, 16 Jan 2024 14:12:57 -0800

* gnu/packages/xml.scm (perl-xml-parser-lite): New variable.

Change-Id: I274dfb9dcae3fad70e053ba853a5dc8dc64f0733
---
 gnu/packages/xml.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 01e48fda57..e8253b5960 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -581,6 +581,27 @@ (define-public perl-xml-parser
 given at XML::Parser creation time.")
     (home-page "https://metacpan.org/release/XML-Parser")))
 
+(define-public perl-xml-parser-lite
+  (package
+    (name "perl-xml-parser-lite")
+    (version "0.722")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/P/PH/PHRED/XML-Parser-Lite-" version
+             ".tar.gz"))
+       (sha256
+        (base32 "1vk3jwh1kfcsmc5kvxzqdnb1cllvf0yf27fg0ra0w6jkw4ks143g"))))
+    (build-system perl-build-system)
+    (native-inputs (list perl-test-requires))
+    (home-page "https://metacpan.org/release/XML-Parser-Lite")
+    (synopsis "Lightweight pure-perl XML Parser (based on regexps)")
+    (description "This module implements an XML parser with a interface
+similar to XML::Parser.  Though not all callbacks are supported, you
+should be able to use it in the same way you use XML::Parser.")
+    (license license:perl-license)))
+
 (define-public perl-xml-tokeparser
   (package
     (name "perl-xml-tokeparser")
-- 
2.41.0