mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
26 lines
550 B
Nix
26 lines
550 B
Nix
|
{ qtModule, lib, python2, qtbase, qtsvg, qtxmlpatterns }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
qtModule {
|
||
|
name = "qtdeclarative";
|
||
|
qtInputs = [ qtbase qtsvg qtxmlpatterns ];
|
||
|
nativeBuildInputs = [ python2 ];
|
||
|
outputs = [ "out" "dev" "bin" ];
|
||
|
preConfigure = ''
|
||
|
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QML2_IMPORT_PREFIX=\"$qtQmlPrefix\""
|
||
|
'';
|
||
|
devTools = [
|
||
|
"bin/qml"
|
||
|
"bin/qmlcachegen"
|
||
|
"bin/qmleasing"
|
||
|
"bin/qmlimportscanner"
|
||
|
"bin/qmllint"
|
||
|
"bin/qmlmin"
|
||
|
"bin/qmlplugindump"
|
||
|
"bin/qmlprofiler"
|
||
|
"bin/qmlscene"
|
||
|
"bin/qmltestrunner"
|
||
|
];
|
||
|
}
|