aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2024-04-26 13:41:59 +0200
committerLudovic Courtès <ludo@gnu.org>2024-05-04 19:14:25 +0200
commitf2d83b3352559181eea71b45e109286d61a79925 (patch)
treeea36078ce594eaa298484800c027bd58807efcff
parent9ee2e87dfe809b90b5b161186ecf4a081b89317b (diff)
downloadguix-f2d83b3352559181eea71b45e109286d61a79925.tar.gz
guix-f2d83b3352559181eea71b45e109286d61a79925.zip
gnu: Add perl-html-treebuilder-xpath.
* gnu/packages/web.scm (perl-html-treebuilder-xpath): New variable. Change-Id: I4069eae36a8c49a507e89c18fed90e0e53fdde4d Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/web.scm20
1 files changed, 20 insertions, 0 deletions
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")