Skip to content

Commit

Permalink
Merge pull request #291241 from trofi/ton-gcc-13-fix-update
Browse files Browse the repository at this point in the history
ton: 2023.10 -> 2024.01
  • Loading branch information
kirillrdy authored Feb 25, 2024
2 parents d2e7725 + 8f4e78e commit 5a7e08c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pkgs/applications/blockchains/ton/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,23 @@
, pkg-config
, gperf
, libmicrohttpd
, libsodium
, openssl
, readline
, secp256k1
, zlib
, nix-update-script
}:

stdenv.mkDerivation rec {
pname = "ton";
version = "2023.10";
version = "2024.01";

src = fetchFromGitHub {
owner = "ton-blockchain";
repo = "ton";
rev = "v${version}";
sha256 = "sha256-K1RhhW7EvwYV7/ng3NPjSGdHEQvJZ7K97YXd7s5wghc=";
hash = "sha256-nZ7yel+lTNO5zFzN711tLwAvqpf5qaYOxERwApnMVOs=";
fetchSubmodules = true;
};

Expand All @@ -35,14 +37,19 @@ stdenv.mkDerivation rec {
buildInputs = [
gperf
libmicrohttpd
libsodium
openssl
readline
secp256k1
zlib
];

passthru.updateScript = nix-update-script { };

meta = with lib; {
# The build fails on darwin as:
# error: aligned allocation function of type 'void *(std::size_t, std::align_val_t)' is only available on macOS 10.13 or newer
broken = stdenv.isDarwin;
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";
Expand Down

0 comments on commit 5a7e08c

Please sign in to comment.