mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
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
1 changed files with 8 additions and 0 deletions
|
@ -548,6 +548,14 @@ (define-public electrum
|
|||
(("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"
|
||||
|
|
Loading…
Reference in a new issue