299522b78a
Fixes CVE-2024-21248, CVE-2024-21253, CVE-2024-21259, CVE-2024-21263 and CVE-2024-21273. Changelog: https://www.virtualbox.org/wiki/Changelog-7.0#v22
33 lines
935 B
Nix
33 lines
935 B
Nix
{
|
|
fetchurl,
|
|
lib,
|
|
virtualbox,
|
|
}:
|
|
let
|
|
inherit (virtualbox) version;
|
|
in
|
|
fetchurl rec {
|
|
name = "Oracle_VM_VirtualBox_Extension_Pack-${version}.vbox-extpack";
|
|
url = "https://download.virtualbox.org/virtualbox/${version}/${name}";
|
|
sha256 =
|
|
# Manually sha256sum the extensionPack file, must be hex!
|
|
# Thus do not use `nix-prefetch-url` but instead plain old `sha256sum`.
|
|
# Checksums can also be found at https://www.virtualbox.org/download/hashes/${version}/SHA256SUMS
|
|
let
|
|
value = "6b0c16074dde1ea273b15e091336034368217ba569e09359a63c4d32af558886";
|
|
in
|
|
assert (builtins.stringLength value) == 64;
|
|
value;
|
|
|
|
meta = with lib; {
|
|
description = "Oracle Extension pack for VirtualBox";
|
|
license = licenses.virtualbox-puel;
|
|
homepage = "https://www.virtualbox.org/";
|
|
maintainers = with maintainers; [
|
|
sander
|
|
friedrichaltheide
|
|
];
|
|
platforms = [ "x86_64-linux" ];
|
|
};
|
|
}
|