libcommuni: move to qmakeHook

This reverts commit ee1af147f3.
This commit is contained in:
Nikolay Amiantov
2016-04-20 18:55:51 +03:00
parent 4b5bf1916a
commit ac1a531933
2 changed files with 7 additions and 7 deletions
@@ -1,4 +1,4 @@
{ fetchgit, qt5, stdenv { fetchgit, qtbase, qmakeHook, stdenv
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@@ -11,16 +11,16 @@ stdenv.mkDerivation rec {
sha256 = "15sb7vinaaz1v5nclxpnp5p9a0kmfmlgiqibkipnyydizclidpfx"; sha256 = "15sb7vinaaz1v5nclxpnp5p9a0kmfmlgiqibkipnyydizclidpfx";
}; };
buildInputs = [ qt5.qtbase ]; buildInputs = [ qtbase ];
nativeBuildInputs = [ qmakeHook ];
enableParallelBuild = true; enableParallelBuild = true;
postPatch = '' configurePhase = ''
sed -i -e 's|/bin/pwd|pwd|g' -e 's/which/type -P/' configure sed -i -e 's|/bin/pwd|pwd|g' configure
./configure -config release -prefix $out -qmake $QMAKE
''; '';
configureFlags = [ "-config release" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A cross-platform IRC framework written with Qt"; description = "A cross-platform IRC framework written with Qt";
homepage = https://communi.github.io; homepage = https://communi.github.io;
+1 -1
View File
@@ -7385,7 +7385,7 @@ in
libcm = callPackage ../development/libraries/libcm { }; libcm = callPackage ../development/libraries/libcm { };
libcommuni = callPackage ../development/libraries/libcommuni { }; libcommuni = qt5.callPackage ../development/libraries/libcommuni { };
libconfuse = callPackage ../development/libraries/libconfuse { }; libconfuse = callPackage ../development/libraries/libconfuse { };