diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2025-01-27 21:48:38 +0100 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2025-01-27 21:50:07 +0100 |
commit | 49ea9bcc4a344d054a49b3465cd27c688a132349 (patch) | |
tree | 5058bea8371cde1ecea1b582d617dc131b5761be /gnu/packages/python-xyz.scm | |
parent | 6c2bc0ab6b6aeecd1371db3a14741910339dce45 (diff) |
gnu: Add python-whenever.
* gnu/packages/python-xyz.scm (python-whenever): New variable.
Change-Id: Idbdcf27dee3d772fdb7e679e6060287e2b6a3aa7
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 31a5166574..0a2cf0f315 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -39789,6 +39789,35 @@ write text fast, and for various text generation, statistics, and modeling tasks (base32 "0mikjfvq26kh8asnn9v55z41pap4c5ypymqnwwi4xkavc3mzyda2")))))) +(define-public python-whenever + (package + (name "python-whenever") + (version "0.6.16") + (source + (origin + (method url-fetch) + (uri (pypi-uri "whenever" version)) + (sha256 + (base32 "1diqibiv07i0q4sqqd1qw4bbzmp84zlrfv8lmlc395b5czwpf5pj")))) + (build-system pyproject-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + ;; Use the pure python version + (add-before 'build 'setenv + (lambda _ + (setenv "WHENEVER_NO_BUILD_RUST_EXT" "1")))))) + (propagated-inputs (list python-tzdata)) + (native-inputs (list python-setuptools python-setuptools-rust python-wheel)) + (home-page "https://whenever.readthedocs.io/") + (synopsis "Modern datetime library for Python") + (description "Modern datetime library for Python. Supports: +@itemize +@item DST-safe arithmetic +@item Nanosecond precision +@item Date arithmetic +@end itemize") + (license license:expat))) + (define-public python-xmp-toolkit (package (name "python-xmp-toolkit") |