2020-08-25 07:35:49 +00:00
|
|
|
{ qtModule, lib, python3, qtbase, qtsvg }:
|
2017-10-24 11:39:54 +00:00
|
|
|
|
|
|
|
qtModule {
|
2021-05-14 10:53:30 +00:00
|
|
|
pname = "qtdeclarative";
|
2019-01-17 01:57:29 +00:00
|
|
|
qtInputs = [ qtbase qtsvg ];
|
2019-12-25 08:30:13 +00:00
|
|
|
nativeBuildInputs = [ python3 ];
|
2017-10-24 11:39:54 +00:00
|
|
|
outputs = [ "out" "dev" "bin" ];
|
|
|
|
preConfigure = ''
|
|
|
|
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QML2_IMPORT_PREFIX=\"$qtQmlPrefix\""
|
|
|
|
'';
|
2018-05-26 07:05:18 +00:00
|
|
|
configureFlags = lib.optionals (lib.versionAtLeast qtbase.version "5.11.0") [ "-qml-debug" ];
|
2017-10-24 11:39:54 +00:00
|
|
|
devTools = [
|
|
|
|
"bin/qml"
|
|
|
|
"bin/qmlcachegen"
|
|
|
|
"bin/qmleasing"
|
|
|
|
"bin/qmlimportscanner"
|
|
|
|
"bin/qmllint"
|
|
|
|
"bin/qmlmin"
|
|
|
|
"bin/qmlplugindump"
|
|
|
|
"bin/qmlprofiler"
|
|
|
|
"bin/qmlscene"
|
|
|
|
"bin/qmltestrunner"
|
|
|
|
];
|
|
|
|
}
|