summaryrefslogtreecommitdiff
path: root/gnu/packages/finance.scm
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2021-11-13 13:42:40 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2021-11-13 13:42:40 +0100
commitb7de4098ef8a8780a3b2f9019679bcc12fc94a12 (patch)
tree6ebbd5057d5d87ee8aa4d9e4b8fecd19e7443dbe /gnu/packages/finance.scm
parenta12a41cdd10cfe7e6ba75df4343c3aac2664fc38 (diff)
gnu: electrum: Fix build.
* gnu/packages/finance.scm (electrum)[arguments]: Add 'relax-dnspython-version-requirement' phase.
Diffstat (limited to 'gnu/packages/finance.scm')
-rw-r--r--gnu/packages/finance.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 6cda53dc94..354a2f2e0f 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -548,6 +548,14 @@ do so.")
(("sys\\.prefix")
(format #f "\"~a\"" out)))
#t)))
+ (add-after 'unpack 'relax-dnspython-version-requirement
+ ;; The version requirement for dnspython>=2.0,<2.1 makes the
+ ;; sanity-check phase fail, but the application seems to be working
+ ;; fine with dnspython 2.1 (the version we have currently).
+ (lambda _
+ (substitute* "contrib/requirements/requirements.txt"
+ (("dnspython>=.*")
+ "dnspython"))))
(add-after 'unpack 'use-libsecp256k1-input
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "electrum/ecc_fast.py"