From eaa9dd05d6c652ea3f05bd953ae4e22f13b5186c Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 18:57:25 -0800 Subject: [PATCH 116/263] gnu: Add rust-slog-2.4. * gnu/packages/crates-io.scm (rust-slog-2.4): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e1ace9ec98..6b7ecf406d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6040,6 +6040,33 @@ data type.") (properties '((hidden? . #t))) (license license:expat))) +(define-public rust-slog-2.4 + (package + (name "rust-slog") + (version "2.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "slog" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "13jh74jlckzh5cygkhs0k4r82wnmw8ha2km829xwslhr83n2w6hy")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-erased-serde" ,rust-erased-serde-0.3)))) + (home-page "https://github.com/slog-rs/slog") + (synopsis + "Structured, extensible, composable logging for Rust") + (description + "Structured, extensible, composable logging for Rust.") + (license `(,license:mpl2.0 + ,license:expat + ,license:asl2.0)))) + (define-public rust-smallvec-0.6 (package (name "rust-smallvec") -- 2.24.1