linssid: move to qmakeHook

This reverts commit cf3f891369655cd30431bd4f2975a46f8adb0167.
This commit is contained in:
Nikolay Amiantov 2016-04-16 22:59:18 +03:00
parent 6b6768f455
commit d52c326fd0

@ -1,4 +1,4 @@
{ stdenv, fetchurl, qtbase, qtsvg, pkgconfig, boost, wirelesstools, iw, qwt6 }:
{ stdenv, fetchurl, qtbase, qtsvg, qmakeHook, pkgconfig, boost, wirelesstools, iw, qwt6 }:
stdenv.mkDerivation rec {
name = "linssid-${version}";
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "13d35rlcjncd8lx3khkgn9x8is2xjd5fp6ns5xsn3w6l4xj9b4gl";
};
buildInputs = [ qtbase qtsvg pkgconfig boost qwt6 ];
buildInputs = [ qtbase qtsvg pkgconfig boost qwt6 qmakeHook ];
patches = [ ./0001-unbundled-qwt.patch ];
@ -27,12 +27,6 @@ stdenv.mkDerivation rec {
rm -fr qwt-lib
'';
configurePhase = ''
runHook preConfigure
qmake linssid.pro
runHook postConfigure
'';
meta = with stdenv.lib; {
description = "Graphical wireless scanning for Linux";
homepage = http://sourceforge.net/projects/linssid/;