summary refs log tree commit diff
diff options
context:
space:
mode:
authorTomas Volf <~@wolfsden.cz>2024-02-15 21:26:50 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:58:58 +0200
commit54eedc37927f4730a387b57a2f0db643b8d40458 (patch)
treec9bd3de4b74ff0daba0f25a0730ce203598b854e
parent40b861adc1b465e1edfbbcc4babf22a235ffe1c4 (diff)
downloadguix-54eedc37927f4730a387b57a2f0db643b8d40458.tar.gz
gnu: Add rust-env-filter-0.1.
* gnu/packages/crates-io.scm (rust-env-filter-0.1): New variable.

Change-Id: I48aad5543b65e6a790336d3e08d35eae0a1de622
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 78cbd244c0..3f84a4a7c2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21808,6 +21808,26 @@ is configured via an environment variable.")
        (("rust-regex" ,rust-regex-0.1)
         ("rust-log" ,rust-log-0.3))))))
 
+(define-public rust-env-filter-0.1
+  (package
+    (name "rust-env-filter")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "env_filter" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1spp4jx0fissi0bg00d8nn4vnjwf6y3hr7d0vmcq65gb214al2d0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-log" ,rust-log-0.4)
+                       ("rust-regex" ,rust-regex-1))))
+    (home-page "https://github.com/rust-cli/env_logger")
+    (synopsis "Filter log events using environment variables")
+    (description "Filter log events using environment variables.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-env-proxy-0.4
   (package
     (name "rust-env-proxy")