nixpkgs/pkgs/os-specific/linux/kvm/12.nix
Eelco Dolstra 9fdea6a917 * KVM (Kernel-based Virtual Machine). Requires KVM support in the
kernel for performance (and VT/AMD-V in the CPU), but also provides
  a working QEMU for non-KVM-enabled systems.

svn path=/nixpkgs/trunk/; revision=7889
2007-02-12 10:23:43 +00:00

16 lines
442 B
Nix

{stdenv, fetchurl, kernelHeaders, zlib, e2fsprogs, SDL, alsaLib}:
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];
}