mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add python-dateutil, python2-dateutil.
* gnu/packages/python.scm (python-dateutil, python2-dateutil): New variables.
This commit is contained in:
parent
824af8cadc
commit
fc50e9c694
1 changed files with 29 additions and 0 deletions
|
@ -218,6 +218,7 @@ (define-public python-pytz
|
|||
(define-public python2-pytz
|
||||
(package-with-python2 python-pytz))
|
||||
|
||||
|
||||
(define-public python-babel
|
||||
(package
|
||||
(name "python-babel")
|
||||
|
@ -248,6 +249,7 @@ (define-public python-babel
|
|||
(define-public python2-babel
|
||||
(package-with-python2 python-babel))
|
||||
|
||||
|
||||
(define-public python-setuptools
|
||||
(package
|
||||
(name "python-setuptools")
|
||||
|
@ -283,3 +285,30 @@ (define-public python-setuptools
|
|||
|
||||
(define-public python2-setuptools
|
||||
(package-with-python2 python-setuptools))
|
||||
|
||||
|
||||
(define-public python-dateutil
|
||||
(package
|
||||
(name "python-dateutil")
|
||||
(version "1.5") ; last version for python < 3
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://labix.org/download/python-dateutil/python-dateutil-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0fqfglhy5khbvsipr3x7m6bcaqljh8xl5cw33vbfxy7qhmywm2n0"))))
|
||||
(build-system python-build-system)
|
||||
(inputs
|
||||
`(("python-setuptools" ,python-setuptools)))
|
||||
(home-page "http://labix.org/python-dateutil")
|
||||
(synopsis
|
||||
"Extensions to the standard datetime module, available in Python 2.3+")
|
||||
(description
|
||||
"The dateutil module provides powerful extensions to the standard
|
||||
datetime module, available in Python 2.3+.")
|
||||
(license psfl)))
|
||||
|
||||
(define-public python2-dateutil
|
||||
(package-with-python2 python-dateutil))
|
||||
|
|
Loading…
Reference in a new issue