nixpkgs/pkgs/desktops/kde-4.14/kdebindings/qtruby.nix
Franz Pletz aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00

23 lines
428 B
Nix

{ kde, cmake, smokeqt, ruby_2_2 }:
kde {
# TODO: scintilla2, qwt5
buildInputs = [ smokeqt ruby_2_2 ];
nativeBuildInputs = [ cmake ];
hardeningDisable = [ "all" ];
# The patch is not ready for upstream submmission.
# I should add an option() instead.
patches = [ ./qtruby-install-prefix.patch ];
cmakeFlags="-DRUBY_ROOT_DIR=${ruby_2_2}";
meta = {
description = "Ruby bindings for Qt library";
};
}