efraim pushed a commit to branch rust-team
in repository guix.
commit 2e1db1335a8c5de8fa8dc19c2b2aff83542f1797
Author: Steve George <[email protected]>
AuthorDate: Wed Oct 2 08:49:35 2024 +0100
gnu: Add rust-chrono-tz-0.9.
* gnu/packages/crates-io.scm (rust-chrono-tz-0.9): New variable
(rust-chrono-tz-0.8): Inherit from rust-chrono-tz-0.9.
Change-Id: Id0f22956bb81866cd7c2fb35e9ebf13c93ef577a
---
gnu/packages/crates-io.scm | 35 ++++++++++++++++++++++++++++++-----
1 file changed, 30 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9031644b3e..926da21af5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12643,23 +12643,23 @@ Encoding Standard.")
Python @code{arrow.humanize}.")
(license (list license:expat license:asl2.0))))
-(define-public rust-chrono-tz-0.8
+(define-public rust-chrono-tz-0.9
(package
(name "rust-chrono-tz")
- (version "0.8.5")
+ (version "0.9.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "chrono-tz" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1dv0yqhr60wrhm4sdlralqw1jf5plcxc91q6v93hvamzk6gbgmwi"))))
+ (base32 "1fvicqrlmdsjkrgxr7bxfd62i9w2qi2b6iv4w85av5syvqlqnsck"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-arbitrary" ,rust-arbitrary-1)
("rust-chrono" ,rust-chrono-0.4)
- ("rust-chrono-tz-build" ,rust-chrono-tz-build-0.2)
+ ("rust-chrono-tz-build" ,rust-chrono-tz-build-0.3)
("rust-phf" ,rust-phf-0.11)
("rust-serde" ,rust-serde-1)
("rust-uncased" ,rust-uncased-0.9))
@@ -12667,12 +12667,37 @@ Python @code{arrow.humanize}.")
(("rust-chrono" ,rust-chrono-0.4)
("rust-serde-test" ,rust-serde-test-1))))
(home-page "https://github.com/chronotope/chrono-tz")
- (synopsis "TimeZone implementations for rust-chrono from the IANA
database")
+ (synopsis "TimeZone implementations for chrono from the IANA database")
(description
"Chrono-TZ is a library that provides implementors of the TimeZone trait
for @code{rust-chrono}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-chrono-tz-0.8
+ (package
+ (inherit rust-chrono-tz-0.9)
+ (name "rust-chrono-tz")
+ (version "0.8.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "chrono-tz" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1dv0yqhr60wrhm4sdlralqw1jf5plcxc91q6v93hvamzk6gbgmwi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-chrono-tz-build" ,rust-chrono-tz-build-0.2)
+ ("rust-phf" ,rust-phf-0.11)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-uncased" ,rust-uncased-0.9))
+ #:cargo-development-inputs
+ (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-serde-test" ,rust-serde-test-1))))))
+
(define-public rust-chrono-tz-0.6
(package
(inherit rust-chrono-tz-0.8)