* gnu/packages/babel.scm: New file. * Makefile.am (MODULES): Add it. --- Makefile.am | 1 + gnu/packages/babel.scm | 51 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 gnu/packages/babel.scm
diff --git a/Makefile.am b/Makefile.am index 0a08edb..5bf3bef 100644 --- a/Makefile.am +++ b/Makefile.am @@ -72,6 +72,7 @@ MODULES = \ gnu/packages/attr.scm \ gnu/packages/autotools.scm \ gnu/packages/avahi.scm \ + gnu/packages/babel.scm \ gnu/packages/base.scm \ gnu/packages/bash.scm \ gnu/packages/bdb.scm \ diff --git a/gnu/packages/babel.scm b/gnu/packages/babel.scm new file mode 100644 index 0000000..d059572 --- /dev/null +++ b/gnu/packages/babel.scm @@ -0,0 +1,51 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2013 Cyril Roelandt <[email protected]> +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. + +(define-module (gnu packages babel) + #:use-module (guix licenses) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system python) + #:use-module (gnu packages) + #:use-module (gnu packages pytz)) + +(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 + "A collection of 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))) -- 1.7.10.4
