Subject: [PATCH rust-team v2 111/117] WIP: gnu: Add rust-html5gum-0.5.

From: Herman Rimm <[email-masked]>
Date: Sun, 28 Apr 2024 20:58:55 +0200

* gnu/packages/crates-io.scm (rust-html5gum-0.5): Add variable.

Change-Id: Ib6469bed18f3816d35da293660e680fda3f50d92
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index efcae7b8de..e5b3675e81 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32595,6 +32595,36 @@ (define-public rust-html5ever-0.23
         ("rust-rustc-test" ,rust-rustc-test-0.3)
         ("rust-typed-arena" ,rust-typed-arena-1))))))
 
+(define-public rust-html5gum-0.5
+  (package
+    (name "rust-html5gum")
+    (version "0.5.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "html5gum" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "057zrfis7p567s8d41z04f82idipzdcv125ygc8vln50f5hmakjc"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-jetscii" ,rust-jetscii-0.5))
+       #:cargo-development-inputs
+       (("rust-glob" ,rust-glob-0.3)
+        ("rust-iai" ,rust-iai-0.1)
+        ("rust-libtest-mimic" ,rust-libtest-mimic-0.6)
+        ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-bytes" ,rust-serde-bytes-0.11)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-test-generator" ,rust-test-generator-0.3))))
+    (home-page "https://github.com/untitaker/html5gum")
+    (synopsis "WHATWG-compliant HTML5 tokenizer and tag soup parser.")
+    (description
+     "This package provides a WHATWG-compliant HTML5 tokenizer and tag
+soup parser.")
+    (license license:expat)))
+
 (define-public rust-htmlescape-0.3
   (package
     (name "rust-htmlescape")
-- 
2.41.0