3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/electrum/dash.nix

48 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, 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; [
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
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 lib; {
2016-01-21 22:59:30 +00:00
description = "Electrum DASH";
homepage = "https://github.com/dashpay/electrum-dash";
2016-01-21 22:59:30 +00:00
license = licenses.gpl3;
maintainers = with maintainers; [ np ];
knownVulnerabilities = [ "CVE-2018-1000022" ];
2016-01-21 22:59:30 +00:00
};
}