guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#32130] [PATCH] gnu: Add electron-cash.


From: Vagrant Cascadian
Subject: [bug#32130] [PATCH] gnu: Add electron-cash.
Date: Fri, 13 Jul 2018 15:55:40 -0700

On 2018-07-12, Ludovic Courtès wrote:
> Vagrant Cascadian <address@hidden> skribis:
>
>> * gnu/packages/finance.scm (electron-cash): New variable.
...
> This seems to be pretty much the same thing as ‘electrum’.  Should we
> define it as:
>
>   (package
>     (inherit electrum)
>     (name "electron-cash")
>     …)

Updated patch attached inheriting from electrum.

live well,
  vagrant

From 9e655d9cb2898b3ccdf2350b49ab75e6e542c297 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <address@hidden>
Date: Fri, 13 Jul 2018 22:39:16 +0000
Subject: [PATCH] gnu: Add electron-cash.

* gnu/packages/finance.scm (electron-cash): New variable.
---
 gnu/packages/finance.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 1d3e6a7a6..29bf3040e 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -329,6 +329,37 @@ generation from a seed.  Your secret keys are encrypted 
and are never sent to
 other machines/servers.  Electrum does not download the Bitcoin blockchain.")
     (license license:expat)))
 
+(define-public electron-cash
+  (package
+    (inherit electrum)
+    (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))))
+    (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 monero
   ;; This package bundles easylogging++ and lmdb.
   ;; The bundled easylogging++ is modified, and the changes will not be 
upstreamed.
-- 
2.18.0

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]