Skip to content

Commit

Permalink
tdlib: init at 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vyorkin committed Jul 14, 2019
1 parent 93bd6a7 commit 3f53350
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pkgs/development/libraries/tdlib/default.nix
@@ -0,0 +1,24 @@
{ fetchFromGitHub, gperf, openssl, readline, zlib, cmake, stdenv }:

stdenv.mkDerivation rec {
version = "1.4.0";
pname = "tdlib";

src = fetchFromGitHub {
owner = "tdlib";
repo = "td";
rev = "v${version}";
sha256 = "1ijyn14rjb87rqm39hg7md8ab33yiy8cgzw3p0m37scn58gabpp7";
};

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.linux;
maintainers = [ maintainers.vyorkin ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -13441,6 +13441,8 @@ in

tdb = callPackage ../development/libraries/tdb {};

tdlib = callPackage ../development/libraries/tdlib { };

tecla = callPackage ../development/libraries/tecla { };

tectonic = callPackage ../tools/typesetting/tectonic {
Expand Down

0 comments on commit 3f53350

Please sign in to comment.