From 8eeaad9129e265d36c7879765865793e66eee9a0 Mon Sep 17 00:00:00 2001 From: Matthew Piziak Date: Wed, 28 Oct 2020 12:12:04 -0400 Subject: [PATCH 1/4] tdlib: 1.6.0 -> 1.6.9 fix hash version 1.6.9 is not released, so use revision hash --- pkgs/development/libraries/tdlib/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/tdlib/default.nix b/pkgs/development/libraries/tdlib/default.nix index 4bf49e297e3..06909c07860 100644 --- a/pkgs/development/libraries/tdlib/default.nix +++ b/pkgs/development/libraries/tdlib/default.nix @@ -1,14 +1,14 @@ { fetchFromGitHub, gperf, openssl, readline, zlib, cmake, stdenv }: stdenv.mkDerivation rec { - version = "1.6.0"; + version = "1.6.9"; pname = "tdlib"; src = fetchFromGitHub { owner = "tdlib"; repo = "td"; - rev = "v${version}"; - sha256 = "0zlzpl6fgszg18kwycyyyrnkm255dvc6fkq0b0y32m5wvwwl36cv"; + rev = "32f2338bd199dd06a1b4b5f1ad14f2d4f2868f01"; + sha256 = "0wv03hlgzrsc04kcwnwz6dsmkdzvhb0i1wjs08gzivwxw06pkq4n"; }; buildInputs = [ gperf openssl readline zlib ]; From 5a6acc6a7fc89ef0f7d92751d3da71a195d5bc3f Mon Sep 17 00:00:00 2001 From: Matthew Piziak Date: Wed, 28 Oct 2020 17:38:40 -0400 Subject: [PATCH 2/4] tdlib: 1.6.0 -> 1.6.9 fix hash version 1.6.9 is not released, so use revision hash add a comment to the rev about why we are not using `v${version}` anymore --- pkgs/development/libraries/tdlib/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/libraries/tdlib/default.nix b/pkgs/development/libraries/tdlib/default.nix index 06909c07860..80defd4a543 100644 --- a/pkgs/development/libraries/tdlib/default.nix +++ b/pkgs/development/libraries/tdlib/default.nix @@ -7,7 +7,13 @@ stdenv.mkDerivation rec { src = fetchFromGitHub { owner = "tdlib"; repo = "td"; + + # At version 1.6.0, this line was `rev = "v${version}". Version 1.6.9 uses an explicit revision hash because 1.6.9 + # is not a tdlib GitHub release, and is therefore not hosted at `https://github.com/tdlib/td/releases/tag/v1.6.9`. + # Please return to the `rev = "v${version}"` style on the next version bump if you can, since that will allow + # `nixpkgs-update` to update the package automatically. rev = "32f2338bd199dd06a1b4b5f1ad14f2d4f2868f01"; + sha256 = "0wv03hlgzrsc04kcwnwz6dsmkdzvhb0i1wjs08gzivwxw06pkq4n"; }; From 12314c6299b3f6370279246c01994663c7a96f93 Mon Sep 17 00:00:00 2001 From: Matthew Piziak Date: Wed, 28 Oct 2020 18:44:02 -0400 Subject: [PATCH 3/4] tdlib: 1.6.0 -> 1.6.9 fix hash version 1.6.9 is not released, so use revision hash add a comment to the rev about why we are not using `v${version}` anymore use unstable-2020-10-25 --- pkgs/development/libraries/tdlib/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/tdlib/default.nix b/pkgs/development/libraries/tdlib/default.nix index 80defd4a543..f430b10c64c 100644 --- a/pkgs/development/libraries/tdlib/default.nix +++ b/pkgs/development/libraries/tdlib/default.nix @@ -8,11 +8,11 @@ stdenv.mkDerivation rec { owner = "tdlib"; repo = "td"; - # At version 1.6.0, this line was `rev = "v${version}". Version 1.6.9 uses an explicit revision hash because 1.6.9 - # is not a tdlib GitHub release, and is therefore not hosted at `https://github.com/tdlib/td/releases/tag/v1.6.9`. - # Please return to the `rev = "v${version}"` style on the next version bump if you can, since that will allow + # At version 1.6.0, this line was `rev = "v${version}". Version 1.6.9 uses an explicit revision because 1.6.9 is not + # a tdlib GitHub release, and is therefore not hosted at `https://github.com/tdlib/td/releases/tag/v1.6.9`. Please + # return to the `rev = "v${version}"` style on the next version bump if you can, since that will allow # `nixpkgs-update` to update the package automatically. - rev = "32f2338bd199dd06a1b4b5f1ad14f2d4f2868f01"; + rev = "unstable-2020-10-25"; sha256 = "0wv03hlgzrsc04kcwnwz6dsmkdzvhb0i1wjs08gzivwxw06pkq4n"; }; From 2a184865c54db013f6937fcedc99b23eb832495f Mon Sep 17 00:00:00 2001 From: Matthew Piziak Date: Thu, 29 Oct 2020 11:17:57 -0400 Subject: [PATCH 4/4] tdlib: 1.6.0 -> 1.6.9 fix hash version 1.6.9 is not released, so use revision hash add a comment to the rev about why we are not using `v${version}` anymore use unstable-2020-10-25 update version, not revision --- pkgs/development/libraries/tdlib/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/libraries/tdlib/default.nix b/pkgs/development/libraries/tdlib/default.nix index f430b10c64c..165506f9647 100644 --- a/pkgs/development/libraries/tdlib/default.nix +++ b/pkgs/development/libraries/tdlib/default.nix @@ -1,18 +1,18 @@ { fetchFromGitHub, gperf, openssl, readline, zlib, cmake, stdenv }: stdenv.mkDerivation rec { - version = "1.6.9"; + version = "unstable-2020-10-25"; pname = "tdlib"; src = fetchFromGitHub { owner = "tdlib"; repo = "td"; - # At version 1.6.0, this line was `rev = "v${version}". Version 1.6.9 uses an explicit revision because 1.6.9 is not - # a tdlib GitHub release, and is therefore not hosted at `https://github.com/tdlib/td/releases/tag/v1.6.9`. Please - # return to the `rev = "v${version}"` style on the next version bump if you can, since that will allow - # `nixpkgs-update` to update the package automatically. - rev = "unstable-2020-10-25"; + # At version 1.6.0, this line was `rev = "v${version}". Version 1.6.9 (here called `unstable-2020-10-25`) uses an + # explicit revision because 1.6.9 is not a tdlib GitHub release, and is therefore not hosted at + # `https://github.com/tdlib/td/releases/tag/v1.6.9`. Please return to the `rev = "v${version}"` style on the next + # version bump if you can, since that will allow `nixpkgs-update` to update the package automatically. + rev = "32f2338bd199dd06a1b4b5f1ad14f2d4f2868f01"; sha256 = "0wv03hlgzrsc04kcwnwz6dsmkdzvhb0i1wjs08gzivwxw06pkq4n"; };