Subject: [bug#75372] [PATCH 34/44] gnu: Add rust-tzdb-0.5.

From: Divya Ranjan <[email-masked]>
Date: Sun, 5 Jan 2025 07:04:10 +0000

* gnu/packages/crates-io.scm (rust-tzdb-0.5): New variable.
---
 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 92dab7fcb1..0bfec5facb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -87017,6 +87017,28 @@ (define-public rust-tzdb-0.6
     (description "This package provides static time zone information for tz-rs.")
     (license license:asl2.0)))
 
+(define-public rust-tzdb-0.5
+  (package
+    (name "rust-tzdb")
+    (version "0.5.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tzdb" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0sfrl86nxag6y59kl5bzs758kbd50h46an8qsj1xccrlvrdyw63a"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-iana-time-zone" ,rust-iana-time-zone-0.1)
+                       ("rust-tz-rs" ,rust-tz-rs-0.6)
+                       ("rust-tzdb" ,rust-tzdb-0.6))))
+    (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")
-- 
2.47.1