diff options
author | aecepoglu <aecepoglu@fastmail.fm> | 2021-02-04 15:21:15 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-04 15:54:06 +0100 |
commit | 6e58cc05de857845868daf16ba504fa9ef8db002 (patch) | |
tree | f142745115567a8547048c5d959355b1e933e5e0 | |
parent | bbe2a3a1475df9e70c6210e95544d4d607c6ae20 (diff) | |
download | guix-6e58cc05de857845868daf16ba504fa9ef8db002.tar guix-6e58cc05de857845868daf16ba504fa9ef8db002.tar.gz |
gnu: Add rust-slog-term-2.
* gnu/packages/crates-io.scm (rust-slog-term-2): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 667186867b..038af2323d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -33504,6 +33504,37 @@ data type.") (description "This package provides an asynchronous drain for slog.") (license (list license:mpl2.0 license:expat license:asl2.0)))) +(define-public rust-slog-term-2 + (package + (name "rust-slog-term") + (version "2.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "slog-term" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dpmz5ksjkvz8p5h2qv8mznbvgvgpcflx49nrq2rn4kirw3xicds")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-atty" ,rust-atty-0.2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-erased-serde" ,rust-erased-serde-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-slog" ,rust-slog-2) + ("rust-term" ,rust-term-0.6) + ("rust-thread-local" ,rust-thread-local-1)) + #:cargo-development-inputs + (("rust-slog-async" ,rust-slog-async-2)))) + (home-page "https://github.com/slog-rs/slog") + (synopsis "Unix terminal drain and formatter for @code{slog-rs}") + (description + "This package provides the Unix terminal drain and formatter for slog.") + (license (list license:mpl2.0 license:expat license:asl2.0)))) + (define-public rust-slug-0.1 (package (name "rust-slug") |