GNU bug report logs -
#68780
[PATCH 00/19] gnu: Add rust-arrow-47.
Previous Next
Reported by: Troy Figiel <troy <at> troyfigiel.com>
Date: Sun, 28 Jan 2024 10:59:02 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 68780 <at> debbugs.gnu.org (full text, mbox):
* 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
This bug report was last modified 1 year and 157 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.