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