at 23.11-beta 25 lines 882 B view raw
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 = "dbf7ce39e5c021d420fc6b2045b084a68fc5172937192bd70c3207efa786278d"; 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 ]; 23 platforms = [ "x86_64-linux" ]; 24 }; 25}