[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/08: gnu: mozjs: Add 91.13.0.
From: |
guix-commits |
Subject: |
06/08: gnu: mozjs: Add 91.13.0. |
Date: |
Fri, 26 Aug 2022 19:38:50 -0400 (EDT) |
mbakke pushed a commit to branch staging
in repository guix.
commit 5ddc99da699ab2d8a2c896b18d23adea1d977174
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Aug 24 19:44:56 2022 +0200
gnu: mozjs: Add 91.13.0.
* gnu/packages/gnuzilla.scm (mozjs-91): New variable.
---
gnu/packages/gnuzilla.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 3fc0355e60..589f123029 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -215,6 +215,37 @@ fractional-second-digits-append-item.js")
in C/C++.")
(license license:mpl2.0))) ; and others for some files
+(define-public mozjs-91
+ (package
+ (inherit mozjs)
+ (version "91.13.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://ftp.mozilla.org/pub/firefox"
+ "/releases/" version "esr/source/firefox-"
+ version "esr.source.tar.xz"))
+ (sha256
+ (base32
+ "0qh7j960wdp5zcfqhkj8ki47spp9i9ms12xx0v0kxvmmw36jpgjk"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments mozjs)
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-before 'check 'disable-timezone-tests
+ (lambda _
+ (with-directory-excursion "../js/src/tests"
+ ;; FIXME: Assertion failed: got "2021a", expected "2021a3"?
+ (delete-file
"non262/Intl/DateTimeFormat/timeZone_version.js")
+ ;; XXX: Delete all tests that test time zone functionality,
+ ;; because the test suite uses /etc/localtime to figure out
+ ;; the offset from the hardware clock, which does not work
+ ;; in the build container. See <tests/non262/Date/shell.js>.
+ (delete-file-recursively "non262/Date")
+ (delete-file
+
"non262/Intl/DateTimeFormat/tz-environment-variable.js"))))))))
+ (inputs (modify-inputs (package-inputs mozjs)
+ (replace "icu4c" icu4c)))))
+
(define-public mozjs-78
(package
(inherit mozjs)
- branch staging updated (1fd262e8d3 -> b048c4a0e9), guix-commits, 2022/08/26
- 01/08: gnu: python-cython: Update to 0.29.32., guix-commits, 2022/08/26
- 04/08: gnu: rust-pyo3: Add 0.16.5., guix-commits, 2022/08/26
- 06/08: gnu: mozjs: Add 91.13.0.,
guix-commits <=
- 07/08: gnu: polkit: Update to 121., guix-commits, 2022/08/26
- 02/08: gnu: rust-cc: Update to 1.0.73., guix-commits, 2022/08/26
- 03/08: gnu: Add rust-python3-dll-a., guix-commits, 2022/08/26
- 08/08: gnu: python-click: Update to 8.1.3., guix-commits, 2022/08/26
- 05/08: gnu: mozjs: Update to 102.2.0., guix-commits, 2022/08/26