diff options
| author | Cyril Roelandt <tipecaml@gmail.com> | 2015-09-09 00:44:14 +0200 |
|---|---|---|
| committer | Cyril Roelandt <tipecaml@gmail.com> | 2015-09-14 00:14:55 +0200 |
| commit | b85c85becd36aa3abbd80dbb5b22705f10e5e57a (patch) | |
| tree | 97709cdd121cd1a0d205de5e3670ca06ae9ca36a /gnu/packages/python.scm | |
| parent | 8c692a52586937a58627ae609f08aaabb102b64f (diff) | |
gnu: Add python-iso8601.
* gnu/packages/python.scm (python-iso8601, python2-iso8601): New variables.
Diffstat (limited to 'gnu/packages/python.scm')
| -rw-r--r-- | 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 04c842bc839..85ab88c7097 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm | |||
| @@ -4799,3 +4799,30 @@ and MAC network addresses.") | |||
| 4799 | 4799 | ||
| 4800 | (define-public python2-wrapt | 4800 | (define-public python2-wrapt |
| 4801 | (package-with-python2 python-wrapt)) | 4801 | (package-with-python2 python-wrapt)) |
| 4802 | |||
| 4803 | (define-public python-iso8601 | ||
| 4804 | (package | ||
| 4805 | (name "python-iso8601") | ||
| 4806 | (version "0.1.10") | ||
| 4807 | (source | ||
| 4808 | (origin | ||
| 4809 | (method url-fetch) | ||
| 4810 | (uri (string-append | ||
| 4811 | "https://pypi.python.org/packages/source/i/iso8601/iso8601-" | ||
| 4812 | version | ||
| 4813 | ".tar.gz")) | ||
| 4814 | (sha256 | ||
| 4815 | (base32 | ||
| 4816 | "1qf01afxh7j4gja71vxv345if8avg6nnm0ry0zsk6j3030xgy4p7")))) | ||
| 4817 | (build-system python-build-system) | ||
| 4818 | (inputs | ||
| 4819 | `(("python-setuptools" ,python-setuptools))) | ||
| 4820 | (home-page "https://bitbucket.org/micktwomey/pyiso8601") | ||
| 4821 | (synopsis "Module to parse ISO 8601 dates") | ||
| 4822 | (description | ||
| 4823 | "This module parses the most common forms of ISO 8601 date strings (e.g. | ||
| 4824 | @code{2007-01-14T20:34:22+00:00}) into @code{datetime} objects.") | ||
| 4825 | (license license:expat))) | ||
| 4826 | |||
| 4827 | (define-public python2-iso8601 | ||
| 4828 | (package-with-python2 python-iso8601)) | ||
