diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-19 23:53:32 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-01-03 22:06:29 +0100 |
commit | 1f7f45efe573cf8f51d179c943df2edfee5a8199 (patch) | |
tree | 9517a220eae685c20e9eb860e684839a80d2ce0c | |
parent | a9b521f499e1991ff629dceedfa73d4da3f2fb98 (diff) | |
download | guix-1f7f45efe573cf8f51d179c943df2edfee5a8199.tar.gz guix-1f7f45efe573cf8f51d179c943df2edfee5a8199.zip |
gnu: Add rust-async-log-1.
* gnu/packages/crates-io.scm (rust-async-log-1): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 40f5d80a59..d9f7ebd6e5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1220,6 +1220,30 @@ standard library.") and Rust's modern asynchronous IO types.") (license (list license:expat license:asl2.0)))) +(define-public rust-async-log-1 + (package + (name "rust-async-log") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "async-log" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16ymra7f8169br9ss9m9n4l6rjcav9ns6r9mv4nr4r9i9wq37fpm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-async-log-attributes" ,rust-async-log-attributes-1) + ("rust-backtrace" ,rust-backtrace-0.3) + ("rust-log" ,rust-log-0.4)))) + (home-page "https://github.com/async-rs/async-log") + (synopsis "Async tracing capabilities for the @code{log} crate") + (description + "This crate provides extension types and hooks to @code{log} to enable +asynchronous logging.") + (license (list license:expat license:asl2.0)))) + (define-public rust-async-log-attributes-1 (package (name "rust-async-log-attributes") |