focuswriter: move to qmake4Hook

+4 -4
+4 -4
pkgs/applications/editors/focuswriter/default.nix
··· 1 - {stdenv, fetchurl, qt4, pkgconfig, hunspell}: 2 3 stdenv.mkDerivation rec { 4 name = "focuswriter-${version}"; ··· 9 sha256 = "1i58jxbiy95ijf81g8c3gwxhcg3irzssna3wv7vhrd57g4lcfj0w"; 10 }; 11 12 - buildInputs = [ qt4 pkgconfig hunspell ]; 13 14 - configurePhase = "qmake PREFIX=/"; 15 16 - installPhase = "make install INSTALL_ROOT=$out"; 17 18 meta = { 19 description = "Simple, distraction-free writing environment";
··· 1 + { stdenv, fetchurl, qt4, qmake4Hook, pkgconfig, hunspell }: 2 3 stdenv.mkDerivation rec { 4 name = "focuswriter-${version}"; ··· 9 sha256 = "1i58jxbiy95ijf81g8c3gwxhcg3irzssna3wv7vhrd57g4lcfj0w"; 10 }; 11 12 + buildInputs = [ qt4 qmake4Hook pkgconfig hunspell ]; 13 14 + qmakeFlags = [ "PREFIX=/" ]; 15 16 + installFlags = [ "INSTALL_ROOT=$(out)" ]; 17 18 meta = { 19 description = "Simple, distraction-free writing environment";