tdlib: 1.8.3 -> 1.8.7

Added a comment explaining why we use commit hashes directly instead
of tags.

+7 -4
+7 -4
pkgs/development/libraries/tdlib/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "tdlib"; 5 - version = "1.8.3"; 5 + version = "1.8.7"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "tdlib"; 9 9 repo = "td"; 10 - # https://github.com/tdlib/td/issues/1790 11 - rev = "054a823c1a812ee3e038f702c6d8ba3e6974be9c"; 12 - sha256 = "sha256-YlvIGR3Axej0nfcGBQ5lwwYVWsLgqFrYgOxoNubYMPM="; 10 + 11 + # The tdlib authors do not set tags for minor versions, but 12 + # external programs depending on tdlib constrain the minor 13 + # version, hence we set a specific commit with a known version. 14 + rev = "a7a17b34b3c8fd3f7f6295f152746beb68f34d83"; 15 + sha256 = "sha256:0a5609knn7rmiiblz315yrvc9f2r207l2nl6brjy5bnhjdspmzs6"; 13 16 }; 14 17 15 18 buildInputs = [ gperf openssl readline zlib ];