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 | |
| 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>
| -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.") | |||
| 513 | ;; setup.py and PyPI: "License :: OSI Approved :: BSD License" | 513 | ;; setup.py and PyPI: "License :: OSI Approved :: BSD License" |
| 514 | (license bsd-3))) | 514 | (license bsd-3))) |
| 515 | 515 | ||
| 516 | (define-public python-timeslot | ||
| 517 | (let ((commit "af35445e96cbb2f3fb671a75aac6aa93e4e7e7a6") | ||
| 518 | (revision "0")) | ||
| 519 | (package | ||
| 520 | (name "python-timeslot") | ||
| 521 | (version (git-version "0.1.2" revision commit)) | ||
| 522 | (source | ||
| 523 | (origin | ||
| 524 | (method git-fetch) | ||
| 525 | (uri (git-reference | ||
| 526 | (url "https://github.com/ErikBjare/timeslot") | ||
| 527 | (commit commit))) | ||
| 528 | (file-name (git-file-name name version)) | ||
| 529 | (sha256 | ||
| 530 | (base32 "1m0zrr60p4brkdwkkhdzhvmd98flklqgbjryjpdcfq1c4gd60j0q")))) | ||
| 531 | (build-system pyproject-build-system) | ||
| 532 | (native-inputs | ||
| 533 | (list python-poetry-core | ||
| 534 | python-pytest | ||
| 535 | python-pytest-cov | ||
| 536 | python-setuptools)) | ||
| 537 | (home-page "https://github.com/ErikBjare/timeslot") | ||
| 538 | (synopsis "Data type for representing time slots") | ||
| 539 | (description | ||
| 540 | "This package provides a data type for representing time slots with a | ||
| 541 | start and end. It completes the datetime Python module, which can represent a | ||
| 542 | time, a duration, a timezone, but not a range or interval.") | ||
| 543 | (license expat)))) | ||
| 544 | |||
| 516 | (define-public python-timezonefinder | 545 | (define-public python-timezonefinder |
| 517 | (package | 546 | (package |
| 518 | (name "python-timezonefinder") | 547 | (name "python-timezonefinder") |
