summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-12-07 12:48:31 +0000
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:18:24 +0100
commit8f13bd0dcac33f7a6520379ded700c3bc939da38 (patch)
treececb554f5c12accf266666eab613505331ba7398 /gnu/packages/python-xyz.scm
parentaf43879732082755fd4060ba6145e9aabcd40628 (diff)
gnu: Add python-cron-converter.
* gnu/packages/python-xyz.scm (python-cron-converter): New variable. Change-Id: I961bdbcbdc106ee9cd358471894497598251dfbd Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 96b4b50947d..52b21a9cdfe 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -834,6 +834,35 @@ Configurations:
@end table")
(license license:bsd-2)))
+(define-public python-cron-converter
+ (package
+ (name "python-cron-converter")
+ (version "1.3.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Sonic0/cron-converter")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0k5svwh9g6fxjx567iwjysq8x07cmy8qfwpk0pm0jjrgr42w9l6c"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:test-backend #~'unittest
+ #:test-flags #~(list "discover" "--verbose" "tests/unit")))
+ (native-inputs
+ (list python-dateutil
+ python-setuptools))
+ (propagated-inputs
+ (list python-dateutil))
+ (home-page "https://github.com/Sonic0/cron-converter")
+ (synopsis "Cron string parser and scheduler for Python")
+ (description
+ "Cron-converter provides a Cron string parser (from string/lists to
+string/lists) and iteration for the datetime object with a cron like format.")
+ (license license:expat)))
+
(define-public python-curtsies
(package
(name "python-curtsies")