Subject: [bug#66839] [PATCH 14/19] gnu: Add rust-simple-logging-2.

From: Steve George <[email-masked]>
Date: Mon, 30 Oct 2023 21:06:20 +0000

* gnu/packages/crates-io.scm (rust-simple-logging-2): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 46ae2e0f30..89308835e0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66647,6 +66647,28 @@ (define-public rust-simple-logger-1
          ("rust-log" ,rust-log-0.4)
          ("rust-winapi" ,rust-winapi-0.3))))))
 
+(define-public rust-simple-logging-2
+  (package
+    (name "rust-simple-logging")
+    (version "2.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "simple-logging" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0hmm523f0ax76yljf3z178rn9cm0q6knwa52haqnnckmavl4h3dh"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-thread-id" ,rust-thread-id-3))))
+    (home-page "https://github.com/Ereski/simple-logging")
+    (synopsis "Simple logger for the log facade")
+    (description "This package provides a simple logger for the log facade.")
+    (license license:bsd-3)))
+
 (define-public rust-simple-mutex-1
   (package
     (name "rust-simple-mutex")
-- 
2.41.0