tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
electrum-ltc: 2.9.3.1 -> 3.0.5.1
Florian Klink
8 years ago
a19c7708
01c80fe9
+10
-10
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
electrum-ltc
default.nix
+10
-10
pkgs/applications/misc/electrum-ltc/default.nix
···
1
{ stdenv
2
, fetchurl
3
-
, python2Packages
4
}:
5
6
-
python2Packages.buildPythonApplication rec {
7
name = "electrum-ltc-${version}";
8
-
version = "2.9.3.1";
9
10
src = fetchurl {
11
url = "https://electrum-ltc.org/download/Electrum-LTC-${version}.tar.gz";
12
-
sha256 = "d931a5376b7f38fba7221b01b1010f172c4d662668adae5c38885a646d5ee530";
13
};
14
15
-
propagatedBuildInputs = with python2Packages; [
16
-
pyqt4
17
ecdsa
18
pbkdf2
19
requests
20
qrcode
21
-
ltc_scrypt
0
22
protobuf
23
dnspython
24
-
jsonrpclib
25
-
pyaes
26
pysocks
27
];
28
29
preBuild = ''
30
sed -i 's,usr_share = .*,usr_share = "'$out'/share",g' setup.py
31
-
pyrcc4 icons.qrc -o gui/qt/icons_rc.py
32
# Recording the creation timestamps introduces indeterminism to the build
33
sed -i '/Created: .*/d' gui/qt/icons_rc.py
34
'';
···
1
{ stdenv
2
, fetchurl
3
+
, python3Packages
4
}:
5
6
+
python3Packages.buildPythonApplication rec {
7
name = "electrum-ltc-${version}";
8
+
version = "3.0.5.1";
9
10
src = fetchurl {
11
url = "https://electrum-ltc.org/download/Electrum-LTC-${version}.tar.gz";
12
+
sha256 = "1acsgzmd83cz6ha5fw63mi7123fr6gbiq537p5lxxfs2i8zrl63r";
13
};
14
15
+
propagatedBuildInputs = with python3Packages; [
16
+
pyaes
17
ecdsa
18
pbkdf2
19
requests
20
qrcode
21
+
py_scrypt
22
+
pyqt5
23
protobuf
24
dnspython
25
+
jsonrpclib-pelix
0
26
pysocks
27
];
28
29
preBuild = ''
30
sed -i 's,usr_share = .*,usr_share = "'$out'/share",g' setup.py
31
+
pyrcc5 icons.qrc -o gui/qt/icons_rc.py
32
# Recording the creation timestamps introduces indeterminism to the build
33
sed -i '/Created: .*/d' gui/qt/icons_rc.py
34
'';