libcommuni: move to qmakeHook

This reverts commit ee1af147f3.
wip/yesman
Nikolay Amiantov 8 years ago
parent 4b5bf1916a
commit ac1a531933
  1. 12
      pkgs/development/libraries/libcommuni/default.nix
  2. 2
      pkgs/top-level/all-packages.nix

@ -1,4 +1,4 @@
{ fetchgit, qt5, stdenv
{ fetchgit, qtbase, qmakeHook, stdenv
}:
stdenv.mkDerivation rec {
@ -11,16 +11,16 @@ stdenv.mkDerivation rec {
sha256 = "15sb7vinaaz1v5nclxpnp5p9a0kmfmlgiqibkipnyydizclidpfx";
};
buildInputs = [ qt5.qtbase ];
buildInputs = [ qtbase ];
nativeBuildInputs = [ qmakeHook ];
enableParallelBuild = true;
postPatch = ''
sed -i -e 's|/bin/pwd|pwd|g' -e 's/which/type -P/' configure
configurePhase = ''
sed -i -e 's|/bin/pwd|pwd|g' configure
./configure -config release -prefix $out -qmake $QMAKE
'';
configureFlags = [ "-config release" ];
meta = with stdenv.lib; {
description = "A cross-platform IRC framework written with Qt";
homepage = https://communi.github.io;

@ -7385,7 +7385,7 @@ in
libcm = callPackage ../development/libraries/libcm { };
libcommuni = callPackage ../development/libraries/libcommuni { };
libcommuni = qt5.callPackage ../development/libraries/libcommuni { };
libconfuse = callPackage ../development/libraries/libconfuse { };

Loading…
Cancel
Save