Subject: [PATCH 2/4] gnu: Add rust-slog-async-2.5.

From: jgart <[email-masked]>
Date: Sun, 5 Dec 2021 02:01:26 -0500

* gnu/packages/crates-io.scm (rust-slog-async-2.5): New variable.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8bc49fcce6..73244fdd6e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49134,6 +49134,31 @@ (define-public rust-slog-2
             license:expat
             license:asl2.0))))
 
+(define-public rust-slog-async-2.5
+  (package
+    (name "rust-slog-async")
+    (version "2.5.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "slog-async" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "1fzvx0n2q02bjrcjjylsgdr74d2yp1zc17s9fdkgkqkwwin37csi"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.4)
+         ("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 "Asynchronous drain for slog-rs")
+    (license (list license:mpl2.0 license:expat license:asl2.0))))
+
 (define-public rust-slog-async-2
   (package
     (name "rust-slog-async")
-- 
2.34.0