2017-05-17 14:26:11 -05:00
|
|
|
{ stdenv, qtSubmodule, copyPathsToStore, qtbase }:
|
2017-03-26 00:16:51 +01:00
|
|
|
|
|
|
|
with stdenv.lib;
|
2017-02-28 09:37:57 -06:00
|
|
|
|
|
|
|
qtSubmodule {
|
|
|
|
name = "qttools";
|
|
|
|
qtInputs = [ qtbase ];
|
2017-05-18 18:19:42 -05:00
|
|
|
outputs = [ "out" "dev" "bin" ];
|
2017-03-26 00:16:51 +01:00
|
|
|
patches = copyPathsToStore (readPathsFromFile ./. ./series);
|
2017-05-19 07:43:02 -05:00
|
|
|
# qmake moves all binaries to $dev in preFixup
|
|
|
|
postFixup = ''
|
2017-05-18 18:19:42 -05:00
|
|
|
moveToOutput "bin/qdbus" "$bin"
|
2017-05-23 06:15:04 -05:00
|
|
|
moveToOutput "bin/qdbusviewer" "$bin"
|
2017-05-18 18:19:42 -05:00
|
|
|
moveToOutput "bin/qtpaths" "$bin"
|
2017-02-28 09:37:57 -06:00
|
|
|
'';
|
|
|
|
}
|