forked from mirrors/nixpkgs
Add a derivation that downloads the virtualbox extension pack.
This commit is contained in:
parent
18869d85f9
commit
8ccfb99ac0
25
pkgs/applications/virtualization/virtualbox/extpack.nix
Normal file
25
pkgs/applications/virtualization/virtualbox/extpack.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{stdenv, fetchurl, lib}:
|
||||
|
||||
with lib;
|
||||
|
||||
let extpackRev = "123301";
|
||||
version = "5.2.14";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "Oracle_VM_VirtualBox_Extension_Pack-${version}-${toString extpackRev}.vbox-extpack";
|
||||
src = fetchurl {
|
||||
url = "http://download.virtualbox.org/virtualbox/${version}/${name}";
|
||||
sha256 = "d90c1b0c89de19010f7c7fe7a675ac744067baf29a9966b034e97b5b2053b37e";
|
||||
};
|
||||
|
||||
installPhase = "cp -r . $out";
|
||||
phases = ["installPhase"];
|
||||
|
||||
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" ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue