guix-patches
[Top][All Lists]
Advanced

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

[bug#70924] [PATCH 04/10] gnu: Add python-isoduration.


From: Vinicius Monego
Subject: [bug#70924] [PATCH 04/10] gnu: Add python-isoduration.
Date: Mon, 13 May 2024 20:52:09 +0000

* gnu/packages/python-xyz.scm (python-isoduration): New variable.

Change-Id: Ifc56c0405ec865f9f5c7f404248e02fe108d867d
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 73b2753dc3..1bb08ecb9b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23639,6 +23639,31 @@ (define-public python-invoke
      instead of servers and network commands.")
     (license license:bsd-3)))
 
+(define-public python-isoduration
+  (package
+    (name "python-isoduration")
+    (version "20.11.0")
+    (source (origin
+              (method git-fetch) ; no tests in PyPI
+              (uri (git-reference
+                    (url "https://github.com/bolsote/isoduration";)
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1naml13qa1inr6k0j25jgw49r3wnkvwq5xc0v4navz6mxlgsrfp8"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-isodate
+                         python-pytest
+                         python-pytest-benchmark))
+    (propagated-inputs (list python-arrow))
+    (home-page "https://github.com/bolsote/isoduration";)
+    (synopsis "Operations with ISO 8601 durations")
+    (description "This package provides operations with ISO 8601 durations.
+It addresses the shortcomings of @code{isodate} (as described in their own
+Limitations section).")
+    (license license:isc)))
+
 (define-public python-automat
   (package
     (name "python-automat")
-- 
2.39.2






reply via email to

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