aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2020-01-15 09:48:50 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-20 17:22:15 +0200
commit8328cf26401ad714dd57e9245ce190e16f997204 (patch)
tree739685d83ef57fe2100096ba683ad2987db03f32
parent7e7fd7fadc0923b0884a2666a92c45ae80bae926 (diff)
downloadpatches-8328cf26401ad714dd57e9245ce190e16f997204.tar
patches-8328cf26401ad714dd57e9245ce190e16f997204.tar.gz
gnu: Add rust-env-logger-0.7.
* gnu/packages/crates-io.scm (rust-env-logger-0.7): New variable. (rust-env-logger-0.6): Inherit from rust-env-logger-0.7. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm37
1 files changed, 29 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 639446878d..63c0f682e6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2758,10 +2758,10 @@ Standard.")
"Streaming transcoding for encoding_rs.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-env-logger-0.6
+(define-public rust-env-logger-0.7
(package
(name "rust-env-logger")
- (version "0.6.2")
+ (version "0.7.1")
(source
(origin
(method url-fetch)
@@ -2770,25 +2770,46 @@ Standard.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1lx2s5nk96xx4i3m4zc4ghqgi8kb07dsnyiv8jk2clhax42dxz5a"))))
+ "0djx8h8xfib43g5w94r1m1mkky5spcw4wblzgnhiyg5vnfxknls4"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-atty" ,rust-atty-0.2)
- ("rust-humantime" ,rust-humantime-1.2)
+ ("rust-humantime" ,rust-humantime-1.3)
("rust-log" ,rust-log-0.4)
("rust-regex" ,rust-regex-1.1)
("rust-termcolor" ,rust-termcolor-1.0))))
- (home-page
- "https://github.com/sebasmagri/env_logger/")
- (synopsis
- "Logging implementation for @code{log}")
+ (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.6
+ (package
+ (inherit rust-env-logger-0.7)
+ (name "rust-env-logger")
+ (version "0.6.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "env_logger" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1lx2s5nk96xx4i3m4zc4ghqgi8kb07dsnyiv8jk2clhax42dxz5a"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-atty" ,rust-atty-0.2)
+ ("rust-humantime" ,rust-humantime-1.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-regex" ,rust-regex-1.1)
+ ("rust-termcolor" ,rust-termcolor-1.0))))))
+
(define-public rust-envmnt-0.6
(package
(name "rust-envmnt")