libcommuni: move to qmakeHook
This reverts commit ee1af147f35818f60d3cd6192a4828abdbfdc632.
This commit is contained in:
parent
4b5bf1916a
commit
ac1a531933
@ -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;
|
||||||
|
@ -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 { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user