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.
This commit is contained in:
Nicolas Goaziou 2021-12-17 22:45:31 +01:00 committed by Leo Famulari
parent 60b973f6d9
commit f8bda8d959
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -17236,20 +17236,21 @@ (define-public rust-enumflags2-derive-0.6
(description "Enumflags2 implements the classic bitflags datastructure.") (description "Enumflags2 implements the classic bitflags datastructure.")
(license (list license:expat license:asl2.0)))) (license (list license:expat license:asl2.0))))
(define-public rust-env-logger-0.8 (define-public rust-env-logger-0.9
(package (package
(name "rust-env-logger") (name "rust-env-logger")
(version "0.8.3") (version "0.9.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "env-logger" version)) (uri (crate-uri "env_logger" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "0gwx1pvbv99fj9wpicknyv4p2vj997xpva8ac5dg03m35q0jlf8p")))) (base32 "1hzr53r0wga51j0w5zid69ylbfizg4qdbq0vqdj6rvki94sg0b0b"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:skip-build? #t
#:cargo-inputs
(("rust-atty" ,rust-atty-0.2) (("rust-atty" ,rust-atty-0.2)
("rust-humantime" ,rust-humantime-2) ("rust-humantime" ,rust-humantime-2)
("rust-log" ,rust-log-0.4) ("rust-log" ,rust-log-0.4)
@ -17262,6 +17263,26 @@ (define-public rust-env-logger-0.8
is configured via an environment variable.") is configured via an environment variable.")
(license (list license:expat license:asl2.0)))) (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 (define-public rust-env-logger-0.7
(package (package
(inherit rust-env-logger-0.8) (inherit rust-env-logger-0.8)