me
/
guix
Archived
1
0
Fork 0

gnu: bitcoin-abc: Update to 0.21.6.

* gnu/packages/finance.scm (bitcoin-abc): Update to 0.21.6.
  [build-system]: Use cmake-build-system.
  [native-inputs]: Remove autoconf, automake and libtool.
  [inputs]: Add zeromq.
  [arguments]: Drop inheritance from bitcoin-core and use explicit
  'make-qt-deterministic', 'set-home' and 'check-functional' phases.
master
Guillaume Le Vaillant 2020-05-15 17:29:05 +02:00
parent 89c5b924e1
commit f7237a2e39
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 27 additions and 8 deletions

View File

@ -1227,9 +1227,8 @@ Trezor wallet.")
(define-public bitcoin-abc
(package
(inherit bitcoin-core)
(name "bitcoin-abc")
(version "0.20.7")
(version "0.21.6")
(source (origin
(method url-fetch)
(uri (string-append "https://download.bitcoinabc.org/"
@ -1237,12 +1236,10 @@ Trezor wallet.")
version ".tar.gz"))
(sha256
(base32
"0py5ilfi4r8qh5r9637vwch27sqrrn0dg9rz8bccnj3lp2xpzw27"))))
"1w3c397h2mxsi9471fwyc3yjxw7s4jgvr4q3w2qfh49bhr4wygqj"))))
(build-system cmake-build-system)
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("libtool" ,libtool)
("pkg-config" ,pkg-config)
`(("pkg-config" ,pkg-config)
("python" ,python) ; for the tests
("util-linux" ,util-linux) ; provides the hexdump command for tests
("qttools" ,qttools)))
@ -1255,7 +1252,28 @@ Trezor wallet.")
("protobuf" ,protobuf)
("qrencode" ,qrencode)
("qtbase" ,qtbase)
("zeromq" ,zeromq)
("zlib" ,zlib)))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'configure 'make-qt-deterministic
(lambda _
;; Make Qt deterministic.
(setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")
#t))
(add-before 'check 'set-home
(lambda _
(setenv "HOME" (getenv "TMPDIR")) ; tests write to $HOME
#t))
(add-after 'check 'check-functional
(lambda _
(invoke
"python3" "./test/functional/test_runner.py"
(string-append "--jobs=" (number->string (parallel-job-count)))
;; TODO: find why the abc-miner-fund test fails.
"--exclude=abc-miner-fund")
#t)))))
(home-page "https://www.bitcoinabc.org/")
(synopsis "Bitcoin ABC peer-to-peer full node for the Bitcoin Cash protocol")
(description
@ -1269,7 +1287,8 @@ As a fork it implemented changes lowering the time between blocks and now
offers confimations after less than 5 seconds and have significantly lower
fees that BTC. Bitcoin ABC is the reference implementation of the Bitcoin
Cash protocol. This package provides the Bitcoin Cash command line client and
a client based on Qt. This is a fork of Bitcoin Core.")))
a client based on Qt. This is a fork of Bitcoin Core.")
(license license:expat)))
(define-public libofx
(package