diff mbox series

[bug#69890,19/43] gnu: Add rust-wasm-streams-0.4.

Message ID 3e89fc3a7eb953ee45842afdc5d421ed4a554a85.1710817681.git.normally_js@posteo.net
State New
Headers show
Series gnu: Add procs. | expand

Commit Message

normally_js March 19, 2024, 3:50 a.m. UTC
* gnu/packages/crates-io.scm (rust-wasm-streams-0.4): New variable.

Change-Id: Iff584b0b266041938bcfeac1d8a685ae9eb0a8e5
---
 gnu/packages/crates-io.scm | 51 +++++++++++++++++++++++++++++---------
 1 file changed, 39 insertions(+), 12 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 246b99dc92..4d41e9719e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78431,34 +78431,61 @@  (define-public rust-wasm-bindgen-test-macro-0.2
        (("rust-proc-macro2" ,rust-proc-macro2-0.4)
         ("rust-quote" ,rust-quote-0.6))))))
 
-(define-public rust-wasm-streams-0.3
+(define-public rust-wasm-streams-0.4
   (package
     (name "rust-wasm-streams")
-    (version "0.3.0")
+    (version "0.4.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "wasm-streams" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1iqa4kmhbsjj8k4q15i1x0x4p3xda0dhbg7zw51mydr4g129sq5l"))))
+        (base32 "0ad17c59xb8fffsnbrqbyqz93hb66nzxhizpii31icb31g4w8pdn"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs (("rust-futures-util" ,rust-futures-util-0.3)
-                       ("rust-js-sys" ,rust-js-sys-0.3)
-                       ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
-                       ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
-                       ("rust-web-sys" ,rust-web-sys-0.3))
-       #:cargo-development-inputs (("rust-pin-project" ,rust-pin-project-1)
-                                   ("rust-tokio" ,rust-tokio-1)
-                                   ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
-                                   ("rust-web-sys" ,rust-web-sys-0.3))))
+     `(#:cargo-inputs
+       (("rust-futures-util" ,rust-futures-util-0.3)
+        ("rust-js-sys" ,rust-js-sys-0.3)
+        ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+        ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
+        ("rust-web-sys" ,rust-web-sys-0.3))
+       #:cargo-development-inputs
+       (("rust-pin-project" ,rust-pin-project-1)
+        ("rust-tokio" ,rust-tokio-1)
+        ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
+        ("rust-web-sys" ,rust-web-sys-0.3))))
     (home-page "https://github.com/MattiasBuelens/wasm-streams/")
     (synopsis "Bridge between web streams and Rust streams using WebAssembly")
     (description
      "Bridging between web streams and Rust streams using WebAssembly.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-wasm-streams-0.3
+  (package
+    (inherit rust-wasm-streams-0.4)
+    (name "rust-wasm-streams")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wasm-streams" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1iqa4kmhbsjj8k4q15i1x0x4p3xda0dhbg7zw51mydr4g129sq5l"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-futures-util" ,rust-futures-util-0.3)
+        ("rust-js-sys" ,rust-js-sys-0.3)
+        ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+        ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
+        ("rust-web-sys" ,rust-web-sys-0.3))
+       #:cargo-development-inputs
+       (("rust-pin-project" ,rust-pin-project-1)
+        ("rust-tokio" ,rust-tokio-1)
+        ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
+        ("rust-web-sys" ,rust-web-sys-0.3))))))
+
 (define-public rust-wasm-streams-0.2
   (package
     (inherit rust-wasm-streams-0.3)