nixpkgs/pkgs/development/libraries/tdlib/default.nix

26 lines
725 B
Nix
Raw Normal View History

{ fetchFromGitHub, gperf, openssl, readline, zlib, cmake, lib, stdenv }:
2019-07-14 12:42:13 +00:00
stdenv.mkDerivation rec {
pname = "tdlib";
2021-11-02 17:24:38 +00:00
version = "1.7.9";
2019-07-14 12:42:13 +00:00
src = fetchFromGitHub {
owner = "tdlib";
repo = "td";
2021-11-02 17:24:38 +00:00
# https://github.com/tdlib/td/issues/1718
rev = "7d41d9eaa58a6e0927806283252dc9e74eda5512";
sha256 = "09b7srbfqi4gmg5pdi398pr0pxihw4d3cw85ycky54g862idzqs8";
2019-07-14 12:42:13 +00:00
};
buildInputs = [ gperf openssl readline zlib ];
nativeBuildInputs = [ cmake ];
meta = with lib; {
2019-07-14 12:42:13 +00: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 12:42:13 +00:00
maintainers = [ maintainers.vyorkin ];
};
}