17 stdenv.mkDerivation rec {
21 src = fetchFromGitHub {
22 owner = "ton-blockchain";
25 hash = "sha256-AVg33aZAyedmNIFqQJm4Nn6luLxK4mKgnIRmNU7j2C0=";
26 fetchSubmodules = true;
29 outputs = [ "out" "dev" ];
47 passthru.updateScript = nix-update-script { };
50 # The build fails on darwin as:
51 # error: aligned allocation function of type 'void *(std::size_t, std::align_val_t)' is only available on macOS 10.13 or newer
52 broken = stdenv.isDarwin;
53 description = "A fully decentralized layer-1 blockchain designed by Telegram";
54 homepage = "https://ton.org/";
55 changelog = "https://github.com/ton-blockchain/ton/blob/v${version}/Changelog.md";
56 license = licenses.lgpl2Only;
57 platforms = platforms.all;
58 maintainers = with maintainers; [ misuzu ];