From 8ec0d3fbcf6a5bb16a72a5b95b38ed03aaeda604 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Sat, 7 Dec 2013 22:05:59 +0100 Subject: [PATCH] gnu: Add perl-html-parser. * gnu/packages/web.scm (perl-html-parser): New variable. --- gnu/packages/web.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 9f143b4270..49376ceddd 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -86,3 +86,26 @@ (define-public perl-html-tagset kinds of HTML parsing operations.") (home-page "http://search.cpan.org/dist/HTML-Tagset/"))) +(define-public perl-html-parser + (package + (name "perl-html-parser") + (version "3.71") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-" + version ".tar.gz")) + (sha256 + (base32 + "00nqzdgl7c3jilx7mil19k5jwcw3as14pvkjgxi97zyk94vqp4dy")))) + (build-system perl-build-system) + (inputs + `(("perl-html-tagset" ,perl-html-tagset))) + (license (package-license perl)) + (synopsis "Perl HTML parser class") + (description + "Objects of the HTML::Parser class will recognize markup and separate +it from plain text (alias data content) in HTML documents. As different +kinds of markup and text are recognized, the corresponding event handlers +are invoked.") + (home-page "http://search.cpan.org/~gaas/HTML-Parser/")))