2015-12-13 00:26:38 +00:00
|
|
|
{ stdenv, fetchFromGitHub
|
2017-06-02 16:40:19 +01:00
|
|
|
, qtbase, qtmultimedia, qtquick1, qmake }:
|
2015-12-13 00:26:38 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-03-03 05:18:07 +00:00
|
|
|
name = "libqtelegram-aseman-edition-${meta.version}";
|
2015-12-13 00:26:38 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Aseman-Land";
|
|
|
|
repo = "libqtelegram-aseman-edition";
|
2016-03-03 05:18:07 +00:00
|
|
|
rev = "v${meta.version}-stable";
|
|
|
|
sha256 = "1pfd4pvh51639zk9shv1s4f6pf0ympnhar8a302vhrkga9i4cbx6";
|
2015-12-13 00:26:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ qtbase qtmultimedia qtquick1 ];
|
2016-03-26 16:55:39 +00:00
|
|
|
enableParallelBuilding = true;
|
2017-06-02 16:40:19 +01:00
|
|
|
nativeBuildInputs = [ qmake ];
|
2015-12-13 00:26:38 +00:00
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace libqtelegram-ae.pro --replace "/libqtelegram-ae" ""
|
|
|
|
substituteInPlace libqtelegram-ae.pro --replace "/\$\$LIB_PATH" ""
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-03-03 05:18:07 +00:00
|
|
|
version = "6.1";
|
2015-12-13 00:26:38 +00:00
|
|
|
description = "A fork of libqtelegram by Aseman, using qmake";
|
|
|
|
homepage = src.meta.homepage;
|
2016-03-26 16:55:39 +00:00
|
|
|
license = licenses.gpl3;
|
2018-02-12 06:18:12 +00:00
|
|
|
maintainers = [ maintainers.Profpatsch ];
|
2016-03-26 16:55:39 +00:00
|
|
|
platforms = platforms.linux;
|
2015-12-13 00:26:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|