openscad: move to qmake4Hook

This commit is contained in:
Nikolay Amiantov 2016-04-17 02:30:06 +03:00
parent 2a7a4ec079
commit 0b6a6c903e

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, qt4, bison, flex, eigen, boost, mesa, glew, opencsg, cgal
{ stdenv, fetchurl, qt4, qmake4Hook, bison, flex, eigen, boost, mesa, glew, opencsg, cgal
, mpfr, gmp, glib, pkgconfig, harfbuzz, qscintilla, gettext
}:
@ -12,13 +12,11 @@ stdenv.mkDerivation rec {
};
buildInputs = [
qt4 bison flex eigen boost mesa glew opencsg cgal mpfr gmp glib
qt4 qmake4Hook bison flex eigen boost mesa glew opencsg cgal mpfr gmp glib
pkgconfig harfbuzz qscintilla gettext
];
configurePhase = ''
qmake PREFIX="$out" VERSION=${version}
'';
qmakeFlags = [ "VERSION=${version}" ];
doCheck = false;