Subject: [PATCH v2 21/37] gnu: Add perl-test-xml.

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

* gnu/packages/perl-check.scm (perl-test-xml): New variable.

Change-Id: I61eda7fdcff3665df9d1ea753b774e583ebf25cc
---
 gnu/packages/perl-check.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/perl-check.scm b/gnu/packages/perl-check.scm
index d84ba4eaaf..18aff9933d 100644
--- a/gnu/packages/perl-check.scm
+++ b/gnu/packages/perl-check.scm
@@ -37,6 +37,7 @@ (define-module (gnu packages perl-check)
   #:use-module (gnu packages)
   #:use-module (gnu packages valgrind)
   #:use-module (gnu packages web)
+  #:use-module (gnu packages xml)
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix git-download)
@@ -1581,6 +1582,30 @@ (define-public perl-test-writevariants
 generation of tests in nested combinations of contexts.")
     (license perl-license)))  ; see LICENSE
 
+(define-public perl-test-xml
+  (package
+    (name "perl-test-xml")
+    (version "0.08")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/S/SE/SEMANTICO/Test-XML-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "1qiym068j0f3fpci5692jpn0v383pxy6k2mcv0x0v1pcrliwqm7b"))))
+    (build-system perl-build-system)
+    (propagated-inputs (list perl-module-build
+                             perl-xml-parser
+                             perl-xml-sax
+                             perl-xml-sax-writer
+                             perl-xml-semanticdiff
+                             perl-xml-twig
+                             perl-xml-xpath))
+    (home-page "https://metacpan.org/release/Test-XML")
+    (synopsis "Compare XML in perl tests")
+    (description "This module contains generic XML testing tools.")
+    (license perl-license)))
+
 (define-public perl-test-yaml
   (package
     (name "perl-test-yaml")
-- 
2.41.0