guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 71/194: gnu: rust-wasm-bindgen-test-0.3: Update to 0.3.37.
Date: Tue, 3 Oct 2023 14:57:29 -0400 (EDT)

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

commit 6aa07d5a87be3e9edcd5b3e1ed268417ea4bcf0e
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 8802f8f39d..c7343aca02 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -77607,7 +77607,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)
@@ -77615,16 +77615,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]