Subject: [bug#69257] [PATCH 007/228] gnu: Add rust-gloo-timers-0.3.

From: Herman Rimm <[email-masked]>
Date: Sun, 18 Feb 2024 22:02:05 +0100

* gnu/packages/crates-io.scm (rust-gloo-timers-0.3): Add variable.
(rust-gloo-timers-0.2): Inherit from rust-gloo-timers-0.3.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6fad31fe04..a6de29f8ba 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27222,17 +27222,17 @@ (define-public rust-globwalk-0.8
 open file descriptors.")
     (license license:expat)))
 
-(define-public rust-gloo-timers-0.2
+(define-public rust-gloo-timers-0.3
   (package
     (name "rust-gloo-timers")
-    (version "0.2.1")
+    (version "0.3.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "gloo-timers" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "07w999jm1r1i8r574qbmsa3l4w3gxhyx04cbllg0m4pzm934l827"))))
+        (base32 "1519157n7xppkk6pdw5w52vy1llzn5iljkqd7q1h5609jv7l7cdv"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
@@ -27240,7 +27240,7 @@ (define-public rust-gloo-timers-0.2
         ("rust-futures-core" ,rust-futures-core-0.3)
         ("rust-js-sys" ,rust-js-sys-0.3)
         ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
-        ("rust-web-sys" ,rust-web-sys-0.3))
+        ("rust-web-sys" ,rust-web-sys-0.3)) ; for rust-gloo-timers-0.2
        #:cargo-development-inputs
        (("rust-futures-util" ,rust-futures-util-0.3)
         ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
@@ -27252,6 +27252,19 @@ (define-public rust-gloo-timers-0.2
 timers.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-gloo-timers-0.2
+  (package
+    (inherit rust-gloo-timers-0.3)
+    (name "rust-gloo-timers")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gloo-timers" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "07w999jm1r1i8r574qbmsa3l4w3gxhyx04cbllg0m4pzm934l827"))))))
+
 (define-public rust-gmp-mpfr-sys-1
   (package
     (name "rust-gmp-mpfr-sys")
-- 
2.41.0