diff mbox series

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

Message ID YOtioWrSiV5Wm4OH@thunix.net
State New
Headers show
Series [bug#49451,01/20] gnu: rust-blake2: Update to 0.9 | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

southerntofu July 11, 2021, 9:29 p.m. UTC
---
 gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
diff mbox series

Patch

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")