diff options
author | aecepoglu <aecepoglu@fastmail.fm> | 2021-02-04 15:20:40 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-04 15:53:06 +0100 |
commit | bbe2a3a1475df9e70c6210e95544d4d607c6ae20 (patch) | |
tree | 052a2e8ccc184074b6b4917688c162b9bdee81d3 | |
parent | b3d7372ab7c9c502f08ecfb4d9aecc73791b512a (diff) | |
download | guix-bbe2a3a1475df9e70c6210e95544d4d607c6ae20.tar guix-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>
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
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") |