boa: 0.17.3 -> 0.20 (#403371)

This commit is contained in:
Peder Bergebakken Sundt
2025-05-02 01:05:38 +02:00
committed by GitHub
+3 -12
View File
@@ -2,7 +2,6 @@
lib,
rustPlatform,
fetchFromGitHub,
fetchpatch,
pkg-config,
bzip2,
openssl,
@@ -13,26 +12,18 @@
rustPlatform.buildRustPackage rec {
pname = "boa";
version = "0.17.3";
version = "0.20";
src = fetchFromGitHub {
owner = "boa-dev";
repo = "boa";
rev = "v${version}";
hash = "sha256-ROzdOanfHNPwHXA0SzU2fpuBonbDbgDqH+ZgOjwK/tg=";
hash = "sha256-foCIzzFoEpcE6i0QrSbiob3YHIOeTpjwpAMtcPGL8Vg=";
fetchSubmodules = true;
};
patches = [
(fetchpatch {
name = "fix-rust-1.71-lints.patch";
url = "https://github.com/boa-dev/boa/commit/93d05bda6864aa6ee67682d84bd4fc2108093ef5.patch";
hash = "sha256-hMp4/UBN5moGBSqf8BJV2nBwgV3cry9uC2fJmdT5hkQ=";
})
];
useFetchCargoVendor = true;
cargoHash = "sha256-1/92dyuEV+Xib0znEAgQOOmbsyjK/f2lYsXuPahLuw4=";
cargoHash = "sha256-PphgRSVCj724eYAC04Orpz/klYuAhphiQ3v5TRChs+w=";
cargoBuildFlags = [
"--package"