summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authoraecepoglu <aecepoglu@fastmail.fm>2021-02-04 15:20:40 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-04 15:53:06 +0100
commitbbe2a3a1475df9e70c6210e95544d4d607c6ae20 (patch)
tree052a2e8ccc184074b6b4917688c162b9bdee81d3 /gnu/packages/crates-io.scm
parentb3d7372ab7c9c502f08ecfb4d9aecc73791b512a (diff)
downloadguix-bbe2a3a1475df9e70c6210e95544d4d607c6ae20.tar.gz
gnu: Add rust-slog-async-2.
* gnu/packages/crates-io.scm (rust-slog-async-2): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-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 24c701aee4..667186867b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33480,6 +33480,30 @@ 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 @code{slog-rs}")
+    (description "This package provides an asynchronous drain for slog.")
+    (license (list license:mpl2.0 license:expat license:asl2.0))))
+
 (define-public rust-slug-0.1
   (package
     (name "rust-slug")