From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: =?UTF-8?q?=5BPATCH=203/3=5D=20gnu=3A=20Add=20Babel=2E?= Date: Thu, 23 May 2013 04:08:29 +0200 Message-ID: <1369274909-7297-4-git-send-email-tipecaml@gmail.com> References: <1369274909-7297-1-git-send-email-tipecaml@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfL5K-000488-Mh for bug-guix@gnu.org; Wed, 22 May 2013 22:17:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfL5F-0004Bn-Jt for bug-guix@gnu.org; Wed, 22 May 2013 22:16:54 -0400 Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:50846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfL5F-0004Be-Di for bug-guix@gnu.org; Wed, 22 May 2013 22:16:49 -0400 Received: by mail-wi0-f174.google.com with SMTP id c10so4256534wiw.1 for ; Wed, 22 May 2013 19:16:48 -0700 (PDT) In-Reply-To: <1369274909-7297-1-git-send-email-tipecaml@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: bug-guix@gnu.org * 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 +;;; +;;; 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 . + +(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