nixpkgs/pkgs/development/libraries/libvirt/default.nix
Rob Vermaas 53d79f6f9c updated libvirt to 0.8.3
svn path=/nixpkgs/trunk/; revision=23124
2010-08-11 17:55:31 +00:00

25 lines
698 B
Nix

{ stdenv, fetchurl, libxml2, gnutls, devicemapper, perl }:
let version = "0.8.3"; in
stdenv.mkDerivation {
name = "libvirt-${version}";
src = fetchurl {
url = "http://libvirt.org/sources/libvirt-${version}.tar.gz";
sha256 = "07vsk4g1nxvxc8yr6cdvwp9kvwgm2g7lh6aaggfkxb2775n87q9m";
};
buildInputs = [ libxml2 gnutls devicemapper perl ];
# xen currently disabled in nixpkgs
configureFlags = ''
--without-xen
'';
meta = {
homepage = http://libvirt.org/;
description = "A toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes).";
license = "LGPLv2+";
};
}