2022-06-16 17:23:12 +00:00
|
|
|
{ qtModule
|
|
|
|
, stdenv
|
|
|
|
, lib
|
|
|
|
, qtbase
|
|
|
|
, qtdeclarative
|
2022-12-17 10:02:37 +00:00
|
|
|
, cups
|
2022-11-27 09:42:12 +00:00
|
|
|
, substituteAll
|
2022-06-16 17:23:12 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
qtModule {
|
|
|
|
pname = "qttools";
|
|
|
|
qtInputs = [ qtbase qtdeclarative ];
|
2022-12-17 10:02:37 +00:00
|
|
|
propagatedBuildInputs = lib.optionals stdenv.isDarwin [ cups ];
|
2022-11-27 09:42:12 +00:00
|
|
|
patches = [
|
|
|
|
../patches/qttools-paths.patch
|
|
|
|
];
|
|
|
|
NIX_CFLAGS_COMPILE = [
|
|
|
|
"-DNIX_OUTPUT_DEV=\"${placeholder "dev"}\""
|
|
|
|
];
|
2023-01-11 07:51:40 +00:00
|
|
|
|
|
|
|
devTools = [
|
|
|
|
"bin/qcollectiongenerator"
|
|
|
|
"bin/linguist"
|
|
|
|
"bin/assistant"
|
|
|
|
"bin/qdoc"
|
|
|
|
"bin/lconvert"
|
|
|
|
"bin/designer"
|
|
|
|
"bin/qtattributionsscanner"
|
|
|
|
"bin/lrelease"
|
|
|
|
"bin/lrelease-pro"
|
|
|
|
"bin/pixeltool"
|
|
|
|
"bin/lupdate"
|
|
|
|
"bin/lupdate-pro"
|
|
|
|
"bin/qtdiag"
|
|
|
|
"bin/qhelpgenerator"
|
|
|
|
"bin/qtplugininfo"
|
|
|
|
"bin/qthelpconverter"
|
|
|
|
"bin/lprodump"
|
|
|
|
"bin/qdistancefieldgenerator"
|
|
|
|
] ++ lib.optionals stdenv.isDarwin [
|
|
|
|
"bin/macdeployqt"
|
|
|
|
];
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
}
|