dannym pushed a commit to branch master
in repository guix.

commit ca5ae405def25df96b59c92b2bbd5f996dd08d18
Author: Danny Milosavljevic <[email protected]>
AuthorDate: Sat Dec 21 13:02:39 2024 +0100

    gnu: Add rust-log-reroute.
    
    * gnu/packages/crates-io.scm (rust-log-reroute-0.1): New variable.
    
    Change-Id: I05866a562fbcc0fc892e21e33cb56b2872de0639
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2e7a7bea64..fac83215ca 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25376,6 +25376,30 @@ compact sets of enums.")
 is configured via an environment variable.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-log-reroute-0.1
+  (package
+    (name "rust-log-reroute")
+    (version "0.1.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "log-reroute" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "00mw91qd2ibaawl7x1pxc1kryki0ixyirnlx64qx78d9g6k3n6kl"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-arc-swap" ,rust-arc-swap-1)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-once-cell" ,rust-once-cell-1))))
+    (home-page "https://github.com/vorner/log-reroute";)
+    (synopsis "Support to change logging target for the log crate")
+    (description
+     "This package provides Support to change logging target for the log 
crate.")
+    ;; This means asl2.0 OR expat.
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-env-logger-0.10
   (package
     (inherit rust-env-logger-0.11)

Reply via email to