tdlib: 1.8.3 -> 1.8.7

Added a comment explaining why we use commit hashes directly instead
of tags.
This commit is contained in:
Vincent Ambo 2022-10-23 13:44:58 +03:00
parent 7bc0c0e8a6
commit 8fadb377cc

View file

@ -2,14 +2,17 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "tdlib"; pname = "tdlib";
version = "1.8.3"; version = "1.8.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tdlib"; owner = "tdlib";
repo = "td"; repo = "td";
# https://github.com/tdlib/td/issues/1790
rev = "054a823c1a812ee3e038f702c6d8ba3e6974be9c"; # The tdlib authors do not set tags for minor versions, but
sha256 = "sha256-YlvIGR3Axej0nfcGBQ5lwwYVWsLgqFrYgOxoNubYMPM="; # external programs depending on tdlib constrain the minor
# version, hence we set a specific commit with a known version.
rev = "a7a17b34b3c8fd3f7f6295f152746beb68f34d83";
sha256 = "sha256:0a5609knn7rmiiblz315yrvc9f2r207l2nl6brjy5bnhjdspmzs6";
}; };
buildInputs = [ gperf openssl readline zlib ]; buildInputs = [ gperf openssl readline zlib ];