mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
25 lines
548 B
Nix
25 lines
548 B
Nix
{ qtModule, lib, python3, qtbase, qtsvg }:
|
|
|
|
qtModule {
|
|
pname = "qtdeclarative";
|
|
qtInputs = [ 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"
|
|
];
|
|
}
|