GNU bug report logs -
#59111
[PATCH 0/2] Add htmlq.
Previous Next
Reported by: Greg Hogan <code <at> greghogan.com>
Date: Mon, 7 Nov 2022 20:05:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59111 in the body.
You can then email your comments to 59111 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#59111
; Package
guix-patches
.
(Mon, 07 Nov 2022 20:05:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Greg Hogan <code <at> greghogan.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 07 Nov 2022 20:05:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Greg Hogan (2):
gnu: Add rust-kuchiki-0.8.
gnu: Add htmlq.
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
gnu/packages/rust-apps.scm | 25 +++++++++++++++++++++++++
2 files changed, 51 insertions(+)
--
2.38.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#59111
; Package
guix-patches
.
(Mon, 07 Nov 2022 20:07:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 59111 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/crates-io.scm (rust-kuchiki-0.8): New variable.
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1118ebbc35..f6939790b9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29,6 +29,7 @@
;;; Copyright © 2022 Evgenii Lepikhin <e.lepikhin <at> corp.mail.ru>
;;; Copyright © 2022 Gabriel Arazas <foo.dogsquared <at> gmail.com>
;;; Copyright © 2022 ( <paren <at> disroot.org>
+;;; Copyright © 2022 Greg Hogan <code <at> greghogan.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -25955,6 +25956,31 @@ (define-public rust-hts-sys-2
(description "This library provides Rust bindings to HTSlib.")
(license license:expat)))
+(define-public rust-kuchiki-0.8
+ (package
+ (name "rust-kuchiki")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "kuchiki" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0n53hhscgf4az58nnbjfxlqz9k96h3f02c7fhbzpqdriw33fka0y"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cssparser" ,rust-cssparser-0.27)
+ ("rust-html5ever" ,rust-html5ever-0.25)
+ ("rust-matches" ,rust-matches-0.1)
+ ("rust-selectors" ,rust-selectors-0.22))))
+ (home-page "https://github.com/SimonSapin/kuchiki")
+ (synopsis "HTML/XML tree manipulation library")
+ (description "A library for parsing and serializing HTML and XML documents
+and traversing, manipulating, and querying the document tree.")
+ (license license:expat)))
+
(define-public rust-http-0.2
(package
(name "rust-http")
--
2.38.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#59111
; Package
guix-patches
.
(Mon, 07 Nov 2022 20:07:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 59111 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/rust-apps.scm (htmlq): New variable.
---
gnu/packages/rust-apps.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 693489264d..b7c3e67ee6 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -20,6 +20,7 @@
;;; Copyright © 2022 Gabriel Arazas <foo.dogsquared <at> gmail.com>
;;; Copyright © 2022 Ricardo Wurmus <rekado <at> elephly.net>
;;; Copyright © 2022 Mathieu Laparie <mlaparie <at> disr.it>
+;;; Copyright © 2022 Greg Hogan <code <at> greghogan.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2062,3 +2063,27 @@ (define-public zoxide
track of the directories you use most frequently, and uses a ranking algorithm
to navigate to the best match.")
(license license:expat)))
+
+(define-public htmlq
+ (package
+ (name "htmlq")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "htmlq" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0912cdkz5xji1hzfj1cf42zh1kd860b52xmwwhb7q2jhp6qk25jh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-clap" ,rust-clap-2)
+ ("rust-html5ever" ,rust-html5ever-0.25)
+ ("rust-kuchiki" ,rust-kuchiki-0.8)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-url" ,rust-url-2))))
+ (home-page "https://github.com/mgdm/htmlq")
+ (synopsis "Like jq, but for HTML")
+ (description "Extract content from HTML files using CSS selectors.")
+ (license license:expat)))
--
2.38.0
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Thu, 08 Dec 2022 21:59:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Greg Hogan <code <at> greghogan.com>
:
bug acknowledged by developer.
(Thu, 08 Dec 2022 21:59:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 59111-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Greg Hogan <code <at> greghogan.com> skribis:
> gnu: Add rust-kuchiki-0.8.
> gnu: Add htmlq.
Applied, thanks!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 06 Jan 2023 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 110 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.