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