diff options
author | André Batista <nandre@riseup.net> | 2020-09-30 18:57:32 -0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-10-04 21:43:26 +0300 |
commit | a1598dbc4e1ac53fb2a49d3f04e11e75427424cf (patch) | |
tree | 5932b44fc0f53ea0aaaf144f878232e254b611c3 /gnu | |
parent | 7cb4440951fa3a91d48c63ac5be123636abfcf82 (diff) | |
download | guix-patches-a1598dbc4e1ac53fb2a49d3f04e11e75427424cf.tar guix-patches-a1598dbc4e1ac53fb2a49d3f04e11e75427424cf.tar.gz |
gnu: Add rust-wasm-bindgen-console-logger-0.1.
* gnu/packages/crates-io.scm (rust-wasm-bindgen-console-logger-0.1): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 39e792af6e..2767fb53d8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -29395,6 +29395,32 @@ in Rust.") "Backend code generation of the wasm-bindgen tool.") (license (list license:expat license:asl2.0)))) +(define-public rust-wasm-bindgen-console-logger-0.1 + (package + (name "rust-wasm-bindgen-console-logger") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "wasm-bindgen-console-logger" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1vc506dhrk2yl0snkcn45s5adndq9wj7ipxb7awbbxzswxss4c3m")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-log" ,rust-log-0.4) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)))) + (home-page "https://github.com/blm768/wasm-bindgen-console-logger") + (synopsis "Rust log and JavaScript console logging integration") + (description + "This package provides a logging facility that integrates the +log crate with JavaScript console logging functions with the help of +wasm-bindgen.") + (license license:cc0))) + (define-public rust-wasm-bindgen-futures-0.4 (package (name "rust-wasm-bindgen-futures") |