From f2d83b3352559181eea71b45e109286d61a79925 Mon Sep 17 00:00:00 2001 From: Steve George Date: Fri, 26 Apr 2024 13:41:59 +0200 Subject: gnu: Add perl-html-treebuilder-xpath. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/web.scm (perl-html-treebuilder-xpath): New variable. Change-Id: I4069eae36a8c49a507e89c18fed90e0e53fdde4d Signed-off-by: Ludovic Courtès --- gnu/packages/web.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'gnu/packages/web.scm') diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 52f11c5d5b..c3ef146750 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -3671,6 +3671,26 @@ for the variables, loops and branches declared in the template. This allows you to separate design from the data.") (license license:perl-license))) +(define-public perl-html-treebuilder-xpath + (package + (name "perl-html-treebuilder-xpath") + (version "0.14") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/M/MI/MIROD/HTML-TreeBuilder-XPath-" + version ".tar.gz")) + (sha256 + (base32 "1wx4i1scng20n405fp3a4vrwvvq9bvbmg977wnd5j2ja8jrbvsr5")))) + (build-system perl-build-system) + (propagated-inputs (list perl-html-tree perl-xml-xpathengine)) + (home-page "https://metacpan.org/release/HTML-TreeBuilder-XPath") + (synopsis "XPath support for @code{HTML::TreeBuilder}") + (description "This module implements @code{HTML::TreeBuilder::XPath} for +@code{HTML::TreeBuilder}, making it easy to parse documents using XPath.") + (license license:perl-license))) + (define-public perl-http-body (package (name "perl-http-body") -- cgit v1.2.3