mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
ostrinato: move to qmake4Hook
This commit is contained in:
parent
3c52b4253c
commit
a1fc9606f2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user