From 8f13bd0dcac33f7a6520379ded700c3bc939da38 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 7 Dec 2025 12:48:31 +0000 Subject: [PATCH] gnu: Add python-cron-converter. * gnu/packages/python-xyz.scm (python-cron-converter): New variable. Change-Id: I961bdbcbdc106ee9cd358471894497598251dfbd Signed-off-by: Rutherther --- gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 96b4b50947dd60eeca0dda5501c018a290633258..52b21a9cdfe93a48041b94163f35bafe38cb1713 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")