guix-commits
[Top][All Lists]
Advanced

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

05/08: gnu: Add python-iso8601.


From: Cyril Roelandt
Subject: 05/08: gnu: Add python-iso8601.
Date: Sun, 13 Sep 2015 22:51:25 +0000

steap pushed a commit to branch master
in repository guix.

commit b85c85becd36aa3abbd80dbb5b22705f10e5e57a
Author: Cyril Roelandt <address@hidden>
Date:   Wed Sep 9 00:44:14 2015 +0200

    gnu: Add python-iso8601.
    
    * gnu/packages/python.scm (python-iso8601, python2-iso8601): New variables.
---
 gnu/packages/python.scm |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 04c842b..85ab88c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4799,3 +4799,30 @@ and MAC network addresses.")
 
 (define-public python2-wrapt
   (package-with-python2 python-wrapt))
+
+(define-public python-iso8601
+  (package
+  (name "python-iso8601")
+  (version "0.1.10")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (string-append
+             "https://pypi.python.org/packages/source/i/iso8601/iso8601-";
+             version
+             ".tar.gz"))
+      (sha256
+        (base32
+          "1qf01afxh7j4gja71vxv345if8avg6nnm0ry0zsk6j3030xgy4p7"))))
+  (build-system python-build-system)
+  (inputs
+    `(("python-setuptools" ,python-setuptools)))
+  (home-page "https://bitbucket.org/micktwomey/pyiso8601";)
+  (synopsis "Module to parse ISO 8601 dates")
+  (description
+    "This module parses the most common forms of ISO 8601 date strings (e.g.
address@hidden:34:22+00:00}) into @code{datetime} objects.")
+  (license license:expat)))
+
+(define-public python2-iso8601
+  (package-with-python2 python-iso8601))



reply via email to

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