blob: 3149ac3279af3eaa3867a8d3ce616dca771fed17 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{ stdenv, fetchFromGitHub
, qtbase, qtmultimedia, qtquick1 }:
stdenv.mkDerivation rec {
name = "libqtelegram-aseman-edition-${version}";
version = "6.0";
src = fetchFromGitHub {
owner = "Aseman-Land";
repo = "libqtelegram-aseman-edition";
rev = "v${version}";
sha256 = "17hlxf43xwic8m06q3gwbxjpvz31ks6laffjw6ny98d45zfnfwra";
};
buildInputs = [ qtbase qtmultimedia qtquick1 ];
enableParallelBuild = true;
patchPhase = ''
substituteInPlace libqtelegram-ae.pro --replace "/libqtelegram-ae" ""
substituteInPlace libqtelegram-ae.pro --replace "/\$\$LIB_PATH" ""
'';
configurePhase = ''
qmake -r PREFIX=$out
'';
meta = with stdenv.lib; {
description = "A fork of libqtelegram by Aseman, using qmake";
homepage = src.meta.homepage;
license = stdenv.lib.licenses.gpl3;
maintainer = [ maintainers.profpatsch ];
};
}
|