guix-commits
[Top][All Lists]
Advanced

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

71/276: gnu: rust-wasm-bindgen-test-0.3: Update to 0.3.37.


From: guix-commits
Subject: 71/276: gnu: rust-wasm-bindgen-test-0.3: Update to 0.3.37.
Date: Wed, 18 Oct 2023 04:49:20 -0400 (EDT)

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

commit a039c2f89d8016b8cdfbe8a6185625b8de8d9e61
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 1 16:47:26 2023 +0300

    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 @@ 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)



reply via email to

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