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 {
|
2016-01-21 22:59:30 +00:00
|
|
|
name = "electrum-dash-${version}";
|
|
|
|
version = "2.4.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/dashpay/electrum-dash/releases/download/v${version}/Electrum-DASH-${version}.tar.gz";
|
|
|
|
sha256 = "02k7m7fyn0cvlgmwxr2gag7rf2knllkch1ma58shysp7zx9jb000";
|
|
|
|
};
|
|
|
|
|
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 15:11:41 +00:00
|
|
|
protobuf
|
2016-01-21 22:59:30 +00:00
|
|
|
pyasn1
|
|
|
|
pyasn1-modules
|
|
|
|
pycrypto
|
|
|
|
pyqt4
|
|
|
|
qrcode
|
|
|
|
requests
|
|
|
|
slowaes
|
|
|
|
tlslite
|
|
|
|
x11_hash
|
|
|
|
mnemonic
|
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|