3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/tdlib/default.nix

26 lines
717 B
Nix
Raw Normal View History

{ fetchFromGitHub, gperf, openssl, readline, zlib, cmake, lib, stdenv }:
2019-07-14 13:42:13 +01:00
stdenv.mkDerivation rec {
pname = "tdlib";
2021-12-31 11:19:02 +00:00
version = "1.8.0";
2019-07-14 13:42:13 +01:00
src = fetchFromGitHub {
owner = "tdlib";
repo = "td";
2021-12-12 08:19:04 +00:00
# https://github.com/tdlib/td/issues/1790
2021-12-31 11:19:02 +00:00
rev = "b3ab664a18f8611f4dfcd3054717504271eeaa7a";
sha256 = "OBgzFBi+lIBbKnHDm5D/F3Xi4s1x4geb+1OoBP3F+qY=";
2019-07-14 13:42:13 +01:00
};
buildInputs = [ gperf openssl readline zlib ];
nativeBuildInputs = [ cmake ];
meta = with lib; {
2019-07-14 13:42:13 +01:00
description = "Cross-platform library for building Telegram clients";
homepage = "https://core.telegram.org/tdlib/";
license = [ licenses.boost ];
2020-03-03 17:44:04 +00:00
platforms = platforms.unix;
2019-07-14 13:42:13 +01:00
maintainers = [ maintainers.vyorkin ];
};
}