···11{ fetchFromGitHub, gperf, openssl, readline, zlib, cmake, stdenv }:
2233stdenv.mkDerivation rec {
44- version = "unstable-2020-10-25";
44+ version = "1.7.0";
55 pname = "tdlib";
6677 src = fetchFromGitHub {
88 owner = "tdlib";
99 repo = "td";
10101111- # At version 1.6.0, this line was `rev = "v${version}". Version 1.6.9 (here called `unstable-2020-10-25`) uses an
1212- # explicit revision because 1.6.9 is not a tdlib GitHub release, and is therefore not hosted at
1313- # `https://github.com/tdlib/td/releases/tag/v1.6.9`. Please return to the `rev = "v${version}"` style on the next
1414- # version bump if you can, since that will allow `nixpkgs-update` to update the package automatically.
1515- rev = "32f2338bd199dd06a1b4b5f1ad14f2d4f2868f01";
1111+ rev = "v${version}";
16121717- sha256 = "0wv03hlgzrsc04kcwnwz6dsmkdzvhb0i1wjs08gzivwxw06pkq4n";
1313+ sha256 = "sha256-sZzp9k7KDnqftcSGSgXkIy0siCksGPBmRckySU/J0TU=";
1814 };
19152016 buildInputs = [ gperf openssl readline zlib ];