From b121407f9576731225a9705d77e2010fb3864bac Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 17:57:29 -0800 Subject: [PATCH 097/263] gnu: Add rust-wasm-bindgen-0.2. * gnu/packages/crates-io.scm (rust-wasm-bindgen-0.2): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1d4923fe21..7a25dffb0b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7203,6 +7203,34 @@ in Rust.") (properties '((hidden? . #t))) (license license:asl2.0))) +(define-public rust-wasm-bindgen-0.2 + (package + (name "rust-wasm-bindgen") + (version "0.2.47") + (source + (origin + (method url-fetch) + (uri (crate-uri "wasm-bindgen" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0xsqz39v8nnlmiflybjpy7hvjdhmdb01j3zi0p5p6135rjc9j0i2")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-serde" ,rust-serde-1.0) + ("rust-serde-json" ,rust-serde-json-1.0) + ("rust-wasm-bindgen-macro" + ,rust-wasm-bindgen-macro-0.2)))) + (home-page "https://rustwasm.github.io/") + (synopsis + "Easy support for interacting between JS and Rust") + (description + "Easy support for interacting between JS and Rust.") + (license `(,license:asl2.0 ,license:expat)))) + (define-public rust-wasm-bindgen-backend-0.2 (package (name "rust-wasm-bindgen-backend") -- 2.24.1