summary refs log tree commit diff
diff options
context:
space:
mode:
authorPicnoir <picnoir@alternativebit.fr>2024-05-19 14:46:25 +0200
committerLudovic Courtès <ludo@gnu.org>2024-06-02 20:52:25 +0200
commit31b39cee2c452743be6be5f73bea4bd082497489 (patch)
tree0b921cb4e059344f8246e7e8893f48d58ae34c10
parent78f09fb7c4e6800385041fb705adb205905ed63f (diff)
downloadguix-31b39cee2c452743be6be5f73bea4bd082497489.tar.gz
gnu: Add rust-slog-async-2-8.
* gnu/packages/crates-io.scm (rust-slog-async-2-8): New variable. Required by
Nsncd.

Change-Id: I9f1a6041c92760b481acc30c0bddd28330b98b2c
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9f22feb9a9..47c280e79f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62944,6 +62944,30 @@ implementations.")
     (description "This package provides an asynchronous drain for slog.")
     (license (list license:mpl2.0 license:expat license:asl2.0))))
 
+(define-public rust-slog-async-2-8
+  (package
+    (name "rust-slog-async")
+    (version "2.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "slog-async" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "113b17aw7jx7mr68vwfq2yiv6mb4702hz6a0g587jb4ai67h7j3j"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#: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 package provides an asynchronous drain for slog-rs, the Rust
+logging library.")
+    (license (list license:mpl2.0 license:expat license:asl2.0))))
+
 (define-public rust-slog-kvfilter-0.7
   (package
     (name "rust-slog-kvfilter")