forked from mirrors/nixpkgs
17 lines
417 B
Nix
17 lines
417 B
Nix
{ stdenv, qtSubmodule, copyPathsToStore, qtbase }:
|
|
|
|
with stdenv.lib;
|
|
|
|
qtSubmodule {
|
|
name = "qttools";
|
|
qtInputs = [ qtbase ];
|
|
outputs = [ "out" "dev" "bin" ];
|
|
patches = copyPathsToStore (readPathsFromFile ./. ./series);
|
|
# qmake moves all binaries to $dev in preFixup
|
|
postFixup = ''
|
|
moveToOutput "bin/qdbus" "$bin"
|
|
moveToOutput "bin/qdbusviewer" "$bin"
|
|
moveToOutput "bin/qtpaths" "$bin"
|
|
'';
|
|
}
|