From 246455c28701e71aa7e948859a0d3d6259596b99 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 14 Aug 2016 15:36:05 +0000 Subject: [PATCH] gnu: Add perl-xml-feed. * gnu/packages/xml.scm (perl-xml-feed): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/xml.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index b2f51bd2ba..8e0fe01c6b 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -631,6 +631,45 @@ (define-public perl-xml-compile-wsdl11 server, collect the answer, and finally decoding the XML to Perl.") (license (package-license perl)))) +(define-public perl-xml-feed + (package + (name "perl-xml-feed") + (version "0.53") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/D/DA/DAVECROSS/" + "XML-Feed-" version ".tar.gz")) + (sha256 + (base32 + "07b165g6wk8kqwpl49r3n0kag6p2nrkyp3ch0h8qyxb6nrnkkq7c")))) + (build-system perl-build-system) + (arguments + `(#:tests? #f)) ; Tests require internet connection + (native-inputs + `(("perl-module-build" ,perl-module-build) + ("perl-uri" ,perl-uri) + ("perl-class-data-inheritable" ,perl-class-data-inheritable))) + (inputs + `(("perl-class-errorhandler" ,perl-class-errorhandler) + ("perl-datetime" ,perl-datetime) + ("perl-datetime-format-mail" ,perl-datetime-format-mail) + ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf) + ("perl-feed-find" ,perl-feed-find) + ("perl-html-parser" ,perl-html-parser) + ("perl-libwww-perl" ,perl-libwww) + ("perl-module-pluggable" ,perl-module-pluggable) + ("perl-uri-fetch" ,perl-uri-fetch) + ("perl-xml-atom" ,perl-xml-atom) + ("perl-xml-libxml" ,perl-xml-libxml) + ("perl-xml-rss" ,perl-xml-rss))) + (home-page "http://search.cpan.org/dist/XML-Feed") + (synopsis "XML Syndication Feed Support") + (description "@code{XML::Feed} is a syndication feed parser for both RSS and +Atom feeds. It also implements feed auto-discovery for finding feeds, given a URI. +@code{XML::Feed} supports the following syndication feed formats: +RSS 0.91, RSS 1.0, RSS 2.0, Atom") + (license (package-license perl)))) + (define-public perl-xml-xpath (package (name "perl-xml-xpath")