diff options
author | Steve George <steve@futurile.net> | 2024-04-26 13:42:03 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-05-04 19:14:26 +0200 |
commit | e175175a11ea0ac5d036d13b341f99dbb4765975 (patch) | |
tree | 99b50b0612ad9107a646f2108f971e4b351d0627 /gnu/packages/web.scm | |
parent | 7d6da9412ef2b888fa6a9d03fb8aa840d1cab9e1 (diff) |
gnu: Add perl-html-tokeparser-simple.
* gnu/packages/web.scm (perl-html-tokeparser-simple): New variable.
Change-Id: If779dbe29de05697d87143b38d986d5ff7fa2c8f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r-- | gnu/packages/web.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 80f281b4e6..c9bf56bc02 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -3578,6 +3578,29 @@ and scraping XML/HTML documents using XPath expressions.") in tables within an HTML document, either as text or encoded element trees.") (license license:perl-license))) +(define-public perl-html-tokeparser-simple + (package + (name "perl-html-tokeparser-simple") + (version "3.16") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/O/OV/OVID/HTML-TokeParser-Simple-" + version ".tar.gz")) + (sha256 + (base32 "17aa1v62sp8ycxcicwhankmj4brs6nnfclk9z7mf1rird1f164gd")))) + (build-system perl-build-system) + (native-inputs (list perl-module-build)) + (propagated-inputs (list perl-html-parser + perl-html-tagset + perl-sub-override)) + (home-page "https://metacpan.org/release/HTML-TokeParser-Simple") + (synopsis "Easy to use parsing interface") + (description "Provides @code{HTML::TokeParser::Simple}, a simpler interface +to @code{HTML::TokeParser} for parsing HTML.") + (license license:perl-license))) + (define-public perl-html-tree (package (name "perl-html-tree") |