aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraecepoglu <aecepoglu@fastmail.fm>2021-02-04 14:38:42 +0300
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-04 15:55:07 +0100
commitde170f5112a5767c42149fb2b3f5d4633eeef474 (patch)
tree4fcc93ca186365d56634a7e52e8a741329770405
parent742ef2c87ac303071d877a5f4bcc1373d9c1d9a1 (diff)
downloadguix-de170f5112a5767c42149fb2b3f5d4633eeef474.tar
guix-de170f5112a5767c42149fb2b3f5d4633eeef474.tar.gz
gnu: Add rust-slog-stdlog-4.
* gnu/packages/crates-io.scm (rust-slog-stdlog-4): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5e81c79761..e2fecd9cd2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33577,6 +33577,37 @@ data type.")
(description "This package provides logging scopes for slog.")
(license (list license:mpl2.0 license:expat license:asl2.0))))
+(define-public rust-slog-stdlog-4
+ (package
+ (name "rust-slog-stdlog")
+ (version "4.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "slog-stdlog" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0nhg9mwaf5y1gs2f7nbz3r9fngq0g3d3qvz66z5lzgxd09rsna42"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-log" ,rust-log-0.4)
+ ("rust-slog" ,rust-slog-2)
+ ("rust-slog-scope" ,rust-slog-scope-4))
+ #:cargo-development-inputs
+ (("rust-slog-async" ,rust-slog-async-2)
+ ("rust-slog-term" ,rust-slog-term-2))))
+ (home-page "https://github.com/slog-rs/stdlog")
+ (synopsis "Log crate adapter for @code{slog-rs}")
+ (description
+ "This crate provides two ways compatibility with Rust standard @code{log}
+crate.")
+ (license
+ (list license:mpl2.0
+ license:expat
+ license:asl2.0))))
+
(define-public rust-slog-term-2
(package
(name "rust-slog-term")