diff options
author | misuzu <bakalolka@gmail.com> | 2023-04-29 16:36:20 +0300 |
---|---|---|
committer | misuzu <bakalolka@gmail.com> | 2023-04-29 17:01:06 +0300 |
commit | 97ece073655103cf45b7e11b2f34cd2682cf0f14 (patch) | |
tree | 139ae18a5f19639725ca31237fed0a9f549bb104 /pkgs/applications/blockchains | |
parent | 373e9eb4c42b2fc0611d794de5ea715a35d72393 (diff) |
ton: 2023.01 -> 2023.04
https://github.com/ton-blockchain/ton/releases/tag/v2023.04 https://github.com/ton-blockchain/ton/blob/v2023.04/Changelog.md https://github.com/ton-blockchain/ton/compare/v2023.01...v2023.04
Diffstat (limited to 'pkgs/applications/blockchains')
-rw-r--r-- | pkgs/applications/blockchains/ton/default.nix | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/pkgs/applications/blockchains/ton/default.nix b/pkgs/applications/blockchains/ton/default.nix index f333fcd05dc77..d181493f7b321 100644 --- a/pkgs/applications/blockchains/ton/default.nix +++ b/pkgs/applications/blockchains/ton/default.nix @@ -3,6 +3,7 @@ , fetchFromGitHub , cmake , git +, pkg-config , gperf , libmicrohttpd , openssl @@ -12,25 +13,22 @@ stdenv.mkDerivation rec { pname = "ton"; - version = "2023.01"; + version = "2023.04"; src = fetchFromGitHub { owner = "ton-blockchain"; repo = "ton"; rev = "v${version}"; - sha256 = "sha256-wb96vh0YcTBFE8EzBItdTf88cvRMLW2XxcGJpNetOi8="; + sha256 = "sha256-3HQF0wKk0iRV5fKzuCTv7X7MC+snMDrodgqScCZQVY4="; fetchSubmodules = true; }; - postPatch = '' - # without this fails on aarch64-darwin with clang-11: error: the clang compiler does not support '-mcpu=apple-m1' - substituteInPlace CMakeLists.txt \ - --replace 'set(TON_ARCH "apple-m1")' "" - ''; + outputs = [ "out" "dev" ]; nativeBuildInputs = [ cmake git + pkg-config ]; buildInputs = [ @@ -44,6 +42,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A fully decentralized layer-1 blockchain designed by Telegram"; homepage = "https://ton.org/"; + changelog = "https://github.com/ton-blockchain/ton/blob/v${version}/Changelog.md"; license = licenses.lgpl2Only; platforms = platforms.all; maintainers = with maintainers; [ misuzu ]; |