diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2017-05-09 21:48:54 +0200 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2017-05-15 22:33:16 +0200 |
| commit | 1d4234d4c252983bee3363e11fc26a2de56682b1 (patch) | |
| tree | 1ef88715bd0acf298595b93e9185637b4e617cfc /gnu | |
| parent | 6636f6388f5ad02bd4e4953972a03d05bcd1e65e (diff) | |
gnu: Add java-icu4j.
* gnu/packages/icu4c.scm (java-icu4j): New variable.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/icu4c.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm index 9f465b10228..3e965200542 100644 --- a/gnu/packages/icu4c.scm +++ b/gnu/packages/icu4c.scm | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | ;;; Copyright © 2015, 2016 Mark H Weaver <mhw@netris.org> | 3 | ;;; Copyright © 2015, 2016 Mark H Weaver <mhw@netris.org> |
| 4 | ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il> | 4 | ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il> |
| 5 | ;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org> | 5 | ;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org> |
| 6 | ;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net> | ||
| 6 | ;;; | 7 | ;;; |
| 7 | ;;; This file is part of GNU Guix. | 8 | ;;; This file is part of GNU Guix. |
| 8 | ;;; | 9 | ;;; |
| @@ -25,6 +26,7 @@ | |||
| 25 | #:use-module (guix licenses) | 26 | #:use-module (guix licenses) |
| 26 | #:use-module (guix packages) | 27 | #:use-module (guix packages) |
| 27 | #:use-module (guix download) | 28 | #:use-module (guix download) |
| 29 | #:use-module (guix build-system ant) | ||
| 28 | #:use-module (guix build-system gnu)) | 30 | #:use-module (guix build-system gnu)) |
| 29 | 31 | ||
| 30 | (define-public icu4c | 32 | (define-public icu4c |
| @@ -75,3 +77,30 @@ C/C++ part.") | |||
| 75 | (patches | 77 | (patches |
| 76 | (search-patches "icu4c-CVE-2017-7867-CVE-2017-7868.patch" | 78 | (search-patches "icu4c-CVE-2017-7867-CVE-2017-7868.patch" |
| 77 | "icu4c-reset-keyword-list-iterator.patch")))))) | 79 | "icu4c-reset-keyword-list-iterator.patch")))))) |
| 80 | |||
| 81 | (define-public java-icu4j | ||
| 82 | (package | ||
| 83 | (name "java-icu4j") | ||
| 84 | (version "59.1") | ||
| 85 | (source (origin | ||
| 86 | (method url-fetch) | ||
| 87 | (uri (string-append "http://download.icu-project.org/files/icu4j/" | ||
| 88 | version "/icu4j-" | ||
| 89 | (string-map (lambda (x) | ||
| 90 | (if (char=? x #\.) #\_ x)) | ||
| 91 | version) | ||
| 92 | "-src.jar")) | ||
| 93 | (sha256 | ||
| 94 | (base32 | ||
| 95 | "0bgxsvgi0qcwj60pvcxrf7a3fbk7aksyxnfwpbzavyfrfzixqh0c")))) | ||
| 96 | (build-system ant-build-system) | ||
| 97 | (arguments | ||
| 98 | `(#:tests? #f ; no tests included | ||
| 99 | #:jar-name "icu4j.jar")) | ||
| 100 | (home-page "http://site.icu-project.org/") | ||
| 101 | (synopsis "International Components for Unicode") | ||
| 102 | (description | ||
| 103 | "ICU is a set of C/C++ and Java libraries providing Unicode and | ||
| 104 | globalisation support for software applications. This package contains the | ||
| 105 | Java part.") | ||
| 106 | (license x11))) | ||
