From 78e0147194a2b7baee5364070977bd268dd97cc2 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 17:50:26 -0800 Subject: [PATCH 094/206] gnu: Add rust-wasm-bindgen-macro-support-0.2. * gnu/packages/crates-io.scm (rust-wasm-bindgen-macro-support-0.2): New variable. --- gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e4ecb475a9..4586172a93 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7127,6 +7127,37 @@ in Rust.") "Backend code generation of the wasm-bindgen tool") (license `(,license:expat ,license:asl2.0)))) +(define-public rust-wasm-bindgen-macro-support-0.2 + (package + (name "rust-wasm-bindgen-macro-support") + (version "0.2.48") + (source + (origin + (method url-fetch) + (uri (crate-uri "wasm-bindgen-macro-support" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1mxi6rj11k67sks88pfqiqylnijxmb1s0gcgpj8mzfj5gvkqzkwm")))) + (build-system cargo-build-system) + ;; (arguments + ;; `(#:cargo-inputs + ;; (("rust-proc-macro2" ,rust-proc-macro2-0.4) + ;; ("rust-quote" ,rust-quote-1.0) + ;; ("rust-syn" ,rust-syn-0.15) + ;; ("rust-wasm-bindgen-backend" ,rust-wasm-bindgen-backend-0.2) + ;; ("rust-wasm-bindgen-shared" ,rust-wasm-bindgen-shared-0.2)))) + (home-page + "https://rustwasm.github.io/wasm-bindgen/") + (synopsis + "The @code{#[wasm_bindgen]} macro") + (description + "The part of the implementation of the @code{#[wasm_bindgen]} +attribute that is not in the shared backend crate.") + (properties '((hidden? . #t))) + (license `(,license:asl2.0 ,license:expat)))) + (define-public rust-wasm-bindgen-shared-0.2 (package (name "rust-wasm-bindgen-shared") -- 2.24.0