guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 0322144d9b71007fa4cbcdb45c14046a418e6985
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Jan 21 20:27:56 2026 +0100

    gnu: Add python-timeslot.
    
    * gnu/packages/time.scm (python-timeslot): New variable.
    
    Signed-off-by: Liliana Marie Prikler <[email protected]>
---
 gnu/packages/time.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index 093d56f962..632e31ea13 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -513,6 +513,35 @@ aniso8601.")
     ;; setup.py and PyPI: "License :: OSI Approved :: BSD License"
     (license bsd-3)))
 
+(define-public python-timeslot
+  (let ((commit "af35445e96cbb2f3fb671a75aac6aa93e4e7e7a6")
+        (revision "0"))
+    (package
+      (name "python-timeslot")
+      (version (git-version "0.1.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+                (url "https://github.com/ErikBjare/timeslot";)
+                (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1m0zrr60p4brkdwkkhdzhvmd98flklqgbjryjpdcfq1c4gd60j0q"))))
+      (build-system pyproject-build-system)
+      (native-inputs
+       (list python-poetry-core
+             python-pytest
+             python-pytest-cov
+             python-setuptools))
+      (home-page "https://github.com/ErikBjare/timeslot";)
+      (synopsis "Data type for representing time slots")
+      (description
+       "This package provides a data type for representing time slots with a
+start and end.  It completes the datetime Python module, which can represent a
+time, a duration, a timezone, but not a range or interval.")
+      (license expat))))
+
 (define-public python-timezonefinder
   (package
     (name "python-timezonefinder")

Reply via email to