libqtelegram-aseman-edition: move to qmakeHook
This reverts commit 080b54d766.
This commit is contained in:
+2
-7
@@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub
|
{ stdenv, fetchFromGitHub
|
||||||
, qtbase, qtmultimedia, qtquick1 }:
|
, qtbase, qtmultimedia, qtquick1, qmakeHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libqtelegram-aseman-edition-${meta.version}";
|
name = "libqtelegram-aseman-edition-${meta.version}";
|
||||||
@@ -12,6 +12,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qtbase qtmultimedia qtquick1 ];
|
buildInputs = [ qtbase qtmultimedia qtquick1 ];
|
||||||
|
nativeBuildInputs = [ qmakeHook ];
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
@@ -19,12 +20,6 @@ stdenv.mkDerivation rec {
|
|||||||
substituteInPlace libqtelegram-ae.pro --replace "/\$\$LIB_PATH" ""
|
substituteInPlace libqtelegram-ae.pro --replace "/\$\$LIB_PATH" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
runHook preConfigure
|
|
||||||
qmake -r PREFIX=$out
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
version = "6.1";
|
version = "6.1";
|
||||||
description = "A fork of libqtelegram by Aseman, using qmake";
|
description = "A fork of libqtelegram by Aseman, using qmake";
|
||||||
|
|||||||
Reference in New Issue
Block a user