2007-06-07 17:46:50 +04:00
|
|
|
{stdenv, fetchurl, kernelHeaders, zlib, e2fsprogs, SDL, alsaLib}:
|
|
|
|
|
2007-08-06 20:08:29 +04:00
|
|
|
assert stdenv.isLinux;
|
|
|
|
|
2007-06-07 17:46:50 +04:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "kvm-17";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2007-08-27 17:01:33 +04:00
|
|
|
url = mirror://sourceforge/kvm/kvm-17.tar.gz;
|
2007-06-07 17:46:50 +04:00
|
|
|
sha256 = "1c9g92258wbadh6q8m9vp4zszbr50a5crn93iy69s5bkg3n3vs43";
|
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = "--with-patched-kernel --kerneldir=${kernelHeaders}";
|
|
|
|
|
|
|
|
# e2fsprogs is needed for libuuid.
|
|
|
|
buildInputs = [zlib e2fsprogs SDL alsaLib];
|
|
|
|
|
|
|
|
preConfigure = "for i in configure user/configure; do substituteInPlace $i --replace /bin/bash $shell; done";
|
|
|
|
}
|