summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-07-16 16:37:15 +0200
committerMarius Bakke <marius@gnu.org>2022-07-16 23:25:19 +0200
commit7f781c04343c4917e7dc9752018e91855117f53e (patch)
treee3ccb00b451c74ec2659bb08e8561a9e9ecf5bc2 /gnu
parent89a2a5a72e81ec39454e0763ea803d6475469ed9 (diff)
downloadguix-7f781c04343c4917e7dc9752018e91855117f53e.tar.gz
gnu: mozjs: Build with ICU 69.
* gnu/packages/icu4c.scm (icu4c-69): New variable.
* gnu/packages/gnuzilla.scm (mozjs)[inputs]: Change from ICU4C to ICU4C-69.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gnuzilla.scm2
-rw-r--r--gnu/packages/icu4c.scm16
2 files changed, 17 insertions, 1 deletions
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index f4c308f8aa..09a7d7c581 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -233,7 +233,7 @@
            rust
            `(,rust "cargo")))
     (inputs
-     (list icu4c readline zlib))
+     (list icu4c-69 readline zlib))
     (propagated-inputs
      (list nspr))                ; in the Requires.private field of mozjs-*.pc
     (home-page
diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm
index 7770cd1ecf..2be431512f 100644
--- a/gnu/packages/icu4c.scm
+++ b/gnu/packages/icu4c.scm
@@ -121,6 +121,22 @@ C/C++ part.")
                (base32
                 "1m9zgkaf5lyh65nyc6n0n5bs2f5k53nnj1ih6nskpwbvq4l5884d"))))))
 
+(define-public icu4c-69
+  (package
+    (inherit icu4c)
+    (version "69.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"))
+              (sha256
+               (base32
+                "0icps0avkwy5df3wwc5kybxcg63hcgk4phdh9g244g0xrmx7pfjc"))))))
+
 (define-public icu4c-67
   (package
     (inherit icu4c)