2010-08-11 19:10:03 +01:00
|
|
|
{ stdenv, fetchurl, libxml2, gnutls, devicemapper, perl, python }:
|
2010-01-27 12:12:35 +00:00
|
|
|
|
2010-08-11 18:55:31 +01:00
|
|
|
let version = "0.8.3"; in
|
2010-01-27 12:12:35 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "libvirt-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://libvirt.org/sources/libvirt-${version}.tar.gz";
|
2010-08-11 18:55:31 +01:00
|
|
|
sha256 = "07vsk4g1nxvxc8yr6cdvwp9kvwgm2g7lh6aaggfkxb2775n87q9m";
|
2010-01-27 12:12:35 +00:00
|
|
|
};
|
|
|
|
|
2010-08-11 19:10:03 +01:00
|
|
|
buildInputs = [ libxml2 gnutls devicemapper perl python ];
|
2010-01-27 12:12:35 +00:00
|
|
|
|
|
|
|
# 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+";
|
|
|
|
};
|
|
|
|
}
|