nixpkgs/pkgs/development/libraries/qt-5/modules/qtdeclarative.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
607 B
Nix
Raw Normal View History

{ qtModule, lib, python3, qtbase, qtsvg }:
qtModule {
2021-05-14 10:53:30 +00:00
pname = "qtdeclarative";
qtInputs = [ qtbase qtsvg ];
2019-12-25 08:30:13 +00:00
nativeBuildInputs = [ python3 ];
outputs = [ "out" "dev" "bin" ];
preConfigure = ''
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QML2_IMPORT_PREFIX=\"$qtQmlPrefix\""
'';
configureFlags = lib.optionals (lib.versionAtLeast qtbase.version "5.11.0") [ "-qml-debug" ];
devTools = [
"bin/qml"
"bin/qmlcachegen"
"bin/qmleasing"
"bin/qmlimportscanner"
"bin/qmllint"
"bin/qmlmin"
"bin/qmlplugindump"
"bin/qmlprofiler"
"bin/qmlscene"
"bin/qmltestrunner"
];
}