diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2017-03-11 14:00:59 +0100 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2017-03-11 19:26:31 +0100 |
commit | d575efc5f05080834019ce0abebde4f47b1657cf (patch) | |
tree | 46d8a8a362a4604f60dc284d59beca194c49540f /pkgs/applications/misc | |
parent | 617d8af325bc427178f9022b57478eac9d726d52 (diff) | |
download | nixpkgs-d575efc5f05080834019ce0abebde4f47b1657cf.tar nixpkgs-d575efc5f05080834019ce0abebde4f47b1657cf.tar.gz nixpkgs-d575efc5f05080834019ce0abebde4f47b1657cf.tar.bz2 nixpkgs-d575efc5f05080834019ce0abebde4f47b1657cf.tar.lz nixpkgs-d575efc5f05080834019ce0abebde4f47b1657cf.tar.xz nixpkgs-d575efc5f05080834019ce0abebde4f47b1657cf.tar.zst nixpkgs-d575efc5f05080834019ce0abebde4f47b1657cf.zip |
electrum: 2.7.18 -> 2.8.1
See https://github.com/spesmilo/electrum/blob/master/RELEASE-NOTES Also - patch .desktop file to include full path to electrum - add dep on pysocks - remove dep on pyasn; per the changelog, it has not been used since v2.1 - replace dep on slowaes with pyaes
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r-- | pkgs/applications/misc/electrum/default.nix | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/pkgs/applications/misc/electrum/default.nix b/pkgs/applications/misc/electrum/default.nix index 28b5f02e813..0fde5c8644e 100644 --- a/pkgs/applications/misc/electrum/default.nix +++ b/pkgs/applications/misc/electrum/default.nix @@ -2,11 +2,11 @@ python2Packages.buildPythonApplication rec { name = "electrum-${version}"; - version = "2.7.18"; + version = "2.8.1"; src = fetchurl { url = "https://download.electrum.org/${version}/Electrum-${version}.tar.gz"; - sha256 = "1l9krc7hqhqrm5bwp999bpykkcq4958qwvx8v0l5mxcxw8k7fkab"; + sha256 = "1398s9d8j04is24il2xjb6xkj666pj21bsr90xglpsmfa1js9z7g"; }; 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/*/share $out + mv $out/lib/python2.7/site-packages/nix/store"/"*/share $out rm -rf $out/lib/python2.7/site-packages/nix + + substituteInPlace $out/share/applications/electrum.desktop \ + --replace "Exec=electrum %u" "Exec=$out/bin/electrum %u" ''; doInstallCheck = true; |