ostrinato: move to qmake4Hook

This commit is contained in:
Nikolay Amiantov 2016-04-17 02:38:45 +03:00
parent 3c52b4253c
commit a1fc9606f2

View File

@ -1,5 +1,5 @@
{ stdenv, fetchgit, fetchurl, writeText
, qt4, protobuf, libpcap
, qt4, qmake4Hook, protobuf, libpcap
, wireshark, gzip, diffutils, gawk
}:
@ -18,10 +18,9 @@ stdenv.mkDerivation rec {
buildInputs = [ qt4 protobuf libpcap ];
patches = [ ./drone_ini.patch ];
nativeBuildInputs = [ qmake4Hook ];
configurePhase = "qmake PREFIX=$out"
+ stdenv.lib.optionalString stdenv.isDarwin " -spec macx-g++";
patches = [ ./drone_ini.patch ];
postInstall = ''
cat > $out/bin/ostinato.ini <<EOF