diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-17 22:45:31 +0100 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2021-12-28 14:10:17 -0500 |
commit | f8bda8d9596f6289e05da16a755cf142fc9b9b3b (patch) | |
tree | 73c85baad857063ed05edaa8bc421fcb92e9c18c | |
parent | 60b973f6d94bca2481c2a8a322e248c309c92b8c (diff) |
gnu: Add rust-env-logger-0.9.
* gnu/packages/crates-io.scm (rust-env-logger-0.9): New variable.
(rust-env-logger-0.8): Inherit from above.
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1af28cb9eb..d228c9cf0e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -17236,20 +17236,21 @@ convert enum to u8 slice ref.") (description "Enumflags2 implements the classic bitflags datastructure.") (license (list license:expat license:asl2.0)))) -(define-public rust-env-logger-0.8 +(define-public rust-env-logger-0.9 (package (name "rust-env-logger") - (version "0.8.3") + (version "0.9.0") (source (origin (method url-fetch) - (uri (crate-uri "env-logger" version)) + (uri (crate-uri "env_logger" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0gwx1pvbv99fj9wpicknyv4p2vj997xpva8ac5dg03m35q0jlf8p")))) + (base32 "1hzr53r0wga51j0w5zid69ylbfizg4qdbq0vqdj6rvki94sg0b0b")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:skip-build? #t + #:cargo-inputs (("rust-atty" ,rust-atty-0.2) ("rust-humantime" ,rust-humantime-2) ("rust-log" ,rust-log-0.4) @@ -17262,6 +17263,26 @@ convert enum to u8 slice ref.") is configured via an environment variable.") (license (list license:expat license:asl2.0)))) +(define-public rust-env-logger-0.8 + (package + (inherit rust-env-logger-0.9) + (name "rust-env-logger") + (version "0.8.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "env-logger" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gwx1pvbv99fj9wpicknyv4p2vj997xpva8ac5dg03m35q0jlf8p")))) + (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)))))) + (define-public rust-env-logger-0.7 (package (inherit rust-env-logger-0.8) |