@ -2,11 +2,11 @@
python2Packages . buildPythonApplication rec {
name = " e l e c t r u m - ${ version } " ;
version = " 2 . 7 . 1 8 " ;
version = " 2 . 8 . 1 " ;
src = fetchurl {
url = " h t t p s : / / d o w n l o a d . e l e c t r u m . o r g / ${ version } / E l e c t r u m - ${ version } . t a r . g z " ;
sha256 = " 1 l 9 k r c 7 h q h q r m 5 b w p 9 9 9 b p y k k c q 4 9 5 8 q w v x 8 v 0 l 5 m x c x w 8 k 7 f k a b " ;
sha256 = " 1 3 9 8 s 9 d 8 j 0 4 i s 2 4 i l 2 x j b 6 x k j 6 6 6 p j 2 1 b s r 9 0 x g l p s m f a 1 j s 9 z 7 g " ;
} ;
propagatedBuildInputs = with python2Packages ; [
@ -15,22 +15,22 @@ python2Packages.buildPythonApplication rec {
jsonrpclib
pbkdf2
protobuf3_0
pyasn1
pyasn1-modules
pyaes
pycrypto
pyqt4
pysocks
qrcode
requests
slowaes
tlslite
# plugins
trezor
keepkey
trezor
# TODO plugins
# matplotlib
# btchip
# amodem
# btchip
# matplotlib
] ;
preBuild = ''
@ -43,8 +43,11 @@ python2Packages.buildPythonApplication rec {
postInstall = ''
# Despite setting usr_share above, these files are installed under
# $out/nix ...
mv $ out/lib/python2.7/site-packages/nix/store /* / s h a r e $ o u t
mv $ out/lib/python2.7/site-packages/nix/store " / " * /share $ ou t
rm - rf $ out/lib/python2.7/site-packages/nix
substituteInPlace $ out/share/applications/electrum.desktop \
- - replace " E x e c = e l e c t r u m % u " " E x e c = $ o u t / b i n / e l e c t r u m % u "
'' ;
doInstallCheck = true ;