mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
cool-retro-term: add missing dependencies and fix qmltermwidget
This commit is contained in:
parent
b9bfedd64d
commit
30ff95ea59
@ -1,4 +1,5 @@
|
|||||||
{ stdenv, fetchgit, makeQtWrapper, qtbase, qtquick1, qmltermwidget }:
|
{ stdenv, fetchgit, makeQtWrapper, qtbase, qtquick1, qmltermwidget,
|
||||||
|
qtquickcontrols, qtgraphicaleffects }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
@ -15,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
sed -i -e '/qmltermwidget/d' cool-retro-term.pro
|
sed -i -e '/qmltermwidget/d' cool-retro-term.pro
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ qtbase qtquick1 qmltermwidget ];
|
buildInputs = [ qtbase qtquick1 qmltermwidget qtquickcontrols qtgraphicaleffects ];
|
||||||
nativeBuildInputs = [ makeQtWrapper ];
|
nativeBuildInputs = [ makeQtWrapper ];
|
||||||
|
|
||||||
configurePhase = "qmake PREFIX=$out";
|
configurePhase = "qmake PREFIX=$out";
|
||||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace qmltermwidget.pro \
|
substituteInPlace qmltermwidget.pro \
|
||||||
--replace '$$[QT_INSTALL_QML]' "/lib/qml/"
|
--replace '$$[QT_INSTALL_QML]' "/lib/qt5/qml/"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = "qmake PREFIX=$out";
|
configurePhase = "qmake PREFIX=$out";
|
||||||
|
Loading…
Reference in New Issue
Block a user