cutegram: fix meta information and parallel building

This commit is contained in:
Nikolay Amiantov 2016-03-26 19:55:39 +03:00
parent 3a0533b38a
commit 78b75b8ecd
3 changed files with 8 additions and 5 deletions

View File

@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
telegram-qml libqtelegram-aseman-edition telegram-qml libqtelegram-aseman-edition
gst_plugins_base gst_plugins_good gst_plugins_bad gst_plugins_ugly ]; gst_plugins_base gst_plugins_good gst_plugins_bad gst_plugins_ugly ];
nativeBuildInputs = [ makeQtWrapper ]; nativeBuildInputs = [ makeQtWrapper ];
enableParallelBuild = true; enableParallelBuilding = true;
configurePhase = "qmake -r PREFIX=$out"; configurePhase = "qmake -r PREFIX=$out";
@ -32,6 +32,7 @@ stdenv.mkDerivation rec {
homepage = "http://aseman.co/en/products/cutegram/"; homepage = "http://aseman.co/en/products/cutegram/";
license = licenses.gpl3; license = licenses.gpl3;
maintainers = with maintainers; [ profpatsch AndersonTorres ]; maintainers = with maintainers; [ profpatsch AndersonTorres ];
platforms = platforms.linux;
}; };
} }
#TODO: appindicator, for system tray plugin (by @profpatsch) #TODO: appindicator, for system tray plugin (by @profpatsch)

View File

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ qtbase qtmultimedia qtquick1 ]; buildInputs = [ qtbase qtmultimedia qtquick1 ];
enableParallelBuild = true; enableParallelBuilding = true;
patchPhase = '' patchPhase = ''
substituteInPlace libqtelegram-ae.pro --replace "/libqtelegram-ae" "" substituteInPlace libqtelegram-ae.pro --replace "/libqtelegram-ae" ""
@ -27,8 +27,9 @@ stdenv.mkDerivation rec {
version = "6.1"; version = "6.1";
description = "A fork of libqtelegram by Aseman, using qmake"; description = "A fork of libqtelegram by Aseman, using qmake";
homepage = src.meta.homepage; homepage = src.meta.homepage;
license = stdenv.lib.licenses.gpl3; license = licenses.gpl3;
maintainers = [ maintainers.profpatsch ]; maintainers = [ maintainers.profpatsch ];
platforms = platforms.linux;
}; };
} }

View File

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
}; };
propagatedBuildInputs = [ qtbase qtmultimedia qtquick1 libqtelegram-aseman-edition ]; propagatedBuildInputs = [ qtbase qtmultimedia qtquick1 libqtelegram-aseman-edition ];
enableParallelBuild = true; enableParallelBuilding = true;
patchPhase = '' patchPhase = ''
substituteInPlace telegramqml.pro --replace "/\$\$LIB_PATH" "" substituteInPlace telegramqml.pro --replace "/\$\$LIB_PATH" ""
@ -28,8 +28,9 @@ stdenv.mkDerivation rec {
version = "0.9.2"; version = "0.9.2";
description = "Telegram API tools for QtQml and Qml"; description = "Telegram API tools for QtQml and Qml";
homepage = src.meta.homepage; homepage = src.meta.homepage;
license = stdenv.lib.licenses.gpl3; license = licenses.gpl3;
maintainers = [ maintainers.profpatsch ]; maintainers = [ maintainers.profpatsch ];
platforms = platforms.linux;
}; };
} }