2013-06-25 09:03:00 +01:00
|
|
|
{ stdenv, fetchurl, python, zlib, pkgconfig, glib, SDL, ncurses, perl, pixman
|
2013-06-25 18:47:01 +01:00
|
|
|
, attr, libcap, vde2 }:
|
2013-02-08 01:44:02 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-04-10 17:26:28 +01:00
|
|
|
name = "qemu-1.4.0";
|
2013-02-08 01:44:02 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://wiki.qemu.org/download/${name}.tar.bz2";
|
2013-04-10 17:26:28 +01:00
|
|
|
sha256 = "1a7d11vjs1p6i1ck2ff9annmkhpkbjl73hl9i1cbg3s0fznrfqh6";
|
2013-02-08 01:44:02 +00:00
|
|
|
};
|
|
|
|
|
2013-06-25 09:03:00 +01:00
|
|
|
buildInputs = [
|
|
|
|
python zlib pkgconfig glib SDL ncurses perl pixman attr libcap
|
2013-06-25 18:47:01 +01:00
|
|
|
vde2
|
2013-06-25 09:03:00 +01:00
|
|
|
];
|
2013-02-08 01:44:02 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2013-06-25 09:03:00 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--enable-virtfs"
|
2013-06-25 18:47:01 +01:00
|
|
|
"--enable-vde"
|
2013-06-25 09:03:00 +01:00
|
|
|
];
|
|
|
|
|
2013-02-08 01:44:02 +00:00
|
|
|
meta = {
|
|
|
|
description = "QEmu processor emulator";
|
|
|
|
license = "GPLv2+";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ viric shlevy ];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|