Skip to content
Snippets Groups Projects
Unverified Commit 1d4234d4 authored by Ricardo Wurmus's avatar Ricardo Wurmus
Browse files

gnu: Add java-icu4j.

* gnu/packages/icu4c.scm (java-icu4j): New variable.
parent 6636f638
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
;;; Copyright © 2015, 2016 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2015, 2016 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org> ;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
...@@ -25,6 +26,7 @@ (define-module (gnu packages icu4c) ...@@ -25,6 +26,7 @@ (define-module (gnu packages icu4c)
#:use-module (guix licenses) #:use-module (guix licenses)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix build-system ant)
#:use-module (guix build-system gnu)) #:use-module (guix build-system gnu))
(define-public icu4c (define-public icu4c
...@@ -75,3 +77,30 @@ (define icu4c/fixed ...@@ -75,3 +77,30 @@ (define icu4c/fixed
(patches (patches
(search-patches "icu4c-CVE-2017-7867-CVE-2017-7868.patch" (search-patches "icu4c-CVE-2017-7867-CVE-2017-7868.patch"
"icu4c-reset-keyword-list-iterator.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)))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment