msedgedriver: 130.0.2849.1 -> 146.0.3856.84 (#502731)

This commit is contained in:
Ulrik Strid
2026-03-31 09:02:39 +00:00
committed by GitHub
2 changed files with 8 additions and 30 deletions
+1
View File
@@ -40,6 +40,7 @@ def write_expression():
"upstream_version"
)
os.system(f'update-source-version microsoft-edge "{version}"')
os.system(f'update-source-version msedgedriver "{version}"')
write_expression()
+7 -30
View File
@@ -11,33 +11,13 @@
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "msedgedriver";
# finding a version that has all 4 builds is a pain
# https://msedgewebdriverstorage.z22.web.core.windows.net/?form=MA13LH
version = "130.0.2849.1";
version = "146.0.3856.84";
src =
let
inherit (stdenvNoCC.hostPlatform) system;
selectSystem = attrs: attrs.${system} or (throw "Unsupported system: ${system}");
suffix = selectSystem {
x86_64-linux = "linux64";
aarch64-linux = "arm64";
x86_64-darwin = "mac64";
aarch64-darwin = "mac64_m1";
};
hash = selectSystem {
x86_64-linux = "sha256-U6YGD2PAhVUa7f+R5pmKLazGLOBbf3bRqzlwIJewA+w=";
aarch64-linux = "sha256-QJ1jRw8kkWbT8US5qI8DMZI/7Q8yJWpFXrfzGdxDWKE=";
x86_64-darwin = "sha256-Ejcv1DtuEiLJvTsv48AwoCQlFO3xM9PkM3HvZG65AC4=";
aarch64-darwin = "sha256-ykn4bYREE6xmJY02WiCRGsGnyWjnmnZM8FemK4XZqhc=";
};
in
fetchzip {
url = "https://msedgedriver.azureedge.net/${finalAttrs.version}/edgedriver_${suffix}.zip";
inherit hash;
stripRoot = false;
};
src = fetchzip {
url = "https://msedgedriver.microsoft.com/${finalAttrs.version}/edgedriver_linux64.zip";
hash = "sha256-WMfJQYfs8Y7fllPTy1UZ/mQmz+L/xb8neqhj457pTuE=";
stripRoot = false;
};
buildInputs = [
glib
@@ -46,7 +26,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
nss
];
nativeBuildInputs = lib.optionals (!stdenvNoCC.hostPlatform.isDarwin) [ autoPatchelfHook ];
nativeBuildInputs = [ autoPatchelfHook ];
installPhase =
if stdenvNoCC.hostPlatform.isDarwin then
@@ -75,9 +55,6 @@ stdenvNoCC.mkDerivation (finalAttrs: {
maintainers = with lib.maintainers; [ cholli ];
platforms = [
"x86_64-linux"
"aarch64-linux"
"x86_64-darwin"
"aarch64-darwin"
];
mainProgram = "msedgedriver";
};