2016-11-09 15:48:49 +01:00
|
|
|
{ stdenv, fetchurl, python2Packages }:
|
2016-01-21 23:59:30 +01:00
|
|
|
|
2016-11-09 15:48:49 +01:00
|
|
|
python2Packages.buildPythonApplication rec {
|
2018-02-09 09:41:18 +01:00
|
|
|
version = "2.9.3.1";
|
2019-08-31 13:41:23 +02:00
|
|
|
pname = "electrum-dash";
|
2016-01-21 23:59:30 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-02-09 09:41:18 +01: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 23:59:30 +01:00
|
|
|
};
|
|
|
|
|
2016-11-09 15:48:49 +01:00
|
|
|
propagatedBuildInputs = with python2Packages; [
|
2017-12-10 15:27:06 +01:00
|
|
|
dnspython
|
2016-01-21 23:59:30 +01:00
|
|
|
ecdsa
|
|
|
|
pbkdf2
|
2017-09-05 17:11:41 +02:00
|
|
|
protobuf
|
2016-01-21 23:59:30 +01:00
|
|
|
pyasn1
|
|
|
|
pyasn1-modules
|
|
|
|
pycrypto
|
|
|
|
pyqt4
|
|
|
|
qrcode
|
|
|
|
requests
|
2018-02-09 09:41:18 +01:00
|
|
|
pyaes
|
2018-12-07 15:29:24 +01:00
|
|
|
tlslite-ng
|
2016-01-21 23:59:30 +01:00
|
|
|
x11_hash
|
|
|
|
mnemonic
|
2018-02-09 09:41:18 +01:00
|
|
|
jsonrpclib
|
2016-01-21 23:59:30 +01: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";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/dashpay/electrum-dash";
|
2016-01-21 23:59:30 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ np ];
|
2019-11-16 19:44:58 +01:00
|
|
|
knownVulnerabilities = [ "CVE-2018-1000022" ];
|
2016-01-21 23:59:30 +01:00
|
|
|
};
|
|
|
|
}
|