aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPetter <petter@mykolab.ch>2017-10-23 08:50:03 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-10-24 00:04:15 +0200
commit33b592eed3b6652a8cb55b9dfcc33b22ab6609cc (patch)
tree79da9bd1a0d750aec145c7d4f374ee5c9951ab1a /gnu
parentb7c591951468723f7a83d581f567136e497d081f (diff)
downloadpatches-33b592eed3b6652a8cb55b9dfcc33b22ab6609cc.tar
patches-33b592eed3b6652a8cb55b9dfcc33b22ab6609cc.tar.gz
gnu: Add perl-xml-sax-writer.
* gnu/packages/xml.scm (perl-xml-sax-writer): New variable. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/xml.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 749ea81c58..6463399a69 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1337,3 +1337,28 @@ character events in one chunk. They can, but are not forced to, and most
don't. This filter does the trivial but oft-repeated task of putting all
characters into a single event.")
(license license:perl-license)))
+
+(define-public perl-xml-sax-writer
+ (package
+ (name "perl-xml-sax-writer")
+ (version "0.57")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/P/PE/PERIGRIN/"
+ "XML-SAX-Writer-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1w1cd1ybxdvhmnxdlkywi3x5ka3g4md42kyynksjc09vyizd0q9x"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-libxml" ,perl-libxml)
+ ("perl-xml-filter-buffertext" ,perl-xml-filter-buffertext)
+ ("perl-xml-namespacesupport", perl-xml-namespacesupport)
+ ("perl-xml-sax-base" ,perl-xml-sax-base)))
+ (home-page "http://search.cpan.org/dist/XML-SAX-Writer/")
+ (synopsis "SAX2 XML Writer")
+ (description
+ "This is an XML writer that understands SAX2. It is based on
+@code{XML::Handler::YAWriter}.")
+ (license license:perl-license)))