diff options
author | John Soo <jsoo1@asu.edu> | 2019-12-16 10:28:16 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-02 20:16:50 +0200 |
commit | 85116b90b697a09df4a96132554a0b431c15c538 (patch) | |
tree | 46c9644bb031333a2d08df120c53b11d75661ae2 /gnu/packages | |
parent | c2fe39abc88214268d289d22353ef1a6a0998e33 (diff) | |
download | guix-85116b90b697a09df4a96132554a0b431c15c538.tar.gz |
gnu: Add rust-wasm-bindgen-macro-0.2.
* gnu/packages/crates-io.scm (rust-wasm-bindgen-macro-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c6c8e901f5..e084688678 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10139,6 +10139,36 @@ in Rust.") "Bridging the gap between Rust Futures and JavaScript Promises.") (license (list license:expat license:asl2.0)))) +(define-public rust-wasm-bindgen-macro-0.2 + (package + (name "rust-wasm-bindgen-macro") + (version "0.2.48") + (source + (origin + (method url-fetch) + (uri (crate-uri "wasm-bindgen-macro" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "07fqzzlbncccmnxbbkg9v4n53qc1lps5g0bb9wq3i9zp9gvm0zgh")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-quote" ,rust-quote-1.0) + ("rust-wasm-bindgen-macro-support" + ,rust-wasm-bindgen-macro-support-0.2)) + #:cargo-development-inputs + (("rust-trybuild" ,rust-trybuild-1.0) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)))) + (home-page "https://rustwasm.github.io/wasm-bindgen/") + (synopsis "Definition of the @code{#[wasm_bindgen]} attribute") + (description + "Definition of the @code{#[wasm_bindgen]} attribute, an internal +dependency.") + (license (list license:expat license:asl2.0)))) + (define-public rust-wasm-bindgen-macro-support-0.2 (package (name "rust-wasm-bindgen-macro-support") |