gnu: electrum: Fix build.
* gnu/packages/finance.scm (electrum)[arguments]: Add 'relax-dnspython-version-requirement' phase.
This commit is contained in:
parent
a12a41cdd1
commit
b7de4098ef
|
@ -548,6 +548,14 @@ (define-public electrum
|
||||||
(("sys\\.prefix")
|
(("sys\\.prefix")
|
||||||
(format #f "\"~a\"" out)))
|
(format #f "\"~a\"" out)))
|
||||||
#t)))
|
#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
|
(add-after 'unpack 'use-libsecp256k1-input
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "electrum/ecc_fast.py"
|
(substitute* "electrum/ecc_fast.py"
|
||||||
|
|
Loading…
Reference in a new issue