2021-02-05 17:12:51 +00:00
|
|
|
{ fetchFromGitHub, gperf, openssl, readline, zlib, cmake, lib, stdenv }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tdlib";
|
2022-01-03 16:56:52 +00:00
|
|
|
version = "1.8.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tdlib";
|
|
|
|
repo = "td";
|
2021-12-19 01:06:50 +00:00
|
|
|
# https://github.com/tdlib/td/issues/1790
|
2022-01-03 16:56:52 +00:00
|
|
|
rev = "b3ab664a18f8611f4dfcd3054717504271eeaa7a";
|
|
|
|
sha256 = "OBgzFBi+lIBbKnHDm5D/F3Xi4s1x4geb+1OoBP3F+qY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ gperf openssl readline zlib ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Cross-platform library for building Telegram clients";
|
|
|
|
homepage = "https://core.telegram.org/tdlib/";
|
|
|
|
license = [ licenses.boost ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.vyorkin ];
|
|
|
|
};
|
|
|
|
}
|