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.
This commit is contained in:
Marius Bakke 2022-07-16 16:37:15 +02:00
parent 89a2a5a72e
commit 7f781c0434
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA
2 changed files with 17 additions and 1 deletions

View file

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

View file

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