3
0
Fork 0
forked from mirrors/nixpkgs

libkeyfinder: move to qmakeHook

This reverts commit f43d8b2336.
This commit is contained in:
Nikolay Amiantov 2016-04-16 22:59:17 +03:00
parent ac1a531933
commit 9a2bd51a30

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fftw, qtbase }:
{ stdenv, fetchFromGitHub, fftw, qtbase, qmakeHook }:
stdenv.mkDerivation rec {
name = "libkeyfinder-${version}";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
owner = "ibsh";
};
buildInputs = [ fftw qtbase ];
buildInputs = [ fftw qtbase qmakeHook ];
postPatch = ''
substituteInPlace LibKeyFinder.pro \
@ -19,12 +19,6 @@ stdenv.mkDerivation rec {
--replace "-stdlib=libc++" ""
'';
configurePhase = ''
runHook preConfigure
qmake
runHook postConfigure
'';
enableParallelBuilding = true;
postInstall = ''