diff options
Diffstat (limited to 'pkgs/development/libraries/libvirt/default.nix')
-rw-r--r-- | pkgs/development/libraries/libvirt/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libvirt/default.nix b/pkgs/development/libraries/libvirt/default.nix new file mode 100644 index 000000000000..39539b9ad4bd --- /dev/null +++ b/pkgs/development/libraries/libvirt/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchurl, libxml2, gnutls, devicemapper, perl }: + +let version = "0.7.5"; in + +stdenv.mkDerivation { + name = "libvirt-${version}"; + + src = fetchurl { + url = "http://libvirt.org/sources/libvirt-${version}.tar.gz"; + sha256 = "922481aadf72a74cf14012fe3967c60d01e70f7e88908410d57428943ab4eb8b"; + }; + + buildInputs = [ libxml2 gnutls devicemapper perl ]; + + # fix for redhat bz 531496 + patches = [ ./non-absolute-ld.patch ]; + + # 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+"; + }; +} |