2007-02-12 11:23:43 +01:00
|
|
|
{stdenv, fetchurl, kernelHeaders, zlib, e2fsprogs, SDL, alsaLib}:
|
2007-08-06 18:08:29 +02:00
|
|
|
|
|
|
|
assert stdenv.isLinux;
|
2007-02-12 11:23:43 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "kvm-12";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://heanet.dl.sourceforge.net/sourceforge/kvm/kvm-12.tar.gz;
|
|
|
|
sha256 = "0w2w4kzir1qsapfav30bhng061570zl12ycyvpgwlx2br4s9mlmw";
|
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = "--with-patched-kernel --kerneldir=${kernelHeaders}";
|
|
|
|
|
|
|
|
# e2fsprogs is needed for libuuid.
|
|
|
|
buildInputs = [zlib e2fsprogs SDL alsaLib];
|
2007-02-12 14:19:57 +01:00
|
|
|
|
|
|
|
preConfigure = "for i in configure user/configure; do substituteInPlace $i --replace /bin/bash $shell; done";
|
2007-02-12 11:23:43 +01:00
|
|
|
}
|