nixpkgs/pkgs/desktops/kde-4.14/kdebindings/qtruby.nix

23 lines
428 B
Nix
Raw Normal View History

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