summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-02-23 16:52:01 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:16 +0300
commit8a404f81f0338dddc67fd004e61e00f8f38357ba (patch)
tree010d4c95db9a86596adba375fdaed0112f8c655e
parent32489acdda502be18c9d1cc68a4e9e6ee023725e (diff)
downloadguix-8a404f81f0338dddc67fd004e61e00f8f38357ba.tar.gz
gnu: rust-js-sys-0.3: Update to 0.3.61.
* gnu/packages/crates-io.scm (rust-js-sys-0.3): Update to 0.3.61.
[source]: Add snippet to remove hardcoded versioned dependency.
[arguments]: Don't skip build.
[cargo-development-inputs]: Add rust-web-sys-0.3.
-rw-r--r--gnu/packages/crates-io.scm15
1 files changed, 10 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e124a9363c..39e4ebe0b4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30185,7 +30185,7 @@ JSON-RPC 2.0 specification.")
 (define-public rust-js-sys-0.3
   (package
     (name "rust-js-sys")
-    (version "0.3.55")
+    (version "0.3.61")
     (source
      (origin
        (method url-fetch)
@@ -30193,15 +30193,20 @@ JSON-RPC 2.0 specification.")
        (file-name
         (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "116cg9vn62cl3vifbs6cjdsg7hz98kr7sr8kpy31liccsg6gzjbw"))))
+        (base32 "0c075apyc5fxp2sbgr87qcvq53pcjxmp05l47lzlhpn5a0hxwpa4"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           (substitute* "Cargo.toml"
+             (("=0\\.3\\.34") "^0.3.34"))))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
+     `(#:cargo-inputs
        (("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))
        #:cargo-development-inputs
        (("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
-        ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+        ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
+        ("rust-web-sys" ,rust-web-sys-0.3))))
     (home-page "https://rustwasm.github.io/wasm-bindgen/")
     (synopsis "Bindings for all JS global objects and functions in WASM")
     (description