diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-12-15 15:36:57 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2025-01-06 12:15:01 +0200 |
commit | e9878357d48e2054f8a04510b99b22cbd140da49 (patch) | |
tree | b40580ab8b38c38cf82ef411d8888bff7d2fa425 | |
parent | 56270267b0c17319d1f143956a0896087d55277e (diff) | |
download | guix-e9878357d48e2054f8a04510b99b22cbd140da49.tar.gz guix-e9878357d48e2054f8a04510b99b22cbd140da49.zip |
gnu: Add rust-chrono-tz-0.10.
* gnu/packages/crates-io.scm (rust-chrono-tz-0.10): New variable.
(rust-chrono-tz-0.9): Inherit from rust-chrono-tz-0.10.
Change-Id: Ie01d9638dfa4e1b17fb313d817cf5ae132b61d4f
-rw-r--r-- | gnu/packages/crates-io.scm | 38 |
1 files changed, 30 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8fec11fe55..d4ce0bd6c7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -13345,8 +13345,37 @@ Encoding Standard.") Python @code{arrow.humanize}.") (license (list license:expat license:asl2.0)))) +(define-public rust-chrono-tz-0.10 + (package + (name "rust-chrono-tz") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "chrono-tz" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dnkmhlf8jfxskrzir0y6fdbpf8mqnaz5igql9cklwh0dl2dhvfd")))) + (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.4) + ("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)))) + (home-page "https://github.com/chronotope/chrono-tz") + (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.9 (package + (inherit rust-chrono-tz-0.10) (name "rust-chrono-tz") (version "0.9.0") (source @@ -13356,7 +13385,6 @@ Python @code{arrow.humanize}.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1fvicqrlmdsjkrgxr7bxfd62i9w2qi2b6iv4w85av5syvqlqnsck")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) @@ -13367,13 +13395,7 @@ Python @code{arrow.humanize}.") ("rust-uncased" ,rust-uncased-0.9)) #:cargo-development-inputs (("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 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)))) + ("rust-serde-test" ,rust-serde-test-1)))))) (define-public rust-chrono-tz-0.8 (package |