forked from mirrors/nixpkgs
Updated QEmu.
svn path=/nixpkgs/trunk/; revision=10882
This commit is contained in:
parent
65e80ffb4f
commit
dcddcf0d87
pkgs
27
pkgs/applications/virtualization/qemu/0.9.1.nix
Normal file
27
pkgs/applications/virtualization/qemu/0.9.1.nix
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
args : with args;
|
||||||
|
let localDefs = builderDefs {
|
||||||
|
src = /* put a fetchurl here */
|
||||||
|
fetchurl {
|
||||||
|
url = http://fabrice.bellard.free.fr/qemu/qemu-0.9.1.tar.gz;
|
||||||
|
sha256 = "199mb12w141yh2afzznh539jsip4h79kfsxwaj1xhzfwljsd0mj7";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ SDL zlib which ];
|
||||||
|
configureFlags = [ ];
|
||||||
|
} null; /* null is a terminator for sumArgs */
|
||||||
|
in with localDefs;
|
||||||
|
let
|
||||||
|
preConfigure = FullDepEntry ("
|
||||||
|
gcc --version
|
||||||
|
") [minInit];
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "qemu-"+version;
|
||||||
|
builder = writeScript (name + "-builder")
|
||||||
|
(textClosure localDefs [ preConfigure doConfigure doMakeInstall doForceShare doPropagate]);
|
||||||
|
meta = {
|
||||||
|
description = "
|
||||||
|
QEmu processor emulator.
|
||||||
|
";
|
||||||
|
};
|
||||||
|
}
|
|
@ -16,7 +16,6 @@ stdenv.mkDerivation {
|
||||||
kernelSource=$(echo $(pwd)/linux-*)
|
kernelSource=$(echo $(pwd)/linux-*)
|
||||||
cp -prd $kernelBuild/* $kernelSource
|
cp -prd $kernelBuild/* $kernelSource
|
||||||
|
|
||||||
substituteInPlace fs/aufs/Makefile
|
|
||||||
make KDIR=$kernelSource -f local.mk
|
make KDIR=$kernelSource -f local.mk
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -5147,9 +5147,8 @@ rec {
|
||||||
python = builtins.getAttr "2.5" python_alts;
|
python = builtins.getAttr "2.5" python_alts;
|
||||||
};
|
};
|
||||||
|
|
||||||
qemuFun = lib.sumArgs (selectVersion ../applications/virtualization/qemu "0.9.0") {
|
qemuFun = lib.sumArgs (selectVersion ../applications/virtualization/qemu "0.9.1") {
|
||||||
inherit fetchurl;
|
inherit fetchurl;
|
||||||
stdenv = overrideGCC stdenv gcc34;
|
|
||||||
builderDefs = builderDefs {
|
builderDefs = builderDefs {
|
||||||
stdenv = (overrideGCC stdenv gcc34)//{gcc=gcc34;};
|
stdenv = (overrideGCC stdenv gcc34)//{gcc=gcc34;};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue