guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

89/469: gnu: Add rust-wasm-streams-0.2.


From: guix-commits
Subject: 89/469: gnu: Add rust-wasm-streams-0.2.
Date: Tue, 25 Apr 2023 15:02:18 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 1966c59350f753179368209aeb295e1ee1fb7ac0
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 12:17:20 2023 +0200

    gnu: Add rust-wasm-streams-0.2.
    
    * gnu/packages/crates-io.scm (rust-wasm-streams-0.2): New variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b4c07ea9e0..188ca6547e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68843,6 +68843,34 @@ attribute that is not in the shared backend crate.")
        (("rust-proc-macro2" ,rust-proc-macro2-0.4)
         ("rust-quote" ,rust-quote-0.6))))))
 
+(define-public rust-wasm-streams-0.2
+  (package
+    (name "rust-wasm-streams")
+    (version "0.2.3")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "wasm-streams" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 
"0y60yy64p07h684h49159hhws50q6zdnffyirjnjqcq87hvf7fkb"))))
+    (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))))
+    (home-page "https://github.com/MattiasBuelens/wasm-streams/";)
+    (synopsis "Bridging 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-wasmparser-0.57
   (package
     (name "rust-wasmparser")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]