nixpkgs/pkgs/os-specific/linux/kvm/49.nix
Eelco Dolstra 58873a9e3d * Latest KVM.
svn path=/nixpkgs/trunk/; revision=9566
2007-10-31 16:23:53 +00:00

20 lines
558 B
Nix

{stdenv, fetchurl, kernelHeaders, zlib, e2fsprogs, SDL, alsaLib}:
assert stdenv.isLinux;
stdenv.mkDerivation {
name = "kvm-49";
src = fetchurl {
url = mirror://sourceforge/kvm/kvm-49.tar.gz;
sha256 = "0ml7dlxg6alhrhdlp83j53bpwlbn3nfl8dga5jrmhaqmzpx4d8kp";
};
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";
}