Subject: [PATCH rust-team 39/46] gnu: Add rust-env-logger-0.11.

From: Tomas Volf <[email-masked]>
Date: Thu, 15 Feb 2024 21:26:52 +0100

* gnu/packages/crates-io.scm (rust-env-logger-0.11): New variable.

Change-Id: I728e7d3814d39b95eaa13003bd62c8f7911162bc
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3d05484ba9..b7ebfceb2b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21605,6 +21605,34 @@ (define-public rust-enumset-derive-0.5
 @code{rust-enumset}.  It is not public API.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-env-logger-0.11
+  (package
+    (name "rust-env-logger")
+    (version "0.11.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "env_logger" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "07932957jds3h7vh2bddhvfffax78dw6jlyx4k2fy1gnlwk2l0bc"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-anstream" ,rust-anstream-0.6)
+                       ("rust-anstyle" ,rust-anstyle-1)
+                       ("rust-env-filter" ,rust-env-filter-0.1)
+                       ("rust-humantime" ,rust-humantime-2)
+                       ("rust-log" ,rust-log-0.4))))
+    (home-page "https://github.com/rust-cli/env_logger")
+    (synopsis
+     "A logging implementation for @code{log} configured via an environment
+variable")
+    (description
+     "This package provides a logging implementation for @code{log} which is
+configured via an environment variable.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-env-logger-0.10
   (package
     (name "rust-env-logger")
-- 
2.41.0