@@ -1,14 +1,20 @@
11{ fetchFromGitHub, gperf, openssl, readline, zlib, cmake, stdenv }:
22
33stdenv.mkDerivation rec {
4− version = "1.6.0";
4+ version = "unstable-2020-10-25";
55 pname = "tdlib";
66
77 src = fetchFromGitHub {
88 owner = "tdlib";
99 repo = "td";
10− rev = "v${version}";
11− sha256 = "0zlzpl6fgszg18kwycyyyrnkm255dvc6fkq0b0y32m5wvwwl36cv";
10+
11+ # At version 1.6.0, this line was `rev = "v${version}". Version 1.6.9 (here called `unstable-2020-10-25`) uses an
12+ # explicit revision because 1.6.9 is not a tdlib GitHub release, and is therefore not hosted at
13+ # `https://github.com/tdlib/td/releases/tag/v1.6.9`. Please return to the `rev = "v${version}"` style on the next
14+ # version bump if you can, since that will allow `nixpkgs-update` to update the package automatically.
15+ rev = "32f2338bd199dd06a1b4b5f1ad14f2d4f2868f01";
16+
17+ sha256 = "0wv03hlgzrsc04kcwnwz6dsmkdzvhb0i1wjs08gzivwxw06pkq4n";
1218 };
1319
1420 buildInputs = [ gperf openssl readline zlib ];