gem-config: add ruby-libvirt
Based on 1d9798c8591bbbed6e6b9ca5c1811ff507b88b9a and 90a804c50af327077e7a219a425e8536bb097e39
This commit is contained in:
parent
44b02b52ea
commit
97200e970c
|
@ -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 ];
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue