libkeyfinder: move to qmakeHook
This reverts commit f43d8b233621c0a5ac575c6236b0e2c5b58611f4.
This commit is contained in:
parent
ac1a531933
commit
9a2bd51a30
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, fftw, qtbase }:
|
{ stdenv, fetchFromGitHub, fftw, qtbase, qmakeHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libkeyfinder-${version}";
|
name = "libkeyfinder-${version}";
|
||||||
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "ibsh";
|
owner = "ibsh";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ fftw qtbase ];
|
buildInputs = [ fftw qtbase qmakeHook ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace LibKeyFinder.pro \
|
substituteInPlace LibKeyFinder.pro \
|
||||||
@ -19,12 +19,6 @@ stdenv.mkDerivation rec {
|
|||||||
--replace "-stdlib=libc++" ""
|
--replace "-stdlib=libc++" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
runHook preConfigure
|
|
||||||
qmake
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user