[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/17: gnu: Add python-dateutils.
From: |
guix-commits |
Subject: |
03/17: gnu: Add python-dateutils. |
Date: |
Wed, 10 May 2023 12:23:44 -0400 (EDT) |
rekado pushed a commit to branch wip-pytorch-lightning
in repository guix.
commit c667459c19c09c62ea07527fe1c8294994008b72
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed May 10 13:16:48 2023 +0200
gnu: Add python-dateutils.
* gnu/packages/time.scm (python-dateutils): New variable.
---
gnu/packages/time.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index 36b561b041..6c1251c1d6 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -233,6 +233,28 @@ datetime module, available in Python 2.3+.")
;; BSD-3 still; but all new code is dual licensed (the user can choose).
(license (list bsd-3 asl2.0))))
+(define-public python-dateutils
+ (package
+ (name "python-dateutils")
+ (version "0.6.12")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "dateutils" version))
+ (sha256
+ (base32
+ "1wg3f3imjq3snvjccv64h5498pqv9xz664xhni7bsh8mnay91p83"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-dateutil python-pytz))
+ (home-page "https://github.com/jmcantrell/python-dateutils")
+ (synopsis "Various utilities for working with date and datetime objects")
+ (description
+ "The main purpose of this package is to provide more complex arithmetic
+operations on dates/times. Heavy use is made of the @code{relativedelta} type
+from the @code{dateutil} library. Much of this package is just a light
+wrapper on top of this with some added features such as range generation and
+business day calculation.")
+ (license bsd-0)))
+
(define-public python-parsedatetime
(package
(name "python-parsedatetime")
- branch wip-pytorch-lightning updated (46c7243e69 -> 571e331d46), guix-commits, 2023/05/10
- 02/17: gnu: python-pillow-simd: Update to 9.2.0., guix-commits, 2023/05/10
- 01/17: gnu: python-blessed: Update to 1.20.0., guix-commits, 2023/05/10
- 08/17: gnu: Add python-fastapi-for-pytorch-lightning., guix-commits, 2023/05/10
- 07/17: gnu: Add python-starlette-for-fastapi-0.88., guix-commits, 2023/05/10
- 09/17: gnu: Add python-types-urllib3., guix-commits, 2023/05/10
- 13/17: gnu: Add python-typeshed-client., guix-commits, 2023/05/10
- 04/17: gnu: python-scikit-optimize: Fix build with newer numpy and sklearn., guix-commits, 2023/05/10
- 06/17: gnu: Add python-inquirer., guix-commits, 2023/05/10
- 12/17: gnu: python-torchvision: Update to 0.15.2., guix-commits, 2023/05/10
- 03/17: gnu: Add python-dateutils.,
guix-commits <=
- 05/17: gnu: Add python-readchar., guix-commits, 2023/05/10
- 11/17: gnu: python-arrow: Update to 1.2.3., guix-commits, 2023/05/10
- 10/17: gnu: Add python-types-requests., guix-commits, 2023/05/10
- 16/17: gnu: Add python-jsonargparse., guix-commits, 2023/05/10
- 17/17: gnu: Add python-pytorch-lightning., guix-commits, 2023/05/10
- 14/17: gnu: Add python-starsessions-for-pytorch-lightning., guix-commits, 2023/05/10
- 15/17: gnu: Add python-docstring-parser., guix-commits, 2023/05/10