2021-01-11 07:54:33 +00:00
|
|
|
{ lib, 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";
|
2019-08-31 12:41:23 +01:00
|
|
|
pname = "electrum-dash";
|
2016-01-21 22:59:30 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-01-21 22:59:30 +00:00
|
|
|
description = "Electrum DASH";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/dashpay/electrum-dash";
|
2016-01-21 22:59:30 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ np ];
|
2019-11-16 18:44:58 +00:00
|
|
|
knownVulnerabilities = [ "CVE-2018-1000022" ];
|
2016-01-21 22:59:30 +00:00
|
|
|
};
|
|
|
|
}
|