guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

68/361: gnu: Add python-isoduration.


From: guix-commits
Subject: 68/361: gnu: Add python-isoduration.
Date: Fri, 22 Nov 2024 06:00:13 -0500 (EST)

andreas pushed a commit to branch python-team
in repository guix.

commit 2f3484a3b8792544032bc322e3bece976786f724
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 7 21:26:52 2024 +0200

    gnu: Add python-isoduration.
    
    * gnu/packages/python-xyz.scm (python-isoduration): New variable.
    
    Change-Id: I3503ea0baf6a73a9b3c19ab616127ce5df1ed827
---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6f155e5458..20abf63453 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24717,6 +24717,28 @@ builds partial trees by inspecting living objects.")
      version, is suitable to be include as a dependency in other projects.")
     (license license:lgpl3+)))
 
+(define-public python-isoduration
+  (package
+    (name "python-isoduration")
+    (version "20.11.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "isoduration" version))
+       (sha256
+        (base32 "1n8vpa9fckhc5934kp7m83wq81dhkvw987v7mjg2fdbr2car0bxc"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-arrow))
+    (native-inputs (list python-setuptools python-wheel))
+    (home-page "https://github.com/bolsote/isoduration";)
+    (synopsis "Operations with ISO 8601 durations")
+    (description "ISO 8601 is most commonly known as a way to exchange
+datetimes in textual format.  A lesser known aspect of the standard is the
+representation of durations.  The state of the art of ISO 8601 duration
+handling in Python is more or less limited to what's offered by isodate. This
+package attempts to address the shortcomings of @code{isodate}.")
+    (license license:isc)))
+
 (define-public python-isort
   (package
     (name "python-isort")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]