summary refs log tree commit diff
path: root/gnu/packages/icu4c.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-04-12 17:35:31 +0200
committerMarius Bakke <mbakke@fastmail.com>2020-04-12 17:39:30 +0200
commite15acf8cac3378745b761dbd9b05385de74e07f0 (patch)
tree3fd1268c879da6534250b4c40b7193fcbb3e5386 /gnu/packages/icu4c.scm
parentb7851222a812668b630803e477225a222ad8636b (diff)
downloadguix-e15acf8cac3378745b761dbd9b05385de74e07f0.tar.gz
gnu: icu4c: Add 66.1.
* gnu/packages/icu4c.scm (icu-66.1): New public variable.
Diffstat (limited to 'gnu/packages/icu4c.scm')
-rw-r--r--gnu/packages/icu4c.scm20
1 files changed, 19 insertions, 1 deletions
diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm
index 3869016df3..beeb2d7ff4 100644
--- a/gnu/packages/icu4c.scm
+++ b/gnu/packages/icu4c.scm
@@ -4,7 +4,7 @@
 ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
 ;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
-;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -117,6 +117,24 @@ C/C++ part.")
                          (search-patches
                            "icu4c-CVE-2020-10531.patch")))))))
 
+(define-public icu4c-66.1
+  (package
+    (inherit icu4c)
+    (version "66.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/unicode-org/icu/releases/download/release-"
+                    (string-map (lambda (x) (if (char=? x #\.) #\- x)) version)
+                    "/icu4c-"
+                    (string-map (lambda (x) (if (char=? x #\.) #\_ x)) version)
+                    "-src.tgz"))
+              (patch-flags '("-p2"))
+              (patches (search-patches "icu4c-CVE-2020-10531.patch"))
+              (sha256
+               (base32
+                "0bharwzc9nzkbrcf405z2nb3h7q0711z450arz0mjmdrk8hg58sj"))))))
+
 (define-public java-icu4j
   (package
     (name "java-icu4j")