From 9e90d83e160f801a8ca19931a7142d7a95061866 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 31 Mar 2024 14:57:54 +0300 Subject: [PATCH] gnu: Add rust-tzdb-0.6. * gnu/packages/crates-io.scm (rust-tzdb-0.6): New variable. Change-Id: Id01621888534ae4cbc0dfe12213c063a34c43ac0 --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f1460a375b..8f0f57a733 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -83467,6 +83467,28 @@ for emulating polymorphism in const fns.") localtime, gmtime and mktime.") (license (list license:expat license:asl2.0)))) +(define-public rust-tzdb-0.6 + (package + (name "rust-tzdb") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tzdb" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cbzd2c4bs9ik9dpwbacw6j08kakbnjikdndcxbrza2z6rmhyn0v")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Doc tests segfault. + #:cargo-inputs (("rust-iana-time-zone" ,rust-iana-time-zone-0.1) + ("rust-tz-rs" ,rust-tz-rs-0.6) + ("rust-tzdb-data" ,rust-tzdb-data-0.1)))) + (home-page "https://github.com/Kijewski/tzdb") + (synopsis "Static time zone information for tz-rs") + (description "This package provides static time zone information for tz-rs.") + (license license:asl2.0))) + (define-public rust-tzdb-data-0.1 (package (name "rust-tzdb-data")