summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-01 16:47:26 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-18 11:35:52 +0300
commita039c2f89d8016b8cdfbe8a6185625b8de8d9e61 (patch)
treedc035217cf69eca87cb398d1c4f2c5678aee3699
parent5093b31ee84bd4baf5fddee61457e2c460fea65d (diff)
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.
-rw-r--r--gnu/packages/crates-io.scm11
1 files 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 @@ attribute that is not in the shared backend crate.")
(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 @@ attribute that is not in the shared backend crate.")
(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)