2020-04-24 23:36:52 +00:00
|
|
|
{fetchurl, lib, virtualbox}:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
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
|
2022-06-16 17:23:12 +00:00
|
|
|
let value = "d7856f0688b6d2ed1e8bff0b367efa952068b03fa5a3a29b46db08cfd5d9a810";
|
2020-04-24 23:36:52 +00:00
|
|
|
in assert (builtins.stringLength value) == 64; value;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Oracle Extension pack for VirtualBox";
|
|
|
|
license = licenses.virtualbox-puel;
|
|
|
|
homepage = "https://www.virtualbox.org/";
|
|
|
|
maintainers = with maintainers; [ sander cdepillabout ];
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
}
|