gnu: electron-cash: Update to 4.2.2.
* gnu/packages/finance.scm (electron-cash): Update to 4.2.2. [arguments]: Update 'use-libsecp256k1-input' phase.master
parent
ed4a3f4ecb
commit
c2691b2ceb
|
@ -551,7 +551,7 @@ other machines/servers. Electrum does not download the Bitcoin blockchain.")
|
||||||
(define-public electron-cash
|
(define-public electron-cash
|
||||||
(package
|
(package
|
||||||
(name "electron-cash")
|
(name "electron-cash")
|
||||||
(version "4.1.1")
|
(version "4.2.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -560,7 +560,7 @@ other machines/servers. Electrum does not download the Bitcoin blockchain.")
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1fllz2s20lg4hrppzmnlgjy9mrq7gaq66l2apb3vz1avzvsjw3gm"))))
|
(base32 "1zk40zbf67wid2s5wg1fknb71409wg0qlvznk44q571v9risrdy7"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("libevent" ,libevent)
|
`(("libevent" ,libevent)
|
||||||
|
@ -595,20 +595,17 @@ other machines/servers. Electrum does not download the Bitcoin blockchain.")
|
||||||
(add-after 'unpack 'create-output-directories
|
(add-after 'unpack 'create-output-directories
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
;; setup.py installs to ~/.local/share if this doesn't exist.
|
;; setup.py installs to ~/.local/share if this doesn't exist.
|
||||||
(mkdir-p (string-append (assoc-ref outputs "out") "/share"))
|
(mkdir-p (string-append (assoc-ref outputs "out") "/share"))))
|
||||||
#t))
|
|
||||||
(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* "lib/secp256k1.py"
|
(substitute* "electroncash/secp256k1.py"
|
||||||
(("library_paths = .* 'libsecp256k1.so.0'.")
|
(("library_paths = .* 'libsecp256k1.so.0'.")
|
||||||
(string-append "library_paths = ('"
|
(string-append "library_paths = ('"
|
||||||
(assoc-ref inputs "libsecp256k1")
|
(assoc-ref inputs "libsecp256k1")
|
||||||
"/lib/libsecp256k1.so.0'")))
|
"/lib/libsecp256k1.so.0'")))))
|
||||||
#t))
|
|
||||||
(add-after 'install 'wrap-qt
|
(add-after 'install 'wrap-qt
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(wrap-qt-program (assoc-ref outputs "out") "electron-cash")
|
(wrap-qt-program (assoc-ref outputs "out") "electron-cash"))))))
|
||||||
#t)))))
|
|
||||||
(home-page "https://electroncash.org/")
|
(home-page "https://electroncash.org/")
|
||||||
(synopsis "Bitcoin Cash wallet")
|
(synopsis "Bitcoin Cash wallet")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue