depot/third_party/nixpkgs/pkgs/development/libraries/tdlib/default.nix
Default email 51e09efdfc Project import generated by Copybara.
GitOrigin-RevId: 296793637b22bdb4d23b479879eba0a71c132a66
2020-12-03 09:41:04 +01:00

26 lines
653 B
Nix

{ fetchFromGitHub, gperf, openssl, readline, zlib, cmake, stdenv }:
stdenv.mkDerivation rec {
version = "1.7.0";
pname = "tdlib";
src = fetchFromGitHub {
owner = "tdlib";
repo = "td";
rev = "v${version}";
sha256 = "sha256-sZzp9k7KDnqftcSGSgXkIy0siCksGPBmRckySU/J0TU=";
};
buildInputs = [ gperf openssl readline zlib ];
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
description = "Cross-platform library for building Telegram clients";
homepage = "https://core.telegram.org/tdlib/";
license = [ licenses.boost ];
platforms = platforms.unix;
maintainers = [ maintainers.vyorkin ];
};
}