gnu: electrum: Update to 4.0.9.
* gnu/packages/finance.scm (electrum): Update to 4.0.9. [inputs]: Remove python-pyaes, python-pysocks, python-sip, python-pbkdf2, python-requests, python-jsonrpclib-pelix and python-ecdsa, python-dnspython-1.16. Add python-dnspython, python-bitstring, python-attrs, python-cryptography, python-qdarkstyle and libsecp256k1. [arguments]: Copy 'use-libsecp256k1-input phase from (electron-cash) to #:phases to fix runtime lookup of libsecp256k1 library. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>master
parent
90f5020c68
commit
8a2a5ad696
|
@ -495,7 +495,7 @@ do so.")
|
||||||
(define-public electrum
|
(define-public electrum
|
||||||
(package
|
(package
|
||||||
(name "electrum")
|
(name "electrum")
|
||||||
(version "3.3.8")
|
(version "4.0.9")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -503,7 +503,7 @@ do so.")
|
||||||
version "/Electrum-"
|
version "/Electrum-"
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1g00cj1pmckd4xis8r032wmraiv3vd3zc803hnyxa2bnhj8z3bg2"))
|
(base32 "1fvjiagi78f32nxgr2rx8jas8hxfvpp1c8fpfcalvykmlhdc2gva"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
|
@ -512,21 +512,19 @@ do so.")
|
||||||
#t))))
|
#t))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("python-pyaes" ,python-pyaes)
|
`(("python-pyqt" ,python-pyqt)
|
||||||
("python-pysocks" ,python-pysocks)
|
|
||||||
("python-sip" ,python-sip)
|
|
||||||
("python-pyqt" ,python-pyqt)
|
|
||||||
("python-ecdsa" ,python-ecdsa)
|
|
||||||
("python-pbkdf2" ,python-pbkdf2)
|
|
||||||
("python-requests" ,python-requests)
|
|
||||||
("python-qrcode" ,python-qrcode)
|
("python-qrcode" ,python-qrcode)
|
||||||
("python-protobuf" ,python-protobuf)
|
("python-protobuf" ,python-protobuf)
|
||||||
("python-aiohttp" ,python-aiohttp)
|
("python-aiohttp" ,python-aiohttp)
|
||||||
("python-aiohttp-socks" ,python-aiohttp-socks)
|
("python-aiohttp-socks" ,python-aiohttp-socks)
|
||||||
("python-aiorpcx" ,python-aiorpcx)
|
("python-aiorpcx" ,python-aiorpcx)
|
||||||
("python-certifi" ,python-certifi)
|
("python-certifi" ,python-certifi)
|
||||||
("python-dnspython" ,python-dnspython-1.16)
|
("python-bitstring" ,python-bitstring)
|
||||||
("python-jsonrpclib-pelix" ,python-jsonrpclib-pelix)))
|
("python-attrs" ,python-attrs)
|
||||||
|
("python-cryptography" ,python-cryptography)
|
||||||
|
("python-qdarkstyle" ,python-qdarkstyle)
|
||||||
|
("python-dnspython" ,python-dnspython)
|
||||||
|
("libsecp256k1" ,libsecp256k1)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no tests
|
`(#:tests? #f ; no tests
|
||||||
#:phases
|
#:phases
|
||||||
|
@ -540,7 +538,14 @@ do so.")
|
||||||
(substitute* "setup.py"
|
(substitute* "setup.py"
|
||||||
(("sys\\.prefix")
|
(("sys\\.prefix")
|
||||||
(format #f "\"~a\"" out)))
|
(format #f "\"~a\"" out)))
|
||||||
#t))))))
|
#t)))
|
||||||
|
(add-after 'unpack 'use-libsecp256k1-input
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(substitute* "electrum/ecc_fast.py"
|
||||||
|
(("library_paths = .* 'libsecp256k1.so.0'.")
|
||||||
|
(string-append "library_paths = ('"
|
||||||
|
(assoc-ref inputs "libsecp256k1")
|
||||||
|
"/lib/libsecp256k1.so.0'"))))))))
|
||||||
(home-page "https://electrum.org/")
|
(home-page "https://electrum.org/")
|
||||||
(synopsis "Bitcoin wallet")
|
(synopsis "Bitcoin wallet")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue