2016-11-09 14:48:49 +00:00
|
|
|
{ stdenv, fetchurl, python2Packages }:
|
2016-01-21 22:59:30 +00:00
|
|
|
|
2016-11-09 14:48:49 +00:00
|
|
|
python2Packages.buildPythonApplication rec {
|
2018-02-09 08:41:18 +00:00
|
|
|
version = "2.9.3.1";
|
2016-01-21 22:59:30 +00:00
|
|
|
name = "electrum-dash-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-02-09 08:41:18 +00:00
|
|
|
url = "https://github.com/akhavr/electrum-dash/releases/download/${version}/Electrum-DASH-${version}.tar.gz";
|
|
|
|
#"https://github.com/dashpay/electrum-dash/releases/download/v${version}/Electrum-DASH-${version}.tar.gz";
|
|
|
|
sha256 = "9b7ac205f63fd4bfb15d77a34a4451ef82caecf096f31048a7603bd276dfc33e";
|
2016-01-21 22:59:30 +00:00
|
|
|
};
|
|
|
|
|
2016-11-09 14:48:49 +00:00
|
|
|
propagatedBuildInputs = with python2Packages; [
|
2017-12-10 14:27:06 +00:00
|
|
|
dnspython
|
2016-01-21 22:59:30 +00:00
|
|
|
ecdsa
|
|
|
|
pbkdf2
|
2017-09-05 16:11:41 +01:00
|
|
|
protobuf
|
2016-01-21 22:59:30 +00:00
|
|
|
pyasn1
|
|
|
|
pyasn1-modules
|
|
|
|
pycrypto
|
|
|
|
pyqt4
|
|
|
|
qrcode
|
|
|
|
requests
|
2018-02-09 08:41:18 +00:00
|
|
|
pyaes
|
2018-12-07 14:29:24 +00:00
|
|
|
tlslite-ng
|
2016-01-21 22:59:30 +00:00
|
|
|
x11_hash
|
|
|
|
mnemonic
|
2018-02-09 08:41:18 +00:00
|
|
|
jsonrpclib
|
2016-01-21 22:59:30 +00:00
|
|
|
|
|
|
|
# plugins
|
|
|
|
trezor
|
|
|
|
];
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
mkdir -p $out/share
|
|
|
|
sed -i 's@usr_share = .*@usr_share = os.getenv("out")+"/share"@' setup.py
|
|
|
|
pyrcc4 icons.qrc -o gui/qt/icons_rc.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Electrum DASH";
|
|
|
|
homepage = https://github.com/dashpay/electrum-dash;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ np ];
|
|
|
|
};
|
|
|
|
}
|