From d3fd610e5a428f140aa2080b71466eadfe280a0a Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov Date: Tue, 14 Oct 2025 17:38:03 +0100 Subject: [PATCH] gnu: bitcoin-core: Update to 30.0. * gnu/packages/finance.scm (bitcoin-core): Update to 30.0. [arguments]: Relocate after [build-system]. <#:configure-flags>: Remove -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=TRUE and -DWITH_BDB=ON. Add -DENABLE_IPC=OFF. <#:phases>: Remove the 'make-qt-deterministic phase and the 'check phase replacement. [native-inputs]: Remove qttools-5. Add qttools. [inputs]: Remove bdb-4.8, qtbase-5. Add qtbase. Signed-off-by: Andreas Enge --- gnu/packages/finance.scm | 51 ++++++++++++++++------------------------ 1 file changed, 20 insertions(+), 31 deletions(-) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 6979a7cf33aa1552c75c3d8909f560e2d9417055..5caa06432817bf011a5234f0eaad34c360c9a1eb 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -39,6 +39,7 @@ ;;; Copyright © 2023 Attila Lendvai ;;; Copyright © 2024 Saku Laesvuori ;;; Copyright © 2024 Sharlatan Hellseher +;;; Copyright © 2025 Hennadii Stepanov ;;; ;;; This file is part of GNU Guix. ;;; @@ -154,7 +155,7 @@ ;; . (package (name "bitcoin-core") - (version "29.1") + (version "30.0") (source (origin (method url-fetch) (uri @@ -162,50 +163,24 @@ version "/bitcoin-" version ".tar.gz")) (sha256 (base32 - "0sx0rzx1vk7n9l1nfki08yk52cwjk30dgzsl2mddic3kw9564zq6")))) + "0x39bqd9ql7b6s7sj8ws8gw6g4nbgf6cplnys2lrmvfza56jliwv")))) (build-system qt-build-system) - (native-inputs - (list bash ; provides the sh command for system_tests - coreutils ; provides the cat, echo and false commands for system_tests - pkg-config - python ; for the tests - python-pyzmq ; for the tests - qttools-5)) - (inputs - (list bdb-4.8 ; 4.8 required for compatibility - boost - libevent - qrencode - qtbase-5 - sqlite - zeromq)) (arguments (list #:configure-flags #~(list - "-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=TRUE" "-DBUILD_GUI=ON" "-DBUILD_BENCH=ON" - "-DWITH_BDB=ON" - "-DWITH_ZMQ=ON") + "-DWITH_ZMQ=ON" + ;; TODO: Enable IPC once capnproto is built with -fPIC. + "-DENABLE_IPC=OFF") #:phases #~(modify-phases %standard-phases - (add-before 'configure 'make-qt-deterministic - (lambda _ - ;; Make Qt deterministic. - (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1"))) (add-before 'build 'set-no-git-flag (lambda _ ;; Make it clear we are not building from within a git repository ;; (and thus no information regarding this build is available ;; from git). (setenv "BITCOIN_GENBUILD_NO_GIT" "1"))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (if tests? - (invoke "ctest" - "--parallel" (number->string (parallel-job-count)) - "--output-on-failure") - (format #t "test suite not run~%")))) (add-before 'check 'set-home (lambda _ ;; Tests write to $HOME. @@ -215,6 +190,20 @@ (invoke "python3" "./test/functional/test_runner.py" (string-append "--jobs=" (number->string (parallel-job-count))))))))) + (native-inputs + (list bash ; provides the sh command for system_tests + coreutils ; provides the cat, echo and false commands for system_tests + pkg-config + python ; for the tests + python-pyzmq ; for the tests + qttools)) + (inputs + (list boost + libevent + qrencode + qtbase + sqlite + zeromq)) (home-page "https://bitcoincore.org/") (synopsis "Bitcoin peer-to-peer client") (description