guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#46192] [PATCH 20/22] gnu: Add rust-sloggers-0.3.


From: aecepoglu
Subject: [bug#46192] [PATCH 20/22] gnu: Add rust-sloggers-0.3.
Date: Sun, 31 Jan 2021 01:45:05 +0300

* gnu/packages/crates-io.scm (rust-sloggers-0.3): New variable.
---
 gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d9568fc890..0f7e6b8fd7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33258,6 +33258,45 @@ data type.")
             license:expat
             license:asl2.0))))
 
+(define-public rust-sloggers-0.3
+  (package
+    (name "rust-sloggers")
+    (version "0.3.5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "sloggers" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0vbrfld3a7v2kdiy56q0y7hhczy3jj7a1zqp27i0bqh2ka7sa6nl"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-chrono" ,rust-chrono-0.4)
+         ("rust-libflate" ,rust-libflate-0.1)
+         ("rust-regex" ,rust-regex-1)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-serde-derive" ,rust-serde-derive-1)
+         ("rust-slog" ,rust-slog-2)
+         ("rust-slog-async" ,rust-slog-async-2)
+         ("rust-slog-kvfilter" ,rust-slog-kvfilter-0.7)
+         ("rust-slog-scope" ,rust-slog-scope-4)
+         ("rust-slog-stdlog" ,rust-slog-stdlog-3)
+         ("rust-slog-term" ,rust-slog-term-2)
+         ("rust-trackable" ,rust-trackable-0.2))
+        #:cargo-development-inputs
+        (("rust-clap" ,rust-clap-2)
+         ("rust-serdeconv" ,rust-serdeconv-0.3)
+         ("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://github.com/sile/sloggers";)
+    (synopsis
+      "Library providing slog loggers and convenience functions")
+    (description
+      "This library provides frequently used slog loggers and convenient 
functions")
+    (license license:expat)))
+
 (define-public rust-slug-0.1
   (package
     (name "rust-slug")
-- 
2.30.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]