From 535dc6cf95c71ae1fdccc8e3bacbc282a11d5d78 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Wed, 2 Oct 2013 21:46:44 +0200 Subject: [PATCH] gnu: Add perl-xml-simple. * gnu/packages/xml.scm (perl-xml-simple): New variable. --- gnu/packages/xml.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 28c99b1f8c..fb50c25c09 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -140,6 +140,29 @@ as extra arguments to the parse methods, in which case they override options given at XML::Parser creation time.") (home-page "http://search.cpan.org/~toddr/XML-Parser-2.41/Parser.pm"))) +(define-public perl-xml-simple + (package + (name "perl-xml-simple") + (version "2.20") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/G/GR/GRANTM/XML-Simple-" + version ".tar.gz")) + (sha256 + (base32 + "0jj3jiray1l4pi9wkjcpxjc3v431whdwx5aqnhgdm4i7h3817zsw")))) + (build-system perl-build-system) + (inputs + `(("perl-xml-parser" ,perl-xml-parser))) + (license (package-license perl)) + (synopsis "Perl module for easy reading/writing of XML files") + (description + "The XML::Simple module provides a simple API layer on top of an +underlying XML parsing module (either XML::Parser or one of the SAX2 +parser modules).") + (home-page "http://search.cpan.org/~grantm/XML-Simple-2.20/lib/XML/Simple.pm"))) + (define-public xmlto (package (name "xmlto")