From 9e88b210f660ae73c1eb39bb16538c5aff0a2bfc Mon Sep 17 00:00:00 2001
From: Petter <petter@mykolab.ch>
Date: Mon, 23 Oct 2017 08:51:31 +0200
Subject: gnu: Add perl-xml-handler-yawriter.

* gnu/packages/xml.scm (perl-xml-handler-yawriter): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
---
 gnu/packages/xml.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 6463399a69..0c1a9abef5 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1362,3 +1362,24 @@ characters into a single event.")
      "This is an XML writer that understands SAX2.  It is based on
 @code{XML::Handler::YAWriter}.")
     (license license:perl-license)))
+
+(define-public perl-xml-handler-yawriter
+  (package
+    (name "perl-xml-handler-yawriter")
+    (version "0.23")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/K/KR/KRAEHE/"
+                           "XML-Handler-YAWriter-" version ".tar.gz"))
+       (sha256
+        (base32
+         "11d45a1sz862va9rry3p2m77pwvq3kpsvgwhc5ramh9mbszbnk77"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-libxml" ,perl-libxml)))
+    (home-page "http://search.cpan.org/dist/XML-Handler-YAWriter/")
+    (synopsis "Yet another Perl SAX XML Writer")
+    (description "YAWriter implements Yet Another @code{XML::Handler::Writer}.
+It provides a flexible escaping technique and pretty printing.")
+    (license license:perl-license)))
-- 
cgit 1.4.1