texstudio: move to qmake4Hook

This commit is contained in:
Nikolay Amiantov 2016-04-17 02:27:11 +03:00
parent b1dcfeeeeb
commit 6d96f2f3b4

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, qt4, poppler_qt4, zlib, pkgconfig}:
{ stdenv, fetchurl, qt4, qmake4Hook, poppler_qt4, zlib, pkgconfig}:
stdenv.mkDerivation rec {
pname = "texstudio";
@ -11,11 +11,9 @@ stdenv.mkDerivation rec {
sha256 = "1smmc4xqs8x8qzp6iqj2wr4xarfnxxxp6rq6chx1kb256w75jwfw";
};
buildInputs = [ qt4 poppler_qt4 zlib pkgconfig];
buildInputs = [ qt4 qmake4Hook poppler_qt4 zlib pkgconfig ];
preConfigure = ''
qmake PREFIX=$out NO_APPDATA=True texstudio.pro
'';
qmakeFlags = [ "NO_APPDATA=True" ];
meta = with stdenv.lib; {
description = "TeX and LaTeX editor";