diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-01-21 20:27:56 +0100 |
|---|---|---|
| committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2026-02-07 22:37:16 +0100 |
| commit | 0322144d9b71007fa4cbcdb45c14046a418e6985 (patch) | |
| tree | 71c76fcad9553a544c7032a717bed23e0d04b4df /gnu/packages/time.scm | |
| parent | 58b237deb90d798528a3f21e403541a8255ef5cd (diff) | |
gnu: Add python-timeslot.
* gnu/packages/time.scm (python-timeslot): New variable.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu/packages/time.scm')
| -rw-r--r-- | gnu/packages/time.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index 093d56f9624..632e31ea136 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") |
