summary refs log tree commit diff
path: root/pkgs/applications/audio/keyfinder
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-04-16 22:59:19 +0300
committerNikolay Amiantov <ab@fmap.me>2016-04-20 18:55:39 +0300
commitc579c21b04d0607c4f895db9c42232958461de70 (patch)
treea8ba534a753e49c8f4ac324d091e0b74b79ef972 /pkgs/applications/audio/keyfinder
parenteb3a5a300213f7bebade0ef60a7492b012f6b402 (diff)
downloadnixpkgs-c579c21b04d0607c4f895db9c42232958461de70.tar
nixpkgs-c579c21b04d0607c4f895db9c42232958461de70.tar.gz
nixpkgs-c579c21b04d0607c4f895db9c42232958461de70.tar.bz2
nixpkgs-c579c21b04d0607c4f895db9c42232958461de70.tar.lz
nixpkgs-c579c21b04d0607c4f895db9c42232958461de70.tar.xz
nixpkgs-c579c21b04d0607c4f895db9c42232958461de70.tar.zst
nixpkgs-c579c21b04d0607c4f895db9c42232958461de70.zip
keyfinder: move to qmakeHook
This reverts commit 6d9147abab8840c61b14be13aa029ff9275cb700.
Diffstat (limited to 'pkgs/applications/audio/keyfinder')
-rw-r--r--pkgs/applications/audio/keyfinder/default.nix11
1 files changed, 2 insertions, 9 deletions
diff --git a/pkgs/applications/audio/keyfinder/default.nix b/pkgs/applications/audio/keyfinder/default.nix
index 049920d2807..0cacd772493 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; {