1{fetchurl, lib, virtualbox}:
2
3with lib;
4
5let
6 inherit (virtualbox) version;
7in
8fetchurl rec {
9 name = "Oracle_VM_VirtualBox_Extension_Pack-${version}.vbox-extpack";
10 url = "https://download.virtualbox.org/virtualbox/${version}/${name}";
11 sha256 =
12 # Manually sha256sum the extensionPack file, must be hex!
13 # Thus do not use `nix-prefetch-url` but instead plain old `sha256sum`.
14 # Checksums can also be found at https://www.virtualbox.org/download/hashes/${version}/SHA256SUMS
15 let value = "85d7858a95d802c41cb86e1b573dc501d782e5d040937e0d8505a37c29509774";
16 in assert (builtins.stringLength value) == 64; value;
17
18 meta = {
19 description = "Oracle Extension pack for VirtualBox";
20 license = licenses.virtualbox-puel;
21 homepage = "https://www.virtualbox.org/";
22 maintainers = with maintainers; [ sander cdepillabout ];
23 platforms = [ "x86_64-linux" ];
24 };
25}