aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2024-04-26 13:41:58 +0200
committerLudovic Courtès <ludo@gnu.org>2024-05-04 19:14:25 +0200
commit9ee2e87dfe809b90b5b161186ecf4a081b89317b (patch)
tree6332b35795b0ee2b921bfeeb2e785703a4627f02 /gnu
parent3ca4d48322f6ac7fa503fcb0b1ed15db8e9fc990 (diff)
downloadguix-9ee2e87dfe809b90b5b161186ecf4a081b89317b.tar.gz
guix-9ee2e87dfe809b90b5b161186ecf4a081b89317b.zip
gnu: Add perl-html-selector-xpath.
* gnu/packages/web.scm (perl-html-selector-xpath): New variable. Change-Id: Ib4ccaf4e7f5fdbb90118d6ba16a478be26bbed84 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/web.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 2d47e9b5e5..52f11c5d5b 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -3535,6 +3535,27 @@ composed of HTML::Element style components.")
syntactic legitmacy.")
(license license:artistic2.0)))
+(define-public perl-html-selector-xpath
+ (package
+ (name "perl-html-selector-xpath")
+ (version "0.28")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/C/CO/CORION/HTML-Selector-XPath-" version
+ ".tar.gz"))
+ (sha256
+ (base32 "03wdwnrf0bvr2dw01njnz3a9mw2kl7ad7krh25j3vkyj7vq1f9s3"))))
+ (build-system perl-build-system)
+ (native-inputs (list perl-test-base
+ perl-test-pod))
+ (home-page "https://metacpan.org/release/HTML-Selector-XPath")
+ (synopsis "CSS Selector to XPath compiler")
+ (description "@code{HTML::Selector::XPath} is a Perl module for parsing
+and scraping XML/HTML documents using XPath expressions.")
+ (license license:perl-license)))
+
(define-public perl-html-tableextract
(package
(name "perl-html-tableextract")