guix-commits
[Top][All Lists]
Advanced

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

39/194: gnu: rust-js-sys-0.3: Update to 0.3.64.


From: guix-commits
Subject: 39/194: gnu: rust-js-sys-0.3: Update to 0.3.64.
Date: Tue, 3 Oct 2023 14:57:19 -0400 (EDT)

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

commit 5ff452c7ce9a787cbdfbc747ec569f8b9be44892
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 1 16:30:07 2023 +0300

    gnu: rust-js-sys-0.3: Update to 0.3.64.
    
    * gnu/packages/crates-io.scm (rust-js-sys-0.3): Update to 0.3.64.
    [source]: Adjust snippet to be 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 8cded04dd6..86681b83e3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34143,7 +34143,7 @@ JSON-RPC 2.0 specification.")
 (define-public rust-js-sys-0.3
   (package
     (name "rust-js-sys")
-    (version "0.3.61")
+    (version "0.3.64")
     (source
      (origin
        (method url-fetch)
@@ -34151,12 +34151,12 @@ JSON-RPC 2.0 specification.")
        (file-name
         (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0c075apyc5fxp2sbgr87qcvq53pcjxmp05l47lzlhpn5a0hxwpa4"))
+        (base32 "0nlkiwpm8dyqcf1xyc6qmrankcgdd3fpzc0qyfq2sw3z97z9bwf5"))
        (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



reply via email to

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