diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-04-16 22:59:19 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-04-20 18:55:39 +0300 |
commit | c579c21b04d0607c4f895db9c42232958461de70 (patch) | |
tree | a8ba534a753e49c8f4ac324d091e0b74b79ef972 | |
parent | eb3a5a300213f7bebade0ef60a7492b012f6b402 (diff) |
keyfinder: move to qmakeHook
This reverts commit 6d9147abab8840c61b14be13aa029ff9275cb700.
-rw-r--r-- | pkgs/applications/audio/keyfinder/default.nix | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/pkgs/applications/audio/keyfinder/default.nix b/pkgs/applications/audio/keyfinder/default.nix index 049920d280793..0cacd77249397 100644 --- a/pkgs/applications/audio/keyfinder/default.nix +++ b/pkgs/applications/audio/keyfinder/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, libav_0_8, libkeyfinder, qtbase, qtxmlpatterns, taglib }: +{ stdenv, fetchFromGitHub, libav_0_8, libkeyfinder, qtbase, qtxmlpatterns, qmakeHook, taglib }: stdenv.mkDerivation rec { name = "keyfinder-${version}"; @@ -11,21 +11,14 @@ stdenv.mkDerivation rec { owner = "ibsh"; }; - buildInputs = [ libav_0_8 libkeyfinder qtbase qtxmlpatterns taglib ]; + buildInputs = [ libav_0_8 libkeyfinder qtbase qtxmlpatterns qmakeHook taglib ]; postPatch = '' substituteInPlace is_KeyFinder.pro \ --replace "keyfinder.0" "keyfinder" \ - --replace '$$[QT_INSTALL_PREFIX]' "$out" \ --replace "-stdlib=libc++" "" ''; - configurePhase = '' - runHook preConfigure - qmake - runHook postConfigure - ''; - enableParallelBuilding = true; meta = with stdenv.lib; { |