Subject: [PATCH v2 13/26] gnu: Add rust-wasi-0.11.

From: jgart <[email-masked]>
Date: Sat, 19 Nov 2022 13:14:08 -0600

* gnu/packages/crates-io.scm (rust-wasi-0.11): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ad30844bc1..2b068418c1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64831,6 +64831,29 @@ (define-public rust-warp-0.2
     (description "Warp is a composable, web server framework.")
     (license license:expat)))
 
+(define-public rust-wasi-0.11
+  (package
+    (name "rust-wasi")
+    (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"))
+              (sha256
+               (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))))
+    (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.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-wasi-0.9
   (package
     (name "rust-wasi")
-- 
2.38.1