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 ];
|
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|