git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #161494 from viraptor/gems

gemConfig update for exiv and maxmind

commit0af35df7b8760d29f95119f131f1ef71da93003d authorMario Rodas <marsam@users.noreply.github.com> dateMon 4 Apr 2022, 06:44 (5 years ago) parent75429096d84e80
1 file changed+9−1
pkgs/development/ruby-modules/gem-config/default.nix+9−1
pkgs/development/ruby-modules/gem-config/default.nix+9−1
@@ -26,7 +26,7 @@
2626, file, libvirt, glib, vips, taglib, libopus, linux-pam, libidn, protobuf, fribidi, harfbuzz
2727, bison, flex, pango, python3, patchelf, binutils, freetds, wrapGAppsHook, atk
2828, bundler, libsass, libexif, libselinux, libsepol, shared-mime-info, libthai, libdatrie
29−, CoreServices, DarwinTools, cctools, libtool, discount
29+, CoreServices, DarwinTools, cctools, libtool, discount, exiv2, libmaxminddb
3030}@args:
3131
3232let
@@ -154,6 +154,10 @@ in
154154 '';
155155 };
156156
157+ exiv2 = attrs: {
158+ buildFlags = [ "--with-exiv2-lib=${exiv2}/lib" "--with-exiv2-include=${exiv2.dev}/include" ];
159+ };
160+
157161 fog-dnsimple = attrs:
158162 lib.optionalAttrs (lib.versionOlder attrs.version "1.0.1") {
159163 postInstall = ''
@@ -414,6 +418,10 @@ in
414418 '';
415419 };
416420
421+ maxmind_geoip2 = attrs: {
422+ buildFlags = [ "--with-maxminddb-lib=${libmaxminddb}/lib" "--with-maxminddb-include=${libmaxminddb}/include" ];
423+ };
424+
417425 metasploit-framework = attrs: {
418426 preInstall = ''
419427 export HOME=$TMPDIR