gem-config: add ruby-libvirt

Based on 1d9798c859 and
90a804c50a
This commit is contained in:
Matthew Harm Bekkema 2018-12-17 09:36:30 +11:00
parent 44b02b52ea
commit 97200e970c

View File

@ -23,7 +23,7 @@
, cmake, libssh2, openssl, mysql, darwin, git, perl, pcre, gecode_3, curl
, msgpack, qt59, libsodium, snappy, libossp_uuid, lxc, libpcap, xorg, gtk2, buildRubyGem
, cairo, re2, rake, gobject-introspection, gdk_pixbuf, zeromq, graphicsmagick, libcxx, file
, libselinux ? null, libsepol ? null
, libselinux ? null, libsepol ? null, libvirt
}@args:
let
@ -321,6 +321,14 @@ in
buildInputs = [ imagemagick which ];
};
ruby-libvirt = attrs: {
buildInputs = [ libvirt pkgconfig ];
buildFlags = [
"--with-libvirt-include=${libvirt}/include"
"--with-libvirt-lib=${libvirt}/lib"
];
};
ruby-lxc = attrs: {
buildInputs = [ lxc ];
};