guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

23/25: gnu: mozjs: Build with ICU 69.


From: guix-commits
Subject: 23/25: gnu: mozjs: Build with ICU 69.
Date: Sat, 16 Jul 2022 18:08:30 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 7f781c04343c4917e7dc9752018e91855117f53e
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat Jul 16 16:37:15 2022 +0200

    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 @@
            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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]