Subject: [PATCH 16/22] gnu: Add rust-slog-stdlog-3.

From: aecepoglu <[email-masked]>
Date: Sun, 31 Jan 2021 01:44:42 +0300

* gnu/packages/crates-io.scm (rust-slog-stdlog-3): New variable.
---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ef36603630..886739a1cf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33101,6 +33101,37 @@ data type.")
             license:expat
             license:asl2.0))))
 
+(define-public rust-slog-stdlog-3
+  (package
+    (name "rust-slog-stdlog")
+    (version "3.0.5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "slog-stdlog" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "00fgkrg27n5lwz3gdccl1jslgbvc40rd2v76xvwkcgqy7mbnki7i"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-crossbeam" ,rust-crossbeam-0.2)
+         ("rust-log" ,rust-log-0.3)
+         ("rust-slog" ,rust-slog-2)
+         ("rust-slog-scope" ,rust-slog-scope-4))))
+    (home-page "https://github.com/slog-rs/stdlog")
+    (synopsis "@code{log} crate adapter for slog-rs")
+    (description "This crate provides two way compatibility with
+ Rust standard @code{log} crate for slog-rs")
+    (license
+      (list license:mpl2.0
+            license:expat
+            license:asl2.0))))
+
 (define-public rust-slog-term-2
   (package
     (name "rust-slog-term")
-- 
2.30.0