me
/
guix
Archived
1
0
Fork 0

gnu: electron-cash: Update to 4.1.0.

* gnu/packages/finance.scm (electron-cash): Update to 4.1.0.
  [inputs]: Use libsecp256k1-bitcoin-cash instead of libsecp256k1.
master
Guillaume Le Vaillant 2020-09-03 11:51:35 +02:00
parent a568071ffe
commit 24890787b5
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 6 additions and 4 deletions

View File

@ -480,7 +480,7 @@ other machines/servers. Electrum does not download the Bitcoin blockchain.")
(define-public electron-cash
(package
(name "electron-cash")
(version "4.0.15")
(version "4.1.0")
(source
(origin
(method git-fetch)
@ -489,11 +489,11 @@ other machines/servers. Electrum does not download the Bitcoin blockchain.")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0bvj64fdxpi0dbivhgv509kqq503zjp7r7xckl8q5c48j5h1zik2"))))
(base32 "1ccfm6kkmbkvykfdzrisxvr0lx9kgq4l43ixk6v3xnvhnbfwz4s2"))))
(build-system python-build-system)
(inputs
`(("libevent" ,libevent)
("libsecp256k1", libsecp256k1)
("libsecp256k1", libsecp256k1-bitcoin-cash)
("openssl" ,openssl)
("python-cython" ,python-cython)
("python-dateutil", python-dateutil)
@ -530,7 +530,9 @@ other machines/servers. Electrum does not download the Bitcoin blockchain.")
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "lib/secp256k1.py"
(("library_paths = .* 'libsecp256k1.so.0'.")
(string-append "library_paths = ('" (assoc-ref inputs "libsecp256k1") "/lib/libsecp256k1.so.0'")))
(string-append "library_paths = ('"
(assoc-ref inputs "libsecp256k1")
"/lib/libsecp256k1.so.0'")))
#t))
(add-after 'install 'wrap-qt
(lambda* (#:key outputs #:allow-other-keys)