2022-08-12 12:06:08 +00:00
|
|
|
{ fetchurl, lib, virtualbox }:
|
2020-04-24 23:36:52 +00:00
|
|
|
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
|
2024-09-19 14:19:46 +00:00
|
|
|
let value = "d750fb17688d70e0cb2d7b06f1ad3a661303793f4d1ac39cfa9a54806b89da25";
|
2020-04-24 23:36:52 +00:00
|
|
|
in assert (builtins.stringLength value) == 64; value;
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Oracle Extension pack for VirtualBox";
|
|
|
|
license = licenses.virtualbox-puel;
|
|
|
|
homepage = "https://www.virtualbox.org/";
|
2024-04-21 15:54:59 +00:00
|
|
|
maintainers = with maintainers; [ sander friedrichaltheide ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
}
|