From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8Ci3-0001bj-Rf for guix-patches@gnu.org; Tue, 09 May 2017 17:30:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8Ci1-0001n9-5P for guix-patches@gnu.org; Tue, 09 May 2017 17:30:19 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60245) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d8Ci1-0001mp-0p for guix-patches@gnu.org; Tue, 09 May 2017 17:30:17 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d8Ci0-00006u-QY for guix-patches@gnu.org; Tue, 09 May 2017 17:30:16 -0400 Subject: bug#26861: [PATCH 21/31] gnu: Add java-icu4j. Resent-Message-ID: From: Ricardo Wurmus Date: Tue, 9 May 2017 23:28:38 +0200 Message-Id: <20170509212848.14688-21-rekado@elephly.net> In-Reply-To: <20170509212848.14688-1-rekado@elephly.net> References: <20170509212848.14688-1-rekado@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26861@debbugs.gnu.org Cc: Ricardo Wurmus * gnu/packages/icu4c.scm (java-icu4j): New variable. --- gnu/packages/icu4c.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm index 9f465b102..3e9652005 100644 --- a/gnu/packages/icu4c.scm +++ b/gnu/packages/icu4c.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2015, 2016 Mark H Weaver ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2017 Clément Lassieur +;;; Copyright © 2017 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -25,6 +26,7 @@ #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix build-system ant) #:use-module (guix build-system gnu)) (define-public icu4c @@ -75,3 +77,30 @@ C/C++ part.") (patches (search-patches "icu4c-CVE-2017-7867-CVE-2017-7868.patch" "icu4c-reset-keyword-list-iterator.patch")))))) + +(define-public java-icu4j + (package + (name "java-icu4j") + (version "59.1") + (source (origin + (method url-fetch) + (uri (string-append "http://download.icu-project.org/files/icu4j/" + version "/icu4j-" + (string-map (lambda (x) + (if (char=? x #\.) #\_ x)) + version) + "-src.jar")) + (sha256 + (base32 + "0bgxsvgi0qcwj60pvcxrf7a3fbk7aksyxnfwpbzavyfrfzixqh0c")))) + (build-system ant-build-system) + (arguments + `(#:tests? #f ; no tests included + #:jar-name "icu4j.jar")) + (home-page "http://site.icu-project.org/") + (synopsis "International Components for Unicode") + (description + "ICU is a set of C/C++ and Java libraries providing Unicode and +globalisation support for software applications. This package contains the +Java part.") + (license x11))) -- 2.12.2