Merge pull request #114030 from nagy/spidermonkey
spidermonkey_78: 78.4.0 -> 78.8.0
This commit is contained in:
commit
5356064daa
|
@ -1,6 +1,5 @@
|
||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, fetchpatch
|
|
||||||
, autoconf213
|
, autoconf213
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, perl
|
, perl
|
||||||
|
@ -21,11 +20,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "spidermonkey";
|
pname = "spidermonkey";
|
||||||
version = "78.4.0";
|
version = "78.8.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://mozilla/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.xz";
|
url = "mirror://mozilla/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.xz";
|
||||||
sha256 = "1z3hj45bnd12z3g6ajv9qrgclca7fymi1sxj9l9nh9q6y6xz0g4f";
|
sha256 = "0451hhjrj9hb6limxim7sbhvw4gs6dd2gmnfxjjx07z3wbgdzwhw";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
@ -96,9 +95,19 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# This patch is a manually applied fix of
|
||||||
|
# https://bugzilla.mozilla.org/show_bug.cgi?id=1644600
|
||||||
|
# Once that bug is fixed, this can be removed.
|
||||||
|
# This is needed in, for example, `zeroad`.
|
||||||
|
substituteInPlace js/public/StructuredClone.h \
|
||||||
|
--replace "class SharedArrayRawBufferRefs {" \
|
||||||
|
"class JS_PUBLIC_API SharedArrayRawBufferRefs {"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Mozilla's JavaScript engine written in C/C++";
|
description = "Mozilla's JavaScript engine written in C/C++";
|
||||||
homepage = "https://developer.mozilla.org/en/SpiderMonkey";
|
homepage = "https://spidermonkey.dev/";
|
||||||
license = licenses.gpl2; # TODO: MPL/GPL/LGPL tri-license.
|
license = licenses.gpl2; # TODO: MPL/GPL/LGPL tri-license.
|
||||||
maintainers = with maintainers; [ abbradar lostnet ];
|
maintainers = with maintainers; [ abbradar lostnet ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
|
Loading…
Reference in New Issue