1{
2 qtModule,
3 python3,
4 qtbase,
5 qtsvg,
6}:
7
8qtModule {
9 pname = "qtdeclarative";
10 propagatedBuildInputs = [
11 qtbase
12 qtsvg
13 ];
14 nativeBuildInputs = [ python3 ];
15 outputs = [
16 "out"
17 "dev"
18 "bin"
19 ];
20 preConfigure = ''
21 NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QML2_IMPORT_PREFIX=\"$qtQmlPrefix\""
22 '';
23 configureFlags = [ "-qml-debug" ];
24 devTools = [
25 "bin/qml"
26 "bin/qmlcachegen"
27 "bin/qmleasing"
28 "bin/qmlimportscanner"
29 "bin/qmllint"
30 "bin/qmlmin"
31 "bin/qmlplugindump"
32 "bin/qmlprofiler"
33 "bin/qmlscene"
34 "bin/qmltestrunner"
35 ];
36}