gemConfig update for exiv and maxmind

Add the build flags for the native extension gems exiv2 and maxminddb.
This commit is contained in:
Stanisław Pitucha 2022-02-23 21:17:31 +11:00
parent 30ea86e22d
commit 6d84e80741

View file

@ -26,7 +26,7 @@
, file, libvirt, glib, vips, taglib, libopus, linux-pam, libidn, protobuf, fribidi, harfbuzz
, bison, flex, pango, python3, patchelf, binutils, freetds, wrapGAppsHook, atk
, bundler, libsass, libexif, libselinux, libsepol, shared-mime-info, libthai, libdatrie
, CoreServices, DarwinTools, cctools, libtool, discount
, CoreServices, DarwinTools, cctools, libtool, discount, exiv2, libmaxminddb
}@args:
let
@ -154,6 +154,10 @@ in
'';
};
exiv2 = attrs: {
buildFlags = [ "--with-exiv2-lib=${exiv2}/lib" "--with-exiv2-include=${exiv2.dev}/include" ];
};
fog-dnsimple = attrs:
lib.optionalAttrs (lib.versionOlder attrs.version "1.0.1") {
postInstall = ''
@ -414,6 +418,10 @@ in
'';
};
maxmind_geoip2 = attrs: {
buildFlags = [ "--with-maxminddb-lib=${libmaxminddb}/lib" "--with-maxminddb-include=${libmaxminddb}/include" ];
};
metasploit-framework = attrs: {
preInstall = ''
export HOME=$TMPDIR