aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-02-27 20:56:13 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-02-27 20:59:49 +0200
commit3571af3e0f3be2e0eadc53914e2a00fb7077615d (patch)
tree5c4c1c34cf7fd678bed1d662b37b62ee11e362d4
parentabd2e421d07490271a45c27063df8c5eef3c77fb (diff)
downloadpatches-3571af3e0f3be2e0eadc53914e2a00fb7077615d.tar
patches-3571af3e0f3be2e0eadc53914e2a00fb7077615d.tar.gz
gnu: Add rust-console-log-0.1.
* gnu/packages/crates-io.scm (rust-console-log-0.1): New variable.
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d413343159..191a786671 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2590,6 +2590,31 @@ harness.")
that logs panics to @code{console.error}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-console-log-0.1
+ (package
+ (name "rust-console-log")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "console-log" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0j1wd2885m3245bhsb2qjvw08lzplbi1rgg2v3yv0hbljk972y0y"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-log" ,rust-log-0.4)
+ ("rust-web-sys" ,rust-web-sys-0.3))))
+ (home-page "https://github.com/iamcodemaker/console_log")
+ (synopsis "Route Rust log messages to the browser's console")
+ (description
+ "This package provides a logging facility that routes Rust log messages to
+the browser's console.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-constant-time-eq-0.1
(package
(name "rust-constant-time-eq")