anchor.diff:        --replace "Exec=electrum %u" "Exec=$out/bin/electrum %u"
     '';
   
  -  doCheck = false;
  +  checkInputs = with python3Packages; [ pytest ];
   
  -  doInstallCheck = true;
  -  installCheckPhase = ''
  +  checkPhase = ''
  +    py.test electrum/tests
       $out/bin/electrum help >/dev/null
     '';
   
  
positive.code:     # Recording the creation timestamps introduces indeterminism to the build
      sed -i '/Created: .*/d' electrum/gui/qt/icons_rc.py
      sed -i "s|name = 'libzbar.*'|name='${zbar}/lib/libzbar.so'|" electrum/qrscanner.py
    '';
  
    postInstall = ''
  
negative.code:   pname = "electrum";
    version = "3.3.2";
  
    src = fetchFromGitHub {
      owner = "spesmilo";
      repo = "electrum";
      rev = version;
      sha256 = "1jsn02azdydpq4plr2552s7ijyqgw6zqm2zx8skwsalgbwmhx12i";
    };
  
    propagatedBuildInputs = with python3Packages; [
  