2017-03-25 23:16:51 +00:00
|
|
|
{ stdenv, qtSubmodule, makeQtWrapper, copyPathsToStore, python2, qtbase, qtsvg, qtxmlpatterns }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
2017-02-28 15:37:57 +00:00
|
|
|
|
|
|
|
qtSubmodule {
|
|
|
|
name = "qtdeclarative";
|
2017-03-25 23:16:51 +00:00
|
|
|
patches = copyPathsToStore (readPathsFromFile ./. ./series);
|
2017-02-28 15:37:57 +00:00
|
|
|
qtInputs = [ qtbase qtsvg qtxmlpatterns ];
|
2017-03-25 23:16:51 +00:00
|
|
|
nativeBuildInputs = [ python2 makeQtWrapper ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapQtProgram $out/bin/qmleasing
|
|
|
|
wrapQtProgram $out/bin/qmlscene
|
|
|
|
wrapQtProgram $out/bin/qmltestrunner
|
|
|
|
'' + optionalString (stdenv.isDarwin) ''
|
|
|
|
wrapQtProgram $out/bin/qml.app/Contents/MacOS/qml
|
|
|
|
'';
|
2017-02-28 15:37:57 +00:00
|
|
|
}
|