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

27 lines
681 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 {
2021-10-28 03:35:23 +01:00
version = "1.7.8";
2019-07-14 13:42:13 +01:00
pname = "tdlib";
src = fetchFromGitHub {
owner = "tdlib";
repo = "td";
2021-10-28 03:35:23 +01:00
rev = "a68d8e77efb03896f3a04fc316c47136b0bab7df";
2021-10-28 03:35:23 +01:00
sha256 = "0zis1mxb495lazmhax91h94nw73nyq82bhbx3f1zlxkvc8664099";
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 ];
};
}