2010-07-29 20:55:16 +02:00
|
|
|
{ stdenv, fetchurl }:
|
2007-12-31 09:49:41 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-07-29 20:55:16 +02:00
|
|
|
name = "qemu-linux-image-0.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://wiki.qemu.org/download/linux-0.2.img.bz2;
|
|
|
|
sha256 = "08xlwy1908chpc4fsqy2v13zi25dapk0ybrd43fj95v67kdj5hj1";
|
|
|
|
};
|
|
|
|
|
|
|
|
unpackPhase = "true";
|
|
|
|
|
|
|
|
installPhase =
|
|
|
|
''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/share/qemu-images
|
2010-07-29 20:55:16 +02:00
|
|
|
bunzip2 < $src > $out/share/qemu-images/linux-0.2.img
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "QEMU sample Linux disk image";
|
|
|
|
};
|
2007-12-31 09:49:41 +01:00
|
|
|
}
|