6d4aeb4377
GitOrigin-RevId: 0f213d0fee84280d8c3a97f7469b988d6fe5fcdf
44 lines
833 B
Nix
44 lines
833 B
Nix
{ qtModule
|
|
, stdenv
|
|
, lib
|
|
, qtbase
|
|
, qtdeclarative
|
|
, cups
|
|
, substituteAll
|
|
}:
|
|
|
|
qtModule {
|
|
pname = "qttools";
|
|
qtInputs = [ qtbase qtdeclarative ];
|
|
propagatedBuildInputs = lib.optionals stdenv.isDarwin [ cups ];
|
|
patches = [
|
|
../patches/qttools-paths.patch
|
|
];
|
|
NIX_CFLAGS_COMPILE = [
|
|
"-DNIX_OUTPUT_DEV=\"${placeholder "dev"}\""
|
|
];
|
|
|
|
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"
|
|
];
|
|
|
|
}
|