gnu: Remove bitcoin-unlimited.

* gnu/packages/finance.scm (bitcoin-unlimited): Delete variable.

Fixes: guix/guix#1383
Change-Id: Ic72b4df0ee227b11d7252a5e9534b2ff81212169
This commit is contained in:
Andreas Enge 2025-08-19 12:54:43 +02:00
parent 561039df2f
commit 9ccb369105
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -1853,88 +1853,6 @@ following three utilities are included with the library:
@end enumerate") @end enumerate")
(license license:gpl2+))) (license license:gpl2+)))
(define-public bitcoin-unlimited
(package
(name "bitcoin-unlimited")
(version "2.1.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.com/bitcoinunlimited/BCHUnlimited.git/")
(commit (string-append "BCHunlimited" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0cny12s03wsgx8iijg5cbr7r6wif9ck7dn98hsv9sz8xq1i5vjk4"))))
(build-system gnu-build-system)
(native-inputs
(list autoconf
automake
libtool
pkg-config
python ; for the tests
util-linux ; provides the hexdump command for tests
qttools-5))
(inputs
(list bdb-4.8
boost
libevent
miniupnpc
openssl
protobuf
qrencode
qtbase-5
zeromq
zlib))
(arguments
`(#:configure-flags
(list
;; Boost is not found unless specified manually.
(string-append "--with-boost="
(assoc-ref %build-inputs "boost"))
;; XXX: The configure script looks up Qt paths by
;; `pkg-config --variable=host_bins Qt5Core`, which fails to pick
;; up executables residing in 'qttools-5', so we specify them here.
(string-append "ac_cv_path_LRELEASE="
(assoc-ref %build-inputs "qttools")
"/bin/lrelease")
(string-append "ac_cv_path_LUPDATE="
(assoc-ref %build-inputs "qttools")
"/bin/lupdate")
"--disable-static")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-tests
(lambda _
;; Disable utilprocess_tests because it never ends.
;; It looks like it tries to start /bin/sleep and waits until it
;; is in the list of running processes, but /bin/sleep doesn't
;; exist.
(substitute* "src/Makefile.test.include"
(("test/utilprocess_tests.cpp")
""))
;; Disable PaymentServer failing test because it's using
;; an expired SSL certificate.
(substitute* "src/qt/test/test_main.cpp"
(("if \\(QTest::qExec\\(&test2\\) != 0\\)")
"if (QTest::qExec(&test2) == 0)"))
;; The following test passes with OpenSSL 1.1, but fails with
;; OpenSSL 3.
(substitute* "src/secp256k1/src/tests.c"
(("run_ecdsa_der_parse\\(\\);")
""))))
(add-before 'check 'set-home
(lambda _
;; Tests write to $HOME
(setenv "HOME" (getenv "TMPDIR")))))))
(home-page "https://www.bitcoinunlimited.info/")
(synopsis "Client for the Bitcoin Cash protocol")
(description
"Bitcoin Unlimited is a client for the Bitcoin Cash peer-to-peer
electronic cash system. This package provides a command line client and
a Qt GUI.")
(license license:expat)))
(define-public fulcrum (define-public fulcrum
(package (package
(name "fulcrum") (name "fulcrum")