2007-12-31 09:49:41 +01:00
|
|
|
args : with args;
|
2008-01-18 13:36:56 +01:00
|
|
|
let localDefs = builderDefs {
|
2007-12-31 09:49:41 +01:00
|
|
|
src = /* put a fetchurl here */
|
|
|
|
fetchurl {
|
|
|
|
url = http://www.virtualbox.org/download/1.5.2/VirtualBox-1.5.2_OSE.tar.bz2;
|
|
|
|
sha256 = "1g9rvkqjcsfx36gwk6i9c0bml6053xx2mdn1sn7vyyy0sgwkwk53";
|
|
|
|
};
|
|
|
|
buildInputs = [libXcursor bridge_utils umlutilities kernelHeaders
|
|
|
|
wine jre libxslt libIDL SDL qt3 openssl zlib];
|
|
|
|
configureFlags = [];
|
|
|
|
} null; /* null is a terminator for sumArgs */
|
2008-01-18 13:36:56 +01:00
|
|
|
in with localDefs;
|
2007-12-31 09:49:41 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "VirtualBox-"+version;
|
|
|
|
builder = writeScript (name + "-builder")
|
2008-01-18 13:36:56 +01:00
|
|
|
(textClosure localDefs [doConfigure doMakeInstall doForceShare doPropagate]);
|
2007-12-31 09:49:41 +01:00
|
|
|
meta = {
|
|
|
|
description = "
|
|
|
|
Virtual Box is just software for running virtual machines.
|
|
|
|
";
|
|
|
|
};
|
|
|
|
}
|