f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
24 lines
556 B
Nix
24 lines
556 B
Nix
{ qtModule, python3, qtbase, qtsvg }:
|
|
|
|
qtModule {
|
|
pname = "qtdeclarative";
|
|
propagatedBuildInputs = [ qtbase qtsvg ];
|
|
nativeBuildInputs = [ python3 ];
|
|
outputs = [ "out" "dev" "bin" ];
|
|
preConfigure = ''
|
|
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QML2_IMPORT_PREFIX=\"$qtQmlPrefix\""
|
|
'';
|
|
configureFlags = [ "-qml-debug" ];
|
|
devTools = [
|
|
"bin/qml"
|
|
"bin/qmlcachegen"
|
|
"bin/qmleasing"
|
|
"bin/qmlimportscanner"
|
|
"bin/qmllint"
|
|
"bin/qmlmin"
|
|
"bin/qmlplugindump"
|
|
"bin/qmlprofiler"
|
|
"bin/qmlscene"
|
|
"bin/qmltestrunner"
|
|
];
|
|
}
|