vmware-workstation: 17.6.1 -> 17.6.3, switch to requireFile (#393795)

This commit is contained in:
Gaétan Lepage
2025-04-09 22:41:27 +02:00
committed by GitHub
2 changed files with 11 additions and 16 deletions
+8 -11
View File
@@ -1,7 +1,7 @@
{
stdenv,
buildFHSEnv,
fetchzip,
requireFile,
lib,
zlib,
gdbm,
@@ -35,9 +35,8 @@
let
# base - versions
version = "17.6.1";
build = "24319023";
baseUrl = "https://softwareupdate.vmware.com/cds/vmw-desktop/ws/${version}/${build}/linux";
version = "17.6.3";
build = "24583834";
# macOS - versions
unlockerVersion = "3.0.5";
@@ -114,13 +113,11 @@ stdenv.mkDerivation rec {
]
++ lib.optionals enableMacOSGuests [ unzip ];
src =
fetchzip {
url = "${baseUrl}/core/VMware-Workstation-${version}-${build}.x86_64.bundle.tar";
sha256 = "sha256-VzfiIawBDz0f1w3eynivW41Pn4SqvYf/8o9q14hln4s=";
stripRoot = false;
}
+ "/VMware-Workstation-${version}-${build}.x86_64.bundle";
src = requireFile {
name = "VMware-Workstation-Full-${version}-${build}.x86_64.bundle";
url = "https://support.broadcom.com/group/ecx/productdownloads?subfamily=VMware%20Workstation%20Pro&freeDownloads=true";
hash = "sha256-eVdZF3KN7UxtC4n0q2qBvpp3PADuto0dEqwNsSVHjuA=";
};
unpackPhase = ''
${vmware-unpack-env}/bin/vmware-unpack-env -c "sh ${src} --extract unpacked"
+3 -5
View File
@@ -9,15 +9,13 @@
stdenv.mkDerivation {
pname = "vmware-modules";
version = "workstation-17.6.1-unstable-2024-10-12-${kernel.version}";
version = "workstation-17.6.3-${kernel.version}";
src = fetchFromGitHub {
owner = "philipl";
repo = "vmware-host-modules";
# Developer no longer provides tags for kernel compatibility fixes
# Commit hash for branch workstation-17.6.1 as of 2024-10-15
rev = "3a7595bddb2239c2149d7f730a4b57c8bb120d99";
hash = "sha256-YqRnym5bOZ2ApMegOAeiUNyhsEsF5g1TVALtkUz/v6E=";
tag = "w17.6.3";
hash = "sha256-n9aLpHcO7m51eRtcWWBfTpze0JIWvne+UcYACoA5afc=";
};
hardeningDisable = [ "pic" ];