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

kde {

 # TODO: scintilla2, qwt5

  buildInputs = [ smokeqt ruby ];

  nativeBuildInputs = [ cmake ];

  # The patch is not ready for upstream submmission.
  # I should add an option() instead.
  patches = [ ./qtruby-install-prefix.patch ];

  cmakeFlags="-DRUBY_ROOT_DIR=${ruby}";

  meta = {
    description = "Ruby bindings for Qt library";
  };
}