2018-08-08 07:22:02 -07:00
|
|
|
{stdenv, fetchurl, lib}:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
2019-04-28 11:29:45 -07:00
|
|
|
let version = "5.2.28";
|
2018-08-08 07:22:02 -07:00
|
|
|
in
|
2018-08-09 22:28:57 -07:00
|
|
|
fetchurl rec {
|
2018-12-07 08:05:55 -08:00
|
|
|
name = "Oracle_VM_VirtualBox_Extension_Pack-${version}.vbox-extpack";
|
|
|
|
url = "https://download.virtualbox.org/virtualbox/${version}/${name}";
|
2018-12-11 11:45:18 -08:00
|
|
|
sha256 =
|
|
|
|
# Manually sha256sum the extensionPack file, must be hex!
|
|
|
|
# Thus do not use `nix-prefetch-url` but instead plain old `sha256sum`.
|
2019-04-28 11:29:45 -07:00
|
|
|
let value = "376e07cbf2ff2844c95c800346c8e4697d7bc671ae0e21e46153b2e7b4ccc1d6";
|
2018-12-11 11:45:18 -08:00
|
|
|
in assert (builtins.stringLength value) == 64; value;
|
2018-08-08 07:22:02 -07:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Oracle Extension pack for VirtualBox";
|
|
|
|
license = licenses.virtualbox-puel;
|
|
|
|
homepage = https://www.virtualbox.org/;
|
|
|
|
maintainers = with maintainers; [ flokli sander cdepillabout ];
|
|
|
|
platforms = [ "x86_64-linux" "i686-linux" ];
|
|
|
|
};
|
|
|
|
}
|