guix-commits
[Top][All Lists]
Advanced

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

31/330: gnu: Add rust-wasmparser-0.118.


From: guix-commits
Subject: 31/330: gnu: Add rust-wasmparser-0.118.
Date: Mon, 18 Mar 2024 07:15:01 -0400 (EDT)

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

commit 327a2d864176bd0d3949277185166f60f5e9e047
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 14 11:05:48 2024 +0200

    gnu: Add rust-wasmparser-0.118.
    
    * gnu/packages/crates-io.scm (rust-wasmparser-0.118): New variable.
    (rust-wasmparser-0.57): Inherit from rust-wasmparser-0.118.
    
    Change-Id: I951b36d27dc5281715db5274b2435cfe9add38b7
---
 gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++------
 1 file changed, 31 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f2c4c76319..8da0a79a3a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78463,26 +78463,51 @@ attribute that is not in the shared backend crate.")
         ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
         ("rust-web-sys" ,rust-web-sys-0.3))))))
 
-(define-public rust-wasmparser-0.57
+(define-public rust-wasmparser-0.118
   (package
     (name "rust-wasmparser")
-    (version "0.57.0")
+    (version "0.118.2")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "wasmparser" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "19kslk9pv1bcyp85w63dn1adbp13kz7kjha80abnwz27bmbxvz9j"))))
+        (base32 "0365n7dd01fh2jklq6q41nszhyyaz82shd4q3nhf4s5q397ibwbp"))))
     (build-system cargo-build-system)
-    (arguments `(#:skip-build? #t))
-    (home-page 
"https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasmparser";)
+    (arguments
+     `(#:tests? #f  ; failed to resolve: use of undeclared crate or module 
`wat`
+       #:cargo-inputs (("rust-indexmap" ,rust-indexmap-2)
+                       ("rust-semver" ,rust-semver-1))
+       #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1)
+                                   ("rust-criterion" ,rust-criterion-0.3)
+                                   ("rust-env-logger" ,rust-env-logger-0.9)
+                                   ("rust-log" ,rust-log-0.4)
+                                   ("rust-once-cell" ,rust-once-cell-1)
+                                   ("rust-rayon" ,rust-rayon-1)
+                                   ("rust-wasm-encoder" 
,rust-wasm-encoder-0.38))))
+    (home-page
+     
"https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasmparser";)
     (synopsis "Simple event-driven library for parsing WebAssembly binary 
files")
     (description
      "This package provides a simple event-driven library for parsing
-WebAssembly binary files.")
+@code{WebAssembly} binary files.")
     (license license:asl2.0)))
 
+(define-public rust-wasmparser-0.57
+  (package
+    (inherit rust-wasmparser-0.118)
+    (name "rust-wasmparser")
+    (version "0.57.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wasmparser" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "19kslk9pv1bcyp85w63dn1adbp13kz7kjha80abnwz27bmbxvz9j"))))
+    (arguments `(#:skip-build? #t))))
+
 (define-public rust-watchexec-1
   (package
     (name "rust-watchexec")



reply via email to

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