mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
fe0ab944db
The module definitions are factored out and shared between qt56 and qt59. The symlink farm which was created during builds is no longer needed.
35 lines
729 B
Nix
35 lines
729 B
Nix
{ qtModule, lib, qtbase }:
|
|
|
|
with lib;
|
|
|
|
qtModule {
|
|
name = "qttools";
|
|
qtInputs = [ qtbase ];
|
|
outputs = [ "out" "dev" "bin" ];
|
|
|
|
# fixQtBuiltinPaths overwrites a builtin path we should keep
|
|
postPatch = ''
|
|
sed -i "src/linguist/linguist.pro" \
|
|
-e '/^cmake_linguist_config_version_file.input =/ s|$$\[QT_HOST_DATA.*\]|${getDev qtbase}|'
|
|
'';
|
|
|
|
devTools = [
|
|
"bin/qcollectiongenerator"
|
|
"bin/linguist"
|
|
"bin/assistant"
|
|
"bin/qdoc"
|
|
"bin/lconvert"
|
|
"bin/designer"
|
|
"bin/qtattributesscanner"
|
|
"bin/lrelease"
|
|
"bin/pixeltool"
|
|
"bin/lupdate"
|
|
"bin/qtdiag"
|
|
"bin/qhelpgenerator"
|
|
"bin/qtplugininfo"
|
|
"bin/qthelpconverter"
|
|
];
|
|
|
|
setupHook = ../hooks/qttools-setup-hook.sh;
|
|
}
|