diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-03-14 11:05:48 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:41:17 +0300 |
commit | 2df9a36ace39958908315d659e696bf43f8bbe7c (patch) | |
tree | 113cdf579bb379399bd8380c73e2760e8186966d /gnu | |
parent | 453453b816677199cfaf966c566e30a035d563aa (diff) | |
download | guix-2df9a36ace39958908315d659e696bf43f8bbe7c.tar.gz guix-2df9a36ace39958908315d659e696bf43f8bbe7c.zip |
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
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 37 |
1 files changed, 31 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2e77423b2d..8b88ab2890 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -78714,26 +78714,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") |