From 48b4bd8dfa7bdf2a4d8e8a666e42b6ad3dd3ca50 Mon Sep 17 00:00:00 2001 From: 0xb10c Date: Thu, 10 Oct 2024 10:43:39 +0200 Subject: [PATCH] bitcoin: 27.1 -> 28.0 The miniupnpc 2.2.8 patch is dropped as it was included in Bitcoin Core 28.0. --- pkgs/applications/blockchains/bitcoin/default.nix | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/blockchains/bitcoin/default.nix b/pkgs/applications/blockchains/bitcoin/default.nix index e3eb1cf3bc31..e56d332cf575 100644 --- a/pkgs/applications/blockchains/bitcoin/default.nix +++ b/pkgs/applications/blockchains/bitcoin/default.nix @@ -34,24 +34,16 @@ let in stdenv.mkDerivation rec { pname = if withGui then "bitcoin" else "bitcoind"; - version = "27.1"; + version = "28.0"; src = fetchurl { urls = [ "https://bitcoincore.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz" ]; # hash retrieved from signed SHA256SUMS - sha256 = "0c1051fd921b8fae912f5c2dfd86b085ab45baa05cd7be4585b10b4d1818f3da"; + sha256 = "700ae2d1e204602eb07f2779a6e6669893bc96c0dca290593f80ff8e102ff37f"; }; - patches = [ - # upnp: fix build with miniupnpc 2.2.8 - (fetchpatch2 { - url = "https://github.com/bitcoin/bitcoin/commit/8acdf66540834b9f9cf28f16d389e8b6a48516d5.patch?full_index=1"; - hash = "sha256-oDvHUvwAEp0LJCf6QBESn38Bu359TcPpLhvuLX3sm6M="; - }) - ]; - nativeBuildInputs = [ autoreconfHook pkg-config installShellFiles ] ++ lib.optionals stdenv.hostPlatform.isLinux [ util-linux ]