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://fabrice.bellard.free.fr/qemu/qemu-0.9.0.tar.gz;
|
|
|
|
sha256 = "1h85njd8xvn472yhcm92rjyzqjr719ab73rxwmz9cm2n6gwsq7s9";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ SDL zlib which ];
|
|
|
|
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
|
|
|
let
|
|
|
|
preConfigure = FullDepEntry ("
|
|
|
|
gcc --version
|
|
|
|
") [minInit];
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "qemu-"+version;
|
|
|
|
builder = writeScript (name + "-builder")
|
2008-01-18 13:36:56 +01:00
|
|
|
(textClosure localDefs [ preConfigure doConfigure doMakeInstall doForceShare doPropagate]);
|
2007-12-31 09:49:41 +01:00
|
|
|
meta = {
|
|
|
|
description = "
|
|
|
|
QEmu processor emulator.
|
|
|
|
";
|
2008-03-02 19:49:31 +01:00
|
|
|
inherit src;
|
2007-12-31 09:49:41 +01:00
|
|
|
};
|
|
|
|
}
|