From 5ace6e2fa8b6bc915677643ac1477e1b86254bbc Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Thu, 23 May 2013 03:52:20 +0200 Subject: gnu: Add Babel. * gnu/packages/babel.scm (babel): New package. --- gnu/packages/python.scm | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index eb3315cba7..c9893d9385 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -18,7 +18,7 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages python) - #:use-module ((guix licenses) #:select (psfl x11)) + #:use-module ((guix licenses) #:select (bsd-3 psfl x11)) #:use-module (gnu packages) #:use-module (gnu packages compression) #:use-module (gnu packages gdbm) @@ -127,3 +127,29 @@ data types.") "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))) + +(define-public babel + (package + (name "babel") + (version "0.9.6") + (source + (origin + (method url-fetch) + (uri (string-append "http://ftp.edgewall.com/pub/babel/Babel-" + version ".tar.gz")) + (sha256 + (base32 + "03vmr54jq5vf3qw6kpdv7cdk7x7i2jhzyf1mawv2gk8zrxg0hfja")))) + (build-system python-build-system) + (inputs + `(("pytz" ,pytz))) + (home-page "http://babel.edgewall.org/") + (synopsis + "Tools for internationalizing Python applications") + (description + "Babel is composed of two major parts: +- tools to build and work with gettext message catalogs +- a Python interface to the CLDR (Common Locale Data Repository), providing +access to various locale display names, localized number and date formatting, +etc. ") + (license bsd-3))) -- cgit 1.4.1