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>
This commit is contained in:
John Soo 2019-12-14 18:10:35 -08:00 committed by Efraim Flashner
parent 0d978756b0
commit d616284320
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2767,6 +2767,36 @@ (define-public rust-itoa-0.1
(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")