anchor.diff:  
     nativeBuildInputs = stdenv.lib.optionals enableQt [ wrapQtAppsHook ];
   
  -  propagatedBuildInputs = with py.pkgs; [
  +  propagatedBuildInputs = with python3.pkgs; [
       aiohttp
       aiohttp-socks
       aiorpcx
       attrs
       bitstring
  +    cryptography
       dnspython
  -    ecdsa
       jsonrpclib-pelix
       matplotlib
       pbkdf2
       protobuf
  -    pycryptodomex
       pysocks
       qrcode
       requests
  
positive.code:     owner = "spesmilo";
      repo = "electrum";
      rev = version;
      sha256 = "0mdbg2sq56nv0hx0rrcbgrv1lv89nqc6cqigivgk665hhjm4v5kq";
  
      extraPostFetch = ''
        mv $out ./all
  
negative.code:     wrapQtApp $out/bin/electrum
    '';
  
    checkInputs = with python3.pkgs; [ pytestCheckHook pycryptodomex ];
  
    pytestFlagsArray = [ "electrum/tests" ];
  
    disabledTests = [
      "test_loop"  # test tries to bind 127.0.0.1 causing permission error
    ];
  
    postCheck = ''
      $out/bin/electrum help >/dev/null
    '';
  
  