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

kde {
  buildInputs = [ smokeqt ruby ];
  nativeBuildInputs = [ cmake ];

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

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

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