mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 13:03:34 +00:00
3c10b650b9
Includes a "Critical Patch Update to address security vulnerabilities" https://blogs.oracle.com/virtualization/post/oracle-vm-virtualbox-7010-is-now-available It also fixes build which probably broke with libxml2 upgrade https://hydra.nixos.org/build/228189683/nixlog/1/tail
26 lines
882 B
Nix
26 lines
882 B
Nix
{ fetchurl, lib, virtualbox }:
|
|
|
|
with lib;
|
|
|
|
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
|
|
let value = "af84dccac488df72bfaeb1eb8c922ba466668561a6ac05c64a7f8b6ebdddbaeb";
|
|
in assert (builtins.stringLength value) == 64; value;
|
|
|
|
meta = {
|
|
description = "Oracle Extension pack for VirtualBox";
|
|
license = licenses.virtualbox-puel;
|
|
homepage = "https://www.virtualbox.org/";
|
|
maintainers = with maintainers; [ sander ];
|
|
platforms = [ "x86_64-linux" ];
|
|
};
|
|
}
|