gnu: electron-cash: Fix build.

* gnu/packages/finance.scm (electron-cash)[arguments]: Add
  'relax-requirements' phase.

Change-Id: Ic1e19f2bcdec9b68b35ab8b792f9b9b2a2b52858
This commit is contained in:
Guillaume Le Vaillant 2025-09-27 14:35:25 +02:00
parent da04b3bb42
commit d505b6fae3
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -799,6 +799,11 @@ other machines/servers. Electrum does not download the Bitcoin blockchain.")
(substitute* "electroncash/secp256k1.py"
(("libsecp256k1.so.0")
(search-input-file inputs "lib/libsecp256k1.so.0")))))
(add-after 'unpack 'relax-requirements
(lambda _
(substitute* "contrib/requirements/requirements.txt"
(("python-dateutil<2\\.9")
"python-dateutil"))))
(add-after 'install 'wrap-qt
(lambda* (#:key outputs inputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))