gnu: Add perl-html-parser.

* gnu/packages/web.scm (perl-html-parser): New variable.
This commit is contained in:
Andreas Enge 2013-12-07 22:05:59 +01:00
parent c9ea41ffd2
commit 8ec0d3fbcf

View file

@ -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/")))