mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 07:12:30 -05:00
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:
parent
0d978756b0
commit
d616284320
1 changed files with 30 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue