summary refs log tree commit diff
path: root/pkgs/applications/virtualization/qemu/0.9.1.nix
blob: 6fc6f9ec65c050893cb8878c5f2ec275dff19096 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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.
";
	};
}