From b494a5f1bd63fe302cd20a0af01c3ad93fa42b9f Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 22 Dec 2015 14:53:43 +0100 Subject: gnu: Add XML::Compile. * gnu/packages/xml.scm (perl-xml-compile): New variable. --- gnu/packages/xml.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index ecf079db4d..78ce821883 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -397,6 +397,31 @@ This module provide functions which simplify writing tests for @code{XML::Compile} related distributions.") (license (package-license perl)))) +(define-public perl-xml-compile + (package + (name "perl-xml-compile") + (version "1.51") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/M/MA/MARKOV/" + "XML-Compile-" version ".tar.gz")) + (sha256 + (base32 + "06fj4zf0yh4kf3kx4bhwrmrjr6al40nasasbgfhn8f1zxwkmm8f2")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-log-report" ,perl-log-report) + ("perl-xml-compile-tester" ,perl-xml-compile-tester) + ("perl-xml-libxml" ,perl-xml-libxml) + ("perl-test-deep" ,perl-test-deep))) + (home-page "http://search.cpan.org/dist/XML-Compile") + (synopsis "Compilation-based XML processing") + (description + "@code{XML::Compile} can be used to translate a Perl data-structure into +XML or XML into a Perl data-structure, both directions under rigid control by +a schema.") + (license (package-license perl)))) + (define-public pugixml (package (name "pugixml") -- cgit v1.2.3