about summary refs log tree commit diff
path: root/pkgs/applications/misc/electrum
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2015-03-28 15:34:22 +0100
committerJoachim Fasting <joachifm@fastmail.fm>2015-03-30 01:41:39 +0200
commit522a9c5cb0c47302355ea967adea2a67dfbdea53 (patch)
tree0dc5f1decf3c581720778c13b6378913a315e0c2 /pkgs/applications/misc/electrum
parenteb22e54243cbd7e63f17a56a6bb73526d8112ed2 (diff)
downloadnixlib-522a9c5cb0c47302355ea967adea2a67dfbdea53.tar
nixlib-522a9c5cb0c47302355ea967adea2a67dfbdea53.tar.gz
nixlib-522a9c5cb0c47302355ea967adea2a67dfbdea53.tar.bz2
nixlib-522a9c5cb0c47302355ea967adea2a67dfbdea53.tar.lz
nixlib-522a9c5cb0c47302355ea967adea2a67dfbdea53.tar.xz
nixlib-522a9c5cb0c47302355ea967adea2a67dfbdea53.tar.zst
nixlib-522a9c5cb0c47302355ea967adea2a67dfbdea53.zip
Electrum: 2.0.3 -> 2.0.4
Version 2.0.4 contains UI improvements.

Also, change postPatch to preInstall, remove a redundant attribute,
and cleanup meta.
Diffstat (limited to 'pkgs/applications/misc/electrum')
-rw-r--r--pkgs/applications/misc/electrum/default.nix24
1 files changed, 14 insertions, 10 deletions
diff --git a/pkgs/applications/misc/electrum/default.nix b/pkgs/applications/misc/electrum/default.nix
index 2638594d7e54..0f7b85e055b7 100644
--- a/pkgs/applications/misc/electrum/default.nix
+++ b/pkgs/applications/misc/electrum/default.nix
@@ -1,13 +1,12 @@
 { stdenv, fetchurl, buildPythonPackage, pythonPackages, slowaes }:
 
 buildPythonPackage rec {
-  namePrefix = "";
   name = "electrum-${version}";
-  version = "2.0.3";
+  version = "2.0.4";
 
   src = fetchurl {
     url = "https://download.electrum.org/Electrum-${version}.tar.gz";
-    sha256 = "1kzrbnkl5jps0kf0420vzpiqjk3v1jxvlrxwhc0f58xbqyc7l4mj";
+    sha256 = "0q9vrrzy2iypfg2zvs3glzvqyq65dnwn1ijljvfqfwrkpvpp0zxp";
   };
 
   propagatedBuildInputs = with pythonPackages; [
@@ -24,16 +23,21 @@ buildPythonPackage rec {
     tlslite
   ];
 
-  postPatch = ''
+  preInstall = ''
     mkdir -p $out/share
     sed -i 's@usr_share = .*@usr_share = os.getenv("out")+"/share"@' setup.py
   '';
 
-  meta = {
-    description = "Bitcoin thin-wallet";
-    long-description = "Electrum is an easy to use Bitcoin client. It protects you from losing coins in a backup mistake or computer failure, because your wallet can be recovered from a secret phrase that you can write on paper or learn by heart. There is no waiting time when you start the client, because it does not download the Bitcoin blockchain.";
-    homepage = "https://electrum.org";
-    license = stdenv.lib.licenses.gpl3;
-    maintainers = [ "emery@vfemail.net" stdenv.lib.maintainers.joachifm ];
+  meta = with stdenv.lib; {
+    description = "Bitcoin thin-client";
+    longDescription = ''
+      An easy-to-use Bitcoin client featuring wallets generated from
+      mnemonic seeds (in addition to other, more advanced, wallet options)
+      and the ability to perform transactions without downloading a copy
+      of the blockchain.
+    '';
+    homepage = https://electrum.org;
+    license = licenses.gpl3;
+    maintainers = with maintainers; [ emery joachifm ];
   };
 }