From a039c2f89d8016b8cdfbe8a6185625b8de8d9e61 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 1 Oct 2023 16:47:26 +0300 Subject: [PATCH] gnu: rust-wasm-bindgen-test-0.3: Update to 0.3.37. * gnu/packages/crates-io.scm (rust-wasm-bindgen-test-0.3): Update to 0.3.37. [source]: Adjust snippet to be more future-proof. [cargo-inputs]: Add rust-gg-alloc-1. --- gnu/packages/crates-io.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c121cfd797..1eae230e84 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -77669,7 +77669,7 @@ (define-public rust-wasm-bindgen-shared-0.2 (define-public rust-wasm-bindgen-test-0.3 (package (name "rust-wasm-bindgen-test") - (version "0.3.34") + (version "0.3.37") (source (origin (method url-fetch) @@ -77677,16 +77677,17 @@ (define-public rust-wasm-bindgen-test-0.3 (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "02x3agz7jn517fbbvnhncajvanr0w055jhinzf49w87vz706zcvd")) + (base32 "0w86d3ykwxfh495c4a98pj3b39wwgpfffy4ys2k86kx9gqm30vkf")) (modules '((guix build utils))) (snippet - '(begin - (substitute* "Cargo.toml" - (("=0\\.3\\.34") "^0.3.34")))))) + '(begin (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-console-error-panic-hook" ,rust-console-error-panic-hook-0.1) + ("rust-gg-alloc" ,rust-gg-alloc-1) ("rust-js-sys" ,rust-js-sys-0.3) ("rust-scoped-tls" ,rust-scoped-tls-1) ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)