2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
26 lines
571 B
Nix
26 lines
571 B
Nix
{ lib
|
|
, stdenv
|
|
, 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"
|
|
];
|
|
}
|