From 7cecf3eae12799f79cfcf845805df5b015cf13b5 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 18 Feb 2024 11:04:13 +0000 Subject: [PATCH] bitcoin-abc: 0.26.2 -> 0.28.9 Without the change build on `gcc-13` in `master` fails as https://hydra.nixos.org/build/249054007: In file included from /build/source/src/clientversion.cpp:7: /build/source/src/./tinyformat.h:380:36: error: 'uint8_t' has not been declared 380 | TINYFORMAT_DEFINE_FORMATVALUE_CHAR(uint8_t) | ^~~~~~~ --- pkgs/applications/blockchains/bitcoin-abc/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/blockchains/bitcoin-abc/default.nix b/pkgs/applications/blockchains/bitcoin-abc/default.nix index 310c67d41530..d25a582f6554 100644 --- a/pkgs/applications/blockchains/bitcoin-abc/default.nix +++ b/pkgs/applications/blockchains/bitcoin-abc/default.nix @@ -15,6 +15,7 @@ , protobuf , qrencode , libevent +, libnatpmp , sqlite , withGui , python3 @@ -24,13 +25,13 @@ mkDerivation rec { pname = "bitcoin" + lib.optionalString (!withGui) "d" + "-abc"; - version = "0.26.2"; + version = "0.28.9"; src = fetchFromGitHub { owner = "bitcoin-ABC"; repo = "bitcoin-abc"; rev = "v${version}"; - sha256 = "0gz4713lk3alk3ykwq1bdqjywadrfrnb7n2878136g01n87j00az"; + hash = "sha256-VK9/qL3rFdU7O62FwEdr3WD4VWli8KGZH9hcbTaVHGQ="; }; nativeBuildInputs = [ pkg-config cmake ]; @@ -41,6 +42,7 @@ mkDerivation rec { zlib python3 jemalloc + libnatpmp zeromq4 miniupnpc util-linux