33 lines
972 B
Nix
33 lines
972 B
Nix
{
|
|
fetchurl,
|
|
lib,
|
|
virtualbox,
|
|
}:
|
|
let
|
|
virtualboxExtPackVersion = "7.2.2";
|
|
in
|
|
fetchurl rec {
|
|
name = "Oracle_VirtualBox_Extension_Pack-${virtualboxExtPackVersion}.vbox-extpack";
|
|
url = "https://download.virtualbox.org/virtualbox/${virtualboxExtPackVersion}/${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://download.virtualbox.org/virtualbox/${version}/SHA256SUMS
|
|
let
|
|
value = "a7f5904e35b3c34c000f74e0364f1d1c0efdb126a4d3c4a264244959711c7f42";
|
|
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" ];
|
|
};
|
|
}
|