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
parent a2fcbf9740
commit cea45880bb
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -17236,20 +17236,21 @@ (define-public rust-enumflags2-derive-0.6
(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 @@ (define-public rust-env-logger-0.8
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)