nixpkgs/pkgs/development/libraries/libvirt/default.nix
Rob Vermaas c441b771f4 libvirt: add python to deps so python bindings are built
svn path=/nixpkgs/trunk/; revision=23125
2010-08-11 18:10:03 +00:00

26 lines
713 B
Nix

{ stdenv, fetchurl, libxml2, gnutls, devicemapper, perl, python }:
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 python ];
# 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+";
};
}