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