guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#67813] [PATCH 05/12] gnu: Add python-tzdata.


From: Nicolas Graves
Subject: [bug#67813] [PATCH 05/12] gnu: Add python-tzdata.
Date: Wed, 13 Dec 2023 22:56:25 +0100

* gnu/packages/time.scm (python-tzdata): New variable.
---
 gnu/packages/time.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index 5c8f65a1e6..64772258ad 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -337,6 +337,23 @@ (define-public python-timezonefinder
 timezone for given coordinates on earth entirely offline.")
     (license expat)))
 
+(define-public python-tzdata
+  (package
+    (name "python-tzdata")
+    (version "2023.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "tzdata" version))
+       (sha256
+        (base32 "0fksj1gcr54yqvwiplnb9bg775k5v82vxcdxjm7hvjsawl41xvqi"))))
+    (build-system pyproject-build-system)
+    (arguments '(#:tests? #f))  ; No tests.
+    (home-page "https://github.com/python/tzdata";)
+    (synopsis "Provider of IANA time zone data")
+    (description "This package provides IANA time zone data.")
+    (license asl2.0)))
+
 (define-public python-tzlocal
   (package
     (name "python-tzlocal")
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]