Merge pull request #291241 from trofi/ton-gcc-13-fix-update
ton: 2023.10 -> 2024.01
This commit is contained in:
commit
5a7e08cd83
1 changed files with 9 additions and 2 deletions
|
@ -6,21 +6,23 @@
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, gperf
|
, gperf
|
||||||
, libmicrohttpd
|
, libmicrohttpd
|
||||||
|
, libsodium
|
||||||
, openssl
|
, openssl
|
||||||
, readline
|
, readline
|
||||||
|
, secp256k1
|
||||||
, zlib
|
, zlib
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ton";
|
pname = "ton";
|
||||||
version = "2023.10";
|
version = "2024.01";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ton-blockchain";
|
owner = "ton-blockchain";
|
||||||
repo = "ton";
|
repo = "ton";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-K1RhhW7EvwYV7/ng3NPjSGdHEQvJZ7K97YXd7s5wghc=";
|
hash = "sha256-nZ7yel+lTNO5zFzN711tLwAvqpf5qaYOxERwApnMVOs=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -35,14 +37,19 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gperf
|
gperf
|
||||||
libmicrohttpd
|
libmicrohttpd
|
||||||
|
libsodium
|
||||||
openssl
|
openssl
|
||||||
readline
|
readline
|
||||||
|
secp256k1
|
||||||
zlib
|
zlib
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru.updateScript = nix-update-script { };
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
meta = with lib; {
|
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";
|
description = "A fully decentralized layer-1 blockchain designed by Telegram";
|
||||||
homepage = "https://ton.org/";
|
homepage = "https://ton.org/";
|
||||||
changelog = "https://github.com/ton-blockchain/ton/blob/v${version}/Changelog.md";
|
changelog = "https://github.com/ton-blockchain/ton/blob/v${version}/Changelog.md";
|
||||||
|
|
Loading…
Reference in a new issue