From bbe2a3a1475df9e70c6210e95544d4d607c6ae20 Mon Sep 17 00:00:00 2001 From: aecepoglu Date: Thu, 4 Feb 2021 15:20:40 +0100 Subject: gnu: Add rust-slog-async-2. * gnu/packages/crates-io.scm (rust-slog-async-2): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages/crates-io.scm') 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") -- cgit 1.4.1