guix-patches
[Top][All Lists]
Advanced

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

[bug#49451] [PATCH 05/20] gnu: Add rust-flexi-logger


From: southerntofu
Subject: [bug#49451] [PATCH 05/20] gnu: Add rust-flexi-logger
Date: Sun, 11 Jul 2021 17:29:05 -0400

---
 gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d3641af193..e322661709 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15985,6 +15985,47 @@ Reader/Writer streams.  Contains bindings for zlib, 
deflate, and gzip-based
 streams.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-flexi-logger-0.15
+  (package
+    (name "rust-flexi-logger")
+    (version "0.15.12")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "flexi_logger" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1gs2flpzjd4kr9jw614vaqxxz7fd56gqkr78j47q0ja1vfp3raxa"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("rust-atty" ,rust-atty-0.2)
+         ("rust-chrono" ,rust-chrono-0.4)
+         ("rust-flate2" ,rust-flate2-1)
+         ("rust-glob" ,rust-glob-0.3)
+         ("rust-hostname" ,rust-hostname-0.3)
+         ("rust-lazy-static" ,rust-lazy-static-1)
+         ("rust-libc" ,rust-libc-0.2)
+         ("rust-log" ,rust-log-0.4)
+         ("rust-notify" ,rust-notify-4)
+         ("rust-regex" ,rust-regex-1)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-serde-derive" ,rust-serde-derive-1)
+         ("rust-thiserror" ,rust-thiserror-1)
+         ("rust-toml" ,rust-toml-0.5)
+         ("rust-yansi" ,rust-yansi-0.5))))
+    (home-page
+      "https://github.com/emabee/flexi_logger";)
+    (synopsis
+      "Easy-to-configure and flexible logger")
+    (description
+      "Easy-to-configure and flexible logger that writes logs to stderr and/or 
to files")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-float-cmp-0.8
   (package
     (name "rust-float-cmp")
-- 
2.30.2






reply via email to

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