nixpkgs-suyu/pkgs/os-specific/linux/kvm/57.nix
Yury G. Kudryashov 82297a0c83 * KVM 57. (Newer versions don't compile against the current kernel headers.)
svn path=/nixpkgs/branches/stdenv-updates/; revision=10598
2008-02-10 17:40:24 +00:00

24 lines
731 B
Nix

{stdenv, fetchurl, kernelHeaders, zlib, e2fsprogs, SDL, alsaLib}:
assert stdenv.isLinux;
stdenv.mkDerivation {
name = "kvm-57";
src = fetchurl {
url = mirror://sourceforge/kvm/kvm-57.tar.gz;
sha256 = "016h5pf59fyz7skzsaprii2mdpxpb8hfnnr1w475qcfyy6ccr9r0";
};
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";
meta = {
homepage = http://kvm.qumranet.com/;
description = "A full virtualization solution for Linux on x86 hardware containing virtualization extensions";
};
}