diff options
| author | Cyril Roelandt <tipecaml@gmail.com> | 2013-05-23 03:49:02 +0200 |
|---|---|---|
| committer | Cyril Roelandt <tipecaml@gmail.com> | 2013-05-29 01:47:16 +0200 |
| commit | acc26ff148f0b70cafbcfa281e3bf18bde4e297f (patch) | |
| tree | 542d29bba11c6acf312aa8f994b2462a6037affe /gnu | |
| parent | 4f7e152b349ce0ee21a4ef30187aec834476518c (diff) | |
gnu: Add pytz.
* gnu/packages/python.scm (pytz): New package.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python.scm | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 800b08c373e..eb3315cba7d 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | 18 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
| 19 | 19 | ||
| 20 | (define-module (gnu packages python) | 20 | (define-module (gnu packages python) |
| 21 | #:use-module ((guix licenses) #:select (psfl)) | 21 | #:use-module ((guix licenses) #:select (psfl x11)) |
| 22 | #:use-module (gnu packages) | 22 | #:use-module (gnu packages) |
| 23 | #:use-module (gnu packages compression) | 23 | #:use-module (gnu packages compression) |
| 24 | #:use-module (gnu packages gdbm) | 24 | #:use-module (gnu packages gdbm) |
| @@ -27,7 +27,8 @@ | |||
| 27 | #:use-module (gnu packages patchelf) | 27 | #:use-module (gnu packages patchelf) |
| 28 | #:use-module (guix packages) | 28 | #:use-module (guix packages) |
| 29 | #:use-module (guix download) | 29 | #:use-module (guix download) |
| 30 | #:use-module (guix build-system gnu)) | 30 | #:use-module (guix build-system gnu) |
| 31 | #:use-module (guix build-system python)) | ||
| 31 | 32 | ||
| 32 | (define-public python | 33 | (define-public python |
| 33 | (package | 34 | (package |
| @@ -106,3 +107,23 @@ expression of procedural code; full modularity, supporting hierarchical | |||
| 106 | packages; exception-based error handling; and very high level dynamic | 107 | packages; exception-based error handling; and very high level dynamic |
| 107 | data types.") | 108 | data types.") |
| 108 | (license psfl))) | 109 | (license psfl))) |
| 110 | |||
| 111 | (define-public pytz | ||
| 112 | (package | ||
| 113 | (name "pytz") | ||
| 114 | (version "2013b") | ||
| 115 | (source | ||
| 116 | (origin | ||
| 117 | (method url-fetch) | ||
| 118 | (uri (string-append "https://launchpad.net/pytz/main/" version | ||
| 119 | "/+download/pytz-" version ".tar.bz2")) | ||
| 120 | (sha256 | ||
| 121 | (base32 | ||
| 122 | "19giwgfcrg0nr1gdv49qnmf2jb2ilkcfc7qyqvfpz4dp0p64ksv5")))) | ||
| 123 | (build-system python-build-system) | ||
| 124 | (home-page "https://launchpad.net/pytz") | ||
| 125 | (synopsis "The Python timezone library.") | ||
| 126 | (description | ||
| 127 | "This library allows accurate and cross platform timezone calculations | ||
| 128 | using Python 2.4 or higher and provides access to the Olson timezone database.") | ||
| 129 | (license x11))) | ||
