Subject: [PATCH] gnu: bitcoin-abc: Update to 0.20.7.
From: Guillaume Le Vaillant <[email-masked]>
To: [email-masked]
Cc: Guillaume Le Vaillant <[email-masked]>
Date: Tue, 3 Dec 2019 14:30:53 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/finance.scm (bitcoin-abc): Update to 0.20.7.
  [native-inputs]: Add autoconf, automake and libtool.
  [inputs]: Add qrencode and zlib.
  [arguments]: Remove fix-tests phase.
---
 gnu/packages/finance.scm | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 76805f9ca5..e372bb97c2 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -43,6 +43,8 @@
   #:use-module (guix build-system go)
   #:use-module (guix utils)
   #:use-module (gnu packages)
+  #:use-module (gnu packages aidc)
+  #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages check)
@@ -1167,7 +1169,7 @@ Trezor wallet.")
   (package
     (inherit bitcoin-core)
     (name "bitcoin-abc")
-    (version "0.20.4")
+    (version "0.20.7")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://download.bitcoinabc.org/"
@@ -1175,7 +1177,15 @@ Trezor wallet.")
                                   version ".tar.gz"))
               (sha256
                (base32
-                "0fld54z3l7z7k5n35rrjichjnx37j9xp0rv8i69m3x4qfj1xk2np"))))
+                "0py5ilfi4r8qh5r9637vwch27sqrrn0dg9rz8bccnj3lp2xpzw27"))))
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("libtool" ,libtool)
+       ("pkg-config" ,pkg-config)
+       ("python" ,python)               ; for the tests
+       ("util-linux" ,util-linux)       ; provides the hexdump command for tests
+       ("qttools" ,qttools)))
     (inputs
      `(("bdb" ,bdb-5.3)
        ("boost" ,boost)
@@ -1183,19 +1193,9 @@ Trezor wallet.")
        ("miniupnpc" ,miniupnpc)
        ("openssl" ,openssl)
        ("protobuf" ,protobuf)
-       ("qtbase" ,qtbase)))
-    (arguments
-     (substitute-keyword-arguments (package-arguments bitcoin-core)
-       ((#:phases phases)
-        `(modify-phases ,phases
-           (add-after 'unpack 'fix-tests
-             ;; Disable 'check-devtools' test which tries to run a
-             ;; python script that doesn't exist.
-             (lambda _
-               (substitute* "Makefile.in"
-                 (("^check-local: check-devtools")
-                  "check-local:"))
-               #t))))))
+       ("qrencode" ,qrencode)
+       ("qtbase" ,qtbase)
+       ("zlib" ,zlib)))
     (home-page "https://www.bitcoinabc.org/")
     (synopsis "Bitcoin ABC peer-to-peer full node for the Bitcoin Cash protocol")
     (description
-- 
2.24.0