electrum-ltc: 2.9.3.1 -> 3.0.5.1

This commit is contained in:
Florian Klink 2018-01-09 16:59:05 +01:00
parent 01c80fe9bb
commit a19c7708c9

View File

@ -1,34 +1,34 @@
{ stdenv
, fetchurl
, python2Packages
, python3Packages
}:
python2Packages.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
name = "electrum-ltc-${version}";
version = "2.9.3.1";
version = "3.0.5.1";
src = fetchurl {
url = "https://electrum-ltc.org/download/Electrum-LTC-${version}.tar.gz";
sha256 = "d931a5376b7f38fba7221b01b1010f172c4d662668adae5c38885a646d5ee530";
sha256 = "1acsgzmd83cz6ha5fw63mi7123fr6gbiq537p5lxxfs2i8zrl63r";
};
propagatedBuildInputs = with python2Packages; [
pyqt4
propagatedBuildInputs = with python3Packages; [
pyaes
ecdsa
pbkdf2
requests
qrcode
ltc_scrypt
py_scrypt
pyqt5
protobuf
dnspython
jsonrpclib
pyaes
jsonrpclib-pelix
pysocks
];
preBuild = ''
sed -i 's,usr_share = .*,usr_share = "'$out'/share",g' setup.py
pyrcc4 icons.qrc -o gui/qt/icons_rc.py
pyrcc5 icons.qrc -o gui/qt/icons_rc.py
# Recording the creation timestamps introduces indeterminism to the build
sed -i '/Created: .*/d' gui/qt/icons_rc.py
'';