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

25 lines
652 B
Nix
Raw Normal View History

2019-07-14 13:42:13 +01:00
{ fetchFromGitHub, gperf, openssl, readline, zlib, cmake, stdenv }:
stdenv.mkDerivation rec {
2020-02-01 11:15:11 +00:00
version = "1.6.0";
2019-07-14 13:42:13 +01:00
pname = "tdlib";
src = fetchFromGitHub {
owner = "tdlib";
repo = "td";
rev = "v${version}";
2020-02-01 11:15:11 +00:00
sha256 = "0zlzpl6fgszg18kwycyyyrnkm255dvc6fkq0b0y32m5wvwwl36cv";
2019-07-14 13:42:13 +01:00
};
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 ];
2020-03-03 17:44:04 +00:00
platforms = platforms.unix;
2019-07-14 13:42:13 +01:00
maintainers = [ maintainers.vyorkin ];
};
}