nixpkgs/pkgs/applications/misc/electrum/dash.nix

48 lines
1.1 KiB
Nix
Raw Normal View History

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