From: Vagrant Cascadian <vagrant@debian.org>
To: 32130@debbugs.gnu.org
Subject: [bug#32130] [PATCH] gnu: Add electron-cash.
Date: Wed, 11 Jul 2018 22:05:13 -0700 [thread overview]
Message-ID: <87d0vtjb7a.fsf@aikidev.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 2645 bytes --]
* gnu/packages/finance.scm (electron-cash): New variable.
---
gnu/packages/finance.scm | 52 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 1d3e6a7a6..594c835d3 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -279,6 +279,58 @@ It's not clear at the moment whether one day it will be possible to
do so.")
(license license:agpl3+)))
+(define-public electron-cash
+ (package
+ (name "electron-cash")
+ (version "3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://electroncash.org/downloads/"
+ version
+ "/win-linux/ElectronCash-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1x487hyacdm1qhik1mhfimr4jwcwz7sgsbkh11awrb6j19sxdxym"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Delete the bundled dependencies.
+ (delete-file-recursively "packages")
+ #t))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-pyaes" ,python-pyaes)
+ ("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-protobuf" ,python-protobuf)
+ ("python-dnspython" ,python-dnspython)
+ ("python-jsonrpclib-pelix" ,python-jsonrpclib-pelix)))
+ (arguments
+ `(#:tests? #f ;; package doesn't have any tests
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'patch-home
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "setup.py"
+ (("~/.local/share")
+ (string-append (assoc-ref outputs "out") "/local/share"))))))))
+ (home-page "https://electroncash.org/")
+ (synopsis "Bitcoin Cash wallet")
+ (description
+ "Electroncash is a lightweight Bitcoin Cash client, based on a client-server
+protocol. It supports Simple Payment Verification (SPV) and deterministic key
+generation from a seed. Your secret keys are encrypted and are never sent to
+other machines/servers. Electroncash does not download the Bitcoin Cash blockchain.")
+ (license license:expat)))
+
(define-public electrum
(package
(name "electrum")
--
2.18.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next reply other threads:[~2018-07-12 5:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-12 5:05 Vagrant Cascadian [this message]
2018-07-12 22:03 ` [bug#32130] [PATCH] gnu: Add electron-cash Ludovic Courtès
2018-07-12 22:40 ` Vagrant Cascadian
[not found] ` <87tvp2hhjn.fsf@aikidev.net>
2018-07-16 13:36 ` bug#32130: " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d0vtjb7a.fsf@aikidev.net \
--to=vagrant@debian.org \
--cc=32130@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).