From db0b317d59f1906e360bf6abfa09b2a6d58f1306 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 1 Oct 2023 16:44:46 +0300 Subject: [PATCH] gnu: rust-wasm-bindgen-0.2: Update to 0.2.87. * gnu/packages/crates-io.scm (rust-wasm-bindgen-0.2): Update to 0.2.87. [source]: Update snippet to be more future-proof. --- gnu/packages/crates-io.scm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ee676cbf2b..0571b4fb22 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -77468,7 +77468,7 @@ (define-public rust-wasi-0.9 (define-public rust-wasm-bindgen-0.2 (package (name "rust-wasm-bindgen") - (version "0.2.84") + (version "0.2.87") (source (origin (method url-fetch) @@ -77476,12 +77476,12 @@ (define-public rust-wasm-bindgen-0.2 (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0fx5gh0b4n6znfa3blz92wn1k4bbiysyq9m95s7rn3gk46ydry1i")) + (base32 "0hm3k42gcnrps2jh339h186scx1radqy1w7v1zwb333dncmaf1kp")) (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