From 2ce85b22450c44f8ea46bdf51e8c8c00dd1819e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Lopez?= Date: Fri, 20 Jun 2025 13:56:59 +0200 Subject: [PATCH] gnu: Add bitcoin-knots. * gnu/packages/finance.scm (bitcoin-knots): New variable. Change-Id: I781d0273358689f5cf00b3f6100588d012510487 Signed-off-by: Andreas Enge --- gnu/packages/finance.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index d3a55f61c8..c4f8a6e2ce 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -111,6 +111,7 @@ #:use-module (gnu packages haskell-check) #:use-module (gnu packages haskell-web) #:use-module (gnu packages haskell-xyz) + #:use-module (gnu packages imagemagick) #:use-module (gnu packages iso-codes) #:use-module (gnu packages jemalloc) #:use-module (gnu packages libedit) @@ -215,6 +216,36 @@ of the bitcoin protocol. This package provides the Bitcoin Core command line client and a client based on Qt.") (license license:expat))) +(define-public bitcoin-knots + (package + (inherit bitcoin-core) + (name "bitcoin-knots") + (version "29.2.knots20251110") + (source (origin + (method url-fetch) + (uri (string-append + "https://bitcoinknots.org/files/" (version-major version) + ".x/" version "/bitcoin-" version ".tar.gz")) + (sha256 + (base32 + "04kh88xklyq5w2x0zykfas6ssxajp1z33c2899fq342jnfr510b6")))) + (arguments + (substitute-keyword-arguments (package-arguments bitcoin-core) + ((#:qtbase original-flags #f) + qtbase-5))) + (native-inputs + (modify-inputs (package-native-inputs bitcoin-core) + (delete qttools) + (append imagemagick + librsvg + qttools-5))) + (home-page "https://bitcoinknots.org") + (synopsis "Enhanced Bitcoin node/wallet based on Bitcoin Core") + (description "Bitcoin Knots connects to the Bitcoin peer-to-peer network +to download and fully validate blocks and transactions. It also includes a +wallet and graphical user interface.") + (license license:expat))) + (define-public bitcoin-cash-node (package (name "bitcoin-cash-node")