3
0
Fork 0
forked from mirrors/nixpkgs

Add a derivation that downloads the virtualbox extension pack.

This commit is contained in:
(cdep)illabout 2018-08-08 23:22:02 +09:00
parent 18869d85f9
commit 8ccfb99ac0
No known key found for this signature in database
GPG key ID: 462E0C03D11422F4

View 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" ];
};
}