me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-wasm-streams-0.3.

* gnu/packages/crates-io.scm (rust-wasm-streams-0.3): New variable.
(rust-wasm-streams-0.2): Inherit from rust-wasm-streams-0.3.

Change-Id: I6b512a6849d32764025c9263a19c47ab4162d57a
master
Efraim Flashner 2023-12-21 09:23:48 +02:00
parent 6bc3816315
commit 2ab298aefe
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 30 additions and 6 deletions

View File

@ -88363,8 +88363,37 @@ attribute that is not in the shared backend crate.")
(("rust-proc-macro2" ,rust-proc-macro2-0.4) (("rust-proc-macro2" ,rust-proc-macro2-0.4)
("rust-quote" ,rust-quote-0.6)))))) ("rust-quote" ,rust-quote-0.6))))))
(define-public rust-wasm-streams-0.3
(package
(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"))))
(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 "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.2 (define-public rust-wasm-streams-0.2
(package (package
(inherit rust-wasm-streams-0.3)
(name "rust-wasm-streams") (name "rust-wasm-streams")
(version "0.2.3") (version "0.2.3")
(source (origin (source (origin
@ -88373,7 +88402,6 @@ attribute that is not in the shared backend crate.")
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "0y60yy64p07h684h49159hhws50q6zdnffyirjnjqcq87hvf7fkb")))) (base32 "0y60yy64p07h684h49159hhws50q6zdnffyirjnjqcq87hvf7fkb"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:cargo-inputs
(("rust-futures-util" ,rust-futures-util-0.3) (("rust-futures-util" ,rust-futures-util-0.3)
@ -88385,11 +88413,7 @@ attribute that is not in the shared backend crate.")
(("rust-pin-project" ,rust-pin-project-1) (("rust-pin-project" ,rust-pin-project-1)
("rust-tokio" ,rust-tokio-1) ("rust-tokio" ,rust-tokio-1)
("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3) ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
("rust-web-sys" ,rust-web-sys-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 (define-public rust-wasmparser-0.57
(package (package