summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
author( <paren@disroot.org>2022-11-29 07:00:39 +0000
committerTobias Geerinckx-Rice <me@tobias.gr>2022-11-27 01:00:04 +0100
commit3575458c53590192f1cbef07f28b88a66b081c75 (patch)
tree45c3df32a54430889c6f3011cbefd97dbb22596c /gnu
parent84545ed4c2fe6c8185bb78e999c4e5f289c2b936 (diff)
gnu: Add rust-wasi-0.11.
* gnu/packages/crates-io.scm (rust-wasi-0.11): New variable. (rust-wasi-0.9): Inherit from RUST-WASI-0.11. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm37
1 files changed, 25 insertions, 12 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b72c558e16..217dd2c344 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65099,33 +65099,46 @@ result.")
(description "Warp is a composable, web server framework.")
(license license:expat)))
-(define-public rust-wasi-0.9
+(define-public rust-wasi-0.11
(package
(name "rust-wasi")
- (version "0.9.0+wasi-snapshot-preview1")
+ (version "0.11.0+wasi-snapshot-preview1")
(source
(origin
(method url-fetch)
(uri (crate-uri "wasi" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "06g5v3vrdapfzvfq662cij7v8a1flwr2my45nnncdv2galrdzkfc"))))
+ (base32 "08z4hxwkpdpalxjps1ai9y7ihin26y9f476i53dv98v45gkqg3cw"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
- ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
- ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))
+ (list #:skip-build? #t
+ #:cargo-inputs
+ `(("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-rustc-std-workspace-alloc"
+ ,rust-rustc-std-workspace-alloc-1)
+ ("rust-rustc-std-workspace-core"
+ ,rust-rustc-std-workspace-core-1))))
(home-page "https://github.com/bytecodealliance/wasi")
(synopsis "Experimental WASI API bindings for Rust")
(description
- "This package provides an experimental WASI API bindings for Rust.")
+ "This package provides experimental WASI API bindings for Rust.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-wasi-0.9
+ (package
+ (inherit rust-wasi-0.11)
+ (name "rust-wasi")
+ (version "0.9.0+wasi-snapshot-preview1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "wasi" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "06g5v3vrdapfzvfq662cij7v8a1flwr2my45nnncdv2galrdzkfc"))))))
+
(define-public rust-wasm-bindgen-0.2
(package
(name "rust-wasm-bindgen")