summary refs log tree commit diff
path: root/pkgs/desktops/kde-4.14/kdebindings/qtruby.nix
blob: c80bd67f404f6b1104af45f9a8c5b4a53a1ac050 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ kde, cmake, smokeqt, ruby_2_2 }:

kde {

 # TODO: scintilla2, qwt5

  buildInputs = [ smokeqt ruby_2_2 ];

  nativeBuildInputs = [ cmake ];

  hardening_all = false;

  # 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";
  };
}