anchor.diff:  
     libzbar_name =
       if stdenv.isLinux then "libzbar.so.0"
  +    else if stdenv.isDarwin then "libzbar.0.dylib"
       else "libzbar${stdenv.hostPlatform.extensions.sharedLibrary}";
   
     # Not provided in official source releases, which are what upstream signs.
  
positive.code:   ];
  
    preBuild = ''
      sed -i 's,usr_share = .*,usr_share = "'$out'/share",g' setup.py
      substituteInPlace ./electrum/ecc_fast.py \
        --replace ${libsecp256k1_name} ${secp256k1}/lib/libsecp256k1${stdenv.hostPlatform.extensions.sharedLibrary}
    '' + (if enableQt then ''
  
negative.code:     owner = "spesmilo";
      repo = "electrum";
      rev = version;
      sha256 = "sha256-/bYz2KB9Fggo6cnKM3hvwL/Jy4Xsw2phx1sInuqZpFg=";
  
      postFetch = ''
        mv $out ./all
  