liqglviewer: move to qmake4Hook

This commit is contained in:
Nikolay Amiantov 2016-04-17 02:45:56 +03:00
parent 9a2bd51a30
commit 49558b04d2

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, qt4 }:
{ stdenv, fetchurl, qt4, qmake4Hook }:
stdenv.mkDerivation rec {
name = "libqglviewer-2.6.3";
@ -9,13 +9,11 @@ stdenv.mkDerivation rec {
sha256 = "00jdkyk4wg1356c3ar6nk3hyp494ya3yvshq9m57kfmqpn3inqdy";
};
buildInputs = [ qt4 ];
buildInputs = [ qt4 qmake4Hook ];
buildPhase =
postPatch =
''
cd QGLViewer
qmake PREFIX=$out
make
'';
meta = with stdenv.lib; {