guix-patches
[Top][All Lists]
Advanced

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

[bug#35977] [PATCH 45/47] gnu: Add python-strict-rfc3339.


From: h.nasajpour
Subject: [bug#35977] [PATCH 45/47] gnu: Add python-strict-rfc3339.
Date: Wed, 29 May 2019 05:06:21 +0430

* gnu/packages/time.scm (python-strict-rfc3339): New variable
---
 gnu/packages/time.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index 1363843b31..9e23ffae14 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -440,3 +440,21 @@ datetime type.")
 modifies the @code{time}, @code{gettimeofday} and @code{clock_gettime} system
 calls.")
     (license gpl2)))
+
+(define-public python-strict-rfc3339
+  (package
+    (name "python-strict-rfc3339")
+    (version "0.7")
+    (source (origin
+      (method url-fetch)
+      (uri (pypi-uri "strict-rfc3339" version))
+      (sha256 (base32 
"0xqjbsn0g1h88rayh5yrpdagq60zfwrfs3yvk6rmgby3vyz1gbaw"))))
+    (build-system python-build-system)
+    (arguments
+      `(
+        #:tests? #f
+        ))
+    (home-page "https://github.com/danielrichman/strict-rfc3339";)
+    (synopsis "Strict, simple, lightweight RFC3339 functions.")
+    (description "Convert unix timestamps to and from RFC3339.")
+    (license license:gpl3+)))
-- 
2.17.1






reply via email to

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