27 lines
681 B
Nix
27 lines
681 B
Nix
{ fetchFromGitHub, gperf, openssl, readline, zlib, cmake, lib, stdenv }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.7.8";
|
|
pname = "tdlib";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tdlib";
|
|
repo = "td";
|
|
|
|
rev = "a68d8e77efb03896f3a04fc316c47136b0bab7df";
|
|
|
|
sha256 = "0zis1mxb495lazmhax91h94nw73nyq82bhbx3f1zlxkvc8664099";
|
|
};
|
|
|
|
buildInputs = [ gperf openssl readline zlib ];
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = with lib; {
|
|
description = "Cross-platform library for building Telegram clients";
|
|
homepage = "https://core.telegram.org/tdlib/";
|
|
license = [ licenses.boost ];
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.vyorkin ];
|
|
};
|
|
}
|