Subject: [PATCH 19/22] gnu: Add rust-slog-async-2.

From: aecepoglu <[email-masked]>
Date: Wed, 3 Feb 2021 14:48:50 +0300

* gnu/packages/crates-io.scm (rust-slog-async-2): 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 006badf2b9..d9568fc890 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-async-2
+  (package
+    (name "rust-slog-async")
+    (version "2.6.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "slog-async" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1p7v0jl82snmk1c7f6ch528ladzyprlk5gzaqkdqa342ky3i6266"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-crossbeam-channel"
+          ,rust-crossbeam-channel-0.5)
+         ("rust-slog" ,rust-slog-2)
+         ("rust-take-mut" ,rust-take-mut-0.2)
+         ("rust-thread-local" ,rust-thread-local-1))))
+    (home-page "https://github.com/slog-rs/slog")
+    (synopsis "Asynchronous drain for slog-rs")
+    (description "This is an asynchronous drain for slog-rs")
+    (license
+      (list license:mpl2.0
+            license:expat
+            license:asl2.0))))
+
 (define-public rust-slog-kvfilter-0.7
   (package
     (name "rust-slog-kvfilter")
-- 
2.30.0