Skip to content

Commit

Permalink
virtualbox: Comply with the Personal Use and Evaluation License
Browse files Browse the repository at this point in the history
The direct download was unfortunately not compliant with the VirtualBox
Extension Pack's Personal Use and Evaluation License (PUEL) which
stipulates that any end-user should fetch the binaries from the official
Downloads page.

See NixOS/nixpkgs#672 and
http://www.virtualbox.org/wiki/VirtualBox_PUEL for more info.
  • Loading branch information
bbenoist authored and bjornfor committed Jul 16, 2013
1 parent ea57abf commit 8db7ff9
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions pkgs/applications/virtualization/virtualbox/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,23 @@ let
done
'';

extensionPack = fetchurl {
url = "http://download.virtualbox.org/virtualbox/${version}/Oracle_VM_VirtualBox_Extension_Pack-${version}.vbox-extpack";
# See https://github.com/NixOS/nixpkgs/issues/672 for details
extpackRevision = "86644";
extensionPack = requireFile rec {
name = "Oracle_VM_VirtualBox_Extension_Pack-${version}-${extpackRevision}.vbox-extpack";
# Has to be base16 because it's used as an input to VBoxExtPackHelperApp!
sha256 = "5813cae72790de4893cadb839ffbd148290a44ec6913d901d84c9b3740ab1b1e";
message = ''
In order to use the extension pack, you need to comply with the VirtualBox Personal Use
and Evaluation License (PUEL) by downloading the related binaries from:
https://www.virtualbox.org/wiki/Downloads
Once you have downloaded the file, please use the following command and re-run the
installation:
nix-prefetch-url file://${name}
'';
};

in stdenv.mkDerivation {
Expand Down

0 comments on commit 8db7ff9

Please sign in to comment.