summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoƩ Lopez <noelopez@free.fr>2025-06-20 13:56:59 +0200
committerAndreas Enge <andreas@enge.fr>2026-02-07 23:15:18 +0100
commit2ce85b22450c44f8ea46bdf51e8c8c00dd1819e5 (patch)
treeb4db295d6e7070adfcee24f32cc33d2e38836cec
parentc7fe80064ffcae4fbcce15eeb3ac46a8de388058 (diff)
gnu: Add bitcoin-knots.
* gnu/packages/finance.scm (bitcoin-knots): New variable. Change-Id: I781d0273358689f5cf00b3f6100588d012510487 Signed-off-by: Andreas Enge <andreas@enge.fr>
-rw-r--r--gnu/packages/finance.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index d3a55f61c8b..c4f8a6e2cea 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")