53d79f6f9c
svn path=/nixpkgs/trunk/; revision=23124
25 lines
698 B
Nix
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+";
|
|
};
|
|
}
|