lol
1{ stdenv, fetchurl, pkgconfig, libvirt, glib, libxml2, intltool, libtool, yajl
2, nettle, libgcrypt, python, pygobject, gobjectIntrospection, libcap_ng, numactl
3, xen
4}:
5
6stdenv.mkDerivation rec {
7 name = "libvirt-glib-0.2.3";
8
9 src = fetchurl {
10 url = "http://libvirt.org/sources/glib/${name}.tar.gz";
11 sha256 = "1pahj8qa7k2307sd57rwqwq1hijya02v0sxk91hl3cw48niimcf3";
12 };
13
14 buildInputs = [
15 pkgconfig libvirt glib libxml2 intltool libtool yajl nettle libgcrypt
16 python pygobject gobjectIntrospection libcap_ng numactl xen
17 ];
18
19 meta = with stdenv.lib; {
20 description = "Library for working with virtual machines";
21 longDescription = ''
22 libvirt-glib wraps libvirt to provide a high-level object-oriented API better
23 suited for glib-based applications, via three libraries:
24
25 - libvirt-glib - GLib main loop integration & misc helper APIs
26 - libvirt-gconfig - GObjects for manipulating libvirt XML documents
27 - libvirt-gobject - GObjects for managing libvirt objects
28 '';
29 homepage = http://libvirt.org/;
30 license = licenses.lgpl2Plus;
31 platforms = platforms.linux;
32 };
33}