summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetter <petter@mykolab.ch>2017-10-23 08:51:31 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-10-24 00:04:15 +0200
commit9e88b210f660ae73c1eb39bb16538c5aff0a2bfc (patch)
tree11a85386254b9fe7628e868bd9fa13fe653327c1
parent33b592eed3b6652a8cb55b9dfcc33b22ab6609cc (diff)
downloadpatches-9e88b210f660ae73c1eb39bb16538c5aff0a2bfc.tar
patches-9e88b210f660ae73c1eb39bb16538c5aff0a2bfc.tar.gz
gnu: Add perl-xml-handler-yawriter.
* gnu/packages/xml.scm (perl-xml-handler-yawriter): New variable. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
-rw-r--r--gnu/packages/xml.scm21
1 files changed, 21 insertions, 0 deletions
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)))