diff options
author | Troy Figiel <troy@troyfigiel.com> | 2024-01-27 16:20:08 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:58:46 +0200 |
commit | def059a7c2c3d7c2c1e2459583bcb7619fd3c736 (patch) | |
tree | c4b318a9022586f0287815f99507625f120693aa /gnu | |
parent | d056f5a31a91e076a8c2d74e512fa9b87adaef13 (diff) |
gnu: Add rust-chrono-tz-0.8.
* gnu/packages/crates-io.scm (rust-chrono-tz-0.8): New variable.
(rust-chrono-tz-0.6): Inherit from rust-chrono-tz-0.8.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 40 |
1 files changed, 32 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6ef8dc66dd..c8eebd3ee0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10085,8 +10085,39 @@ Encoding Standard.") Python @code{arrow.humanize}.") (license (list license:expat license:asl2.0)))) +(define-public rust-chrono-tz-0.8 + (package + (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)))) + (home-page "https://github.com/chronotope/chrono-tz") + (synopsis "TimeZone implementations for rust-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.6 (package + (inherit rust-chrono-tz-0.8) (name "rust-chrono-tz") (version "0.6.3") (source @@ -10096,7 +10127,6 @@ Python @code{arrow.humanize}.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1pmv434fhw9pwiqc12pvgaiskrq4v1dh1f238gfsg48r301r5hr9")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags (list "--release" "--" @@ -10109,13 +10139,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 rust-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.5 (package |