diff options
author | John Soo <jsoo1@asu.edu> | 2019-12-14 18:10:35 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-02 20:16:28 +0200 |
commit | d616284320cb64cd885ab95449db4067e6842ee6 (patch) | |
tree | 4c45db5193b61b4f852ac593119eefacec034d8b | |
parent | 0d978756b04db9e34b87a932368a6f60a3989804 (diff) | |
download | guix-d616284320cb64cd885ab95449db4067e6842ee6.tar.gz |
gnu: Add rust-js-sys-0.3.
* gnu/packages/crates-io.scm (rust-js-sys-0.3): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-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 8d8c6b5a44..74758c46da 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2767,6 +2767,36 @@ primitives to an @code{io::Write}.") (base32 "18g7p2hrb3dk84z3frfgmszfc9hjb4ps9vp99qlb1kmf9gm8hc5f")))))) +(define-public rust-js-sys-0.3 + (package + (name "rust-js-sys") + (version "0.3.24") + (source + (origin + (method url-fetch) + (uri (crate-uri "js-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "045fgafggkjdfg4f33vb87silyl9xpbifrhx1ciqi4wvm90nzhga")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)) + #:cargo-development-inputs + (("rust-futures" ,rust-futures-0.1) + ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.3) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.2)))) + (home-page "https://rustwasm.github.io/wasm-bindgen/") + (synopsis "Bindings for all JS global objects and functions in WASM") + (description + "Bindings for all JS global objects and functions in all JS environments +like Node.js and browsers, built on @code{#[wasm_bindgen]} using the +wasm-bindgen crate.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-jemalloc-sys-0.3 (package (name "rust-jemalloc-sys") |