[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: Add python-isodate.
From: |
Andreas Enge |
Subject: |
01/01: gnu: Add python-isodate. |
Date: |
Tue, 20 Jan 2015 21:23:38 +0000 |
andreas pushed a commit to branch master
in repository guix.
commit 03411993a8848f8db93bcfccdba1098ac4557255
Author: Andreas Enge <address@hidden>
Date: Tue Jan 20 22:16:58 2015 +0100
gnu: Add python-isodate.
* gnu/packages/python.scm (python-isodate, python2-isodate): New variables.
---
gnu/packages/python.scm | 31 ++++++++++++++++++++++++++++++-
1 files changed, 30 insertions(+), 1 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 1978d1c..a0e682c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Nikita Karetnikov <address@hidden>
;;; Copyright © 2013, 2014 Ludovic Courtès <address@hidden>
-;;; Copyright © 2013, 2014 Andreas Enge <address@hidden>
+;;; Copyright © 2013, 2014, 2015 Andreas Enge <address@hidden>
;;; Copyright © 2014 Mark H Weaver <address@hidden>
;;; Copyright © 2014 Eric Bavier <address@hidden>
;;; Copyright © 2014 Federico Beffa <address@hidden>
@@ -2811,3 +2811,32 @@ computing.")
,@(alist-delete "python-numpydoc"
(alist-delete "python-matplotlib"
(package-inputs ipython))))))))
+
+(define-public python-isodate
+ (package
+ (name "python-isodate")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/i/isodate/isodate-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1yqjn0is0p64cmk9xhq4hc6q06jk86d60kg2jws58d78q0qysami"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page
+ "http://cheeseshop.python.org/pypi/isodate")
+ (synopsis
+ "Python date parser and formatter")
+ (description
+ "Python-isodate is a python module for parsing and formatting
+ISO 8601 dates, time and duration.")
+ (license bsd-3)))
+
+(define-public python2-isodate
+ (package-with-python2 python-isodate))