From b2696a58b3c601abf02ff40cd915c4f6b195743b Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 14 Aug 2016 14:50:00 +0000 Subject: gnu: Add perl-xml-atom. * gnu/packages/xml.scm (perl-xml-atom): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/xml.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 52578693fa..f2fa725b87 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -186,6 +186,38 @@ which read a graph file and create an instance of the Graph class. the @code{Graph} class and write it out in a specific file format.") (license (package-license perl)))) +(define-public perl-xml-atom + (package + (name "perl-xml-atom") + (version "0.41") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/" + "XML-Atom-" version ".tar.gz")) + (sha256 + (base32 + "17lnkb9ymrhk2z642bhj5i2bv3q1da3kpp2lvsl0yhqshk3wdjj8")))) + (build-system perl-build-system) + (native-inputs + `(("perl-datetime" ,perl-datetime) + ;; TODO package: perl-datetime-format-atom + ("perl-xml-xpath" ,perl-xml-xpath))) + (inputs + `(("perl-class-data-inheritable" ,perl-class-data-inheritable) + ("perl-datetime" ,perl-datetime) + ("perl-datetime-timezone" ,perl-datetime-timezone) + ("perl-digest-sha1" ,perl-digest-sha1) + ("perl-libwww" ,perl-libwww) + ("perl-uri" ,perl-uri) + ("perl-xml-libxml" ,perl-xml-libxml) + ("perl-xml-xpath" ,perl-xml-xpath))) + (home-page "http://search.cpan.org/dist/XML-Atom") + (synopsis "Atom feed and API implementation") + (description + "Atom is a syndication, API, and archiving format for weblogs and other data. +@code{XML::Atom} implements the feed format as well as a client for the API.") + (license (package-license perl)))) + (define-public perl-xml-parser (package (name "perl-xml-parser") -- cgit v1.2.3