summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorCyril Roelandt <tipecaml@gmail.com>2013-05-23 03:49:02 +0200
committerCyril Roelandt <tipecaml@gmail.com>2013-05-29 01:47:16 +0200
commitacc26ff148f0b70cafbcfa281e3bf18bde4e297f (patch)
tree542d29bba11c6acf312aa8f994b2462a6037affe /gnu
parent4f7e152b349ce0ee21a4ef30187aec834476518c (diff)
downloadpatches-acc26ff148f0b70cafbcfa281e3bf18bde4e297f.tar
patches-acc26ff148f0b70cafbcfa281e3bf18bde4e297f.tar.gz
gnu: Add pytz.
* gnu/packages/python.scm (pytz): New package.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python.scm25
1 files changed, 23 insertions, 2 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 800b08c373..eb3315cba7 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -18,7 +18,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages python)
- #:use-module ((guix licenses) #:select (psfl))
+ #:use-module ((guix licenses) #:select (psfl x11))
#:use-module (gnu packages)
#:use-module (gnu packages compression)
#:use-module (gnu packages gdbm)
@@ -27,7 +27,8 @@
#:use-module (gnu packages patchelf)
#:use-module (guix packages)
#:use-module (guix download)
- #:use-module (guix build-system gnu))
+ #:use-module (guix build-system gnu)
+ #:use-module (guix build-system python))
(define-public python
(package
@@ -106,3 +107,23 @@ expression of procedural code; full modularity, supporting hierarchical
packages; exception-based error handling; and very high level dynamic
data types.")
(license psfl)))
+
+(define-public pytz
+ (package
+ (name "pytz")
+ (version "2013b")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://launchpad.net/pytz/main/" version
+ "/+download/pytz-" version ".tar.bz2"))
+ (sha256
+ (base32
+ "19giwgfcrg0nr1gdv49qnmf2jb2ilkcfc7qyqvfpz4dp0p64ksv5"))))
+ (build-system python-build-system)
+ (home-page "https://launchpad.net/pytz")
+ (synopsis "The Python timezone library.")
+ (description
+ "This library allows accurate and cross platform timezone calculations
+using Python 2.4 or higher and provides access to the Olson timezone database.")
+ (license x11)))