mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:48:10 +00:00
8260022a1b
This also fixes the build with the xen-supporting libvirt and removes obsolete workarounds.
34 lines
1.1 KiB
Nix
34 lines
1.1 KiB
Nix
{ stdenv, fetchurl, pkgconfig, libvirt, glib, libxml2, intltool, libtool, yajl
|
|
, nettle, libgcrypt, python, pygobject, gobjectIntrospection, libcap_ng, numactl
|
|
, xen
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libvirt-glib-0.2.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://libvirt.org/sources/glib/${name}.tar.gz";
|
|
sha256 = "1pahj8qa7k2307sd57rwqwq1hijya02v0sxk91hl3cw48niimcf3";
|
|
};
|
|
|
|
buildInputs = [
|
|
pkgconfig libvirt glib libxml2 intltool libtool yajl nettle libgcrypt
|
|
python pygobject gobjectIntrospection libcap_ng numactl xen
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Library for working with virtual machines";
|
|
longDescription = ''
|
|
libvirt-glib wraps libvirt to provide a high-level object-oriented API better
|
|
suited for glib-based applications, via three libraries:
|
|
|
|
- libvirt-glib - GLib main loop integration & misc helper APIs
|
|
- libvirt-gconfig - GObjects for manipulating libvirt XML documents
|
|
- libvirt-gobject - GObjects for managing libvirt objects
|
|
'';
|
|
homepage = http://libvirt.org/;
|
|
license = licenses.lgpl2Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|