[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#32130] [PATCH] gnu: Add electron-cash.
From: |
Ludovic Courtès |
Subject: |
[bug#32130] [PATCH] gnu: Add electron-cash. |
Date: |
Fri, 13 Jul 2018 00:03:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello,
Vagrant Cascadian <address@hidden> skribis:
> * gnu/packages/finance.scm (electron-cash): New variable.
[...]
> + (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/")
This seems to be pretty much the same thing as ‘electrum’. Should we
define it as:
(package
(inherit electrum)
(name "electron-cash")
…)
?
Thanks,
Ludo’.