aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@friendly-machines.com>2024-12-21 13:02:39 +0100
committerDanny Milosavljevic <dannym@friendly-machines.com>2024-12-21 13:02:39 +0100
commitca5ae405def25df96b59c92b2bbd5f996dd08d18 (patch)
treefaf3ead0d4e0134c914b8281e8cf6543a9074a42 /gnu/packages
parentfb1136ff4b8947e4e24cfd14aef6b63ae879f5a0 (diff)
downloadguix-ca5ae405def25df96b59c92b2bbd5f996dd08d18.tar.gz
guix-ca5ae405def25df96b59c92b2bbd5f996dd08d18.zip
gnu: Add rust-log-reroute.
* gnu/packages/crates-io.scm (rust-log-reroute-0.1): New variable. Change-Id: I05866a562fbcc0fc892e21e33cb56b2872de0639
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
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)