From 7f781c04343c4917e7dc9752018e91855117f53e Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sat, 16 Jul 2022 16:37:15 +0200 Subject: [PATCH] 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. --- gnu/packages/gnuzilla.scm | 2 +- gnu/packages/icu4c.scm | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) 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 @@ (define-public mozjs 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 @@ (define-public icu4c-70 (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)