aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-21 22:14:51 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-05 21:14:13 +0100
commitf7a32161ed1ba24b99f6fb5727441a342b1fbbc1 (patch)
tree21e30280e9bec87434e2df626651513a635c9d86
parent6d1b9d15dc211370f9c889e542cfaceb4f45154d (diff)
downloadguix-f7a32161ed1ba24b99f6fb5727441a342b1fbbc1.tar
guix-f7a32161ed1ba24b99f6fb5727441a342b1fbbc1.tar.gz
gnu: Add rust-env-logger-0.8.
* gnu/packages/crates-io.scm (rust-env-logger-0.8): New variable. (rust-env-logger-0.7): Inherit from above.
-rw-r--r--gnu/packages/crates-io.scm36
1 files changed, 28 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fdd7e2dd07..54220dece1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9489,8 +9489,35 @@ accessor functions on enums.")
convert enum to u8 slice ref.")
(license license:bsd-3)))
+(define-public rust-env-logger-0.8
+ (package
+ (name "rust-env-logger")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "env-logger" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "07k6m6igz02g2b1v7nims7vd8azwxrav43xl14a6rjmxnikcnvpj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-atty" ,rust-atty-0.2)
+ ("rust-humantime" ,rust-humantime-2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-termcolor" ,rust-termcolor-1))))
+ (home-page "https://github.com/sebasmagri/env_logger/")
+ (synopsis "Logging implementation for @code{log}")
+ (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.7
(package
+ (inherit rust-env-logger-0.8)
(name "rust-env-logger")
(version "0.7.1")
(source
@@ -9502,7 +9529,6 @@ convert enum to u8 slice ref.")
(sha256
(base32
"0djx8h8xfib43g5w94r1m1mkky5spcw4wblzgnhiyg5vnfxknls4"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -9510,13 +9536,7 @@ convert enum to u8 slice ref.")
("rust-humantime" ,rust-humantime-1)
("rust-log" ,rust-log-0.4)
("rust-regex" ,rust-regex-1)
- ("rust-termcolor" ,rust-termcolor-1))))
- (home-page "https://github.com/sebasmagri/env_logger/")
- (synopsis "Logging implementation for @code{log}")
- (description
- "This package provides a logging implementation for @code{log} which
-is configured via an environment variable.")
- (license (list license:expat license:asl2.0))))
+ ("rust-termcolor" ,rust-termcolor-1))))))
(define-public rust-env-logger-0.6
(package