Subject: [bug#69257] [PATCH rust-team v2 080/117] gnu: Add rust-gloo-utils-0.2.

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

* gnu/packages/crates-web.scm (rust-gloo-utils-0.2): Add variable.

Change-Id: Ice87a3416a2a94f80f0a620bdf4f4cd20471338e
---
 gnu/packages/crates-web.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 940662b3ae..7903d85e12 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2334,6 +2334,33 @@ (define-public rust-gemini-fetch-0.2
     (description "This package provides a library to fetch gemini pages.")
     (license license:expat)))
 
+(define-public rust-gloo-utils-0.2
+  (package
+    (name "rust-gloo-utils")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gloo-utils" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1am31cd6889shb7158bg9zzsjcpvyzxrhfhxgia8rc8k84smam8b"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-js-sys" ,rust-js-sys-0.3)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+                       ("rust-web-sys" ,rust-web-sys-0.3))
+       #:cargo-development-inputs
+       (("rust-serde-derive" ,rust-serde-derive-1)
+        ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+    (home-page "https://github.com/rustwasm/gloo")
+    (synopsis "Common `web_sys` features")
+    (description
+      "This package is a convenience crate for common `web_sys` features.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-h2-0.4
   (package
     (name "rust-h2")
-- 
2.41.0