nixpkgs/pkgs/desktops/kde-4.12/kdebindings/qtruby.nix
2014-02-13 04:26:42 +02:00

21 lines
383 B
Nix

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