mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:26:02 +00:00
18 lines
416 B
Nix
18 lines
416 B
Nix
|
{ kde, cmake, smokeqt, ruby }:
|
||
|
|
||
|
kde {
|
||
|
#todo: scintilla2, qwt5
|
||
|
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";
|
||
|
};
|
||
|
}
|