[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68780] [PATCH 04/19] gnu: Add rust-chrono-tz-0.8.
From: |
Troy Figiel |
Subject: |
[bug#68780] [PATCH 04/19] gnu: Add rust-chrono-tz-0.8. |
Date: |
Sat, 27 Jan 2024 16:20:08 +0100 |
* gnu/packages/crates-io.scm (rust-chrono-tz-0.8): New variable.
(rust-chrono-tz-0.6): Inherit from rust-chrono-tz-0.8.
---
gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++--------
1 file changed, 32 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3825e14115..02cfe3c531 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9894,8 +9894,39 @@ (define-public rust-chrono-humanize-0.2
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
@@ -9905,7 +9936,6 @@ (define-public rust-chrono-tz-0.6
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1pmv434fhw9pwiqc12pvgaiskrq4v1dh1f238gfsg48r301r5hr9"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
(list "--release" "--"
@@ -9918,13 +9948,7 @@ (define-public rust-chrono-tz-0.6
("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
--
2.42.0
- [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 01/19] gnu: Add rust-flatbuffers-23., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 02/19] gnu: rust-flatbuffers-2: Don't skip the build., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 04/19] gnu: Add rust-chrono-tz-0.8.,
Troy Figiel <=
- [bug#68780] [PATCH 03/19] gnu: Add rust-chrono-tz-build-0.2., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 05/19] gnu: Add rust-comfy-table-7., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 08/19] gnu: Add rust-arrow-data-47., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 07/19] gnu: Add rust-arrow-buffer-47., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 06/19] gnu: Add rust-arrow-schema-47., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 09/19] gnu: Add rust-arrow-array-47., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 10/19] gnu: Add rust-arrow-select-47., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 11/19] gnu: Add rust-arrow-string-47., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 12/19] gnu: Add rust-arrow-ord-47., Troy Figiel, 2024/01/28
- [bug#68780] [PATCH 13/19] gnu: Add rust-arrow-cast-47., Troy Figiel, 2024/01/28