anchor.diff: -{ lib, fetchFromGitHub, python3Packages, qtbase, wrapQtAppsHook, secp256k1 }:
  +{ lib, fetchFromGitHub, python3Packages, qtbase, fetchpatch, wrapQtAppsHook
  +, secp256k1 }:
   
   python3Packages.buildPythonApplication rec {
     pname = "electron-cash";
  -  version = "4.0.14";
  +  version = "4.1.0";
   
     src = fetchFromGitHub {
       owner = "Electron-Cash";
       repo = "Electron-Cash";
       rev = version;
  -    sha256 = "1dp7cj1185h6xfz6jzh0iq58zvg3wq9hl96bkgxkf5h4ygni2vm6";
  +    sha256 = "1ccfm6kkmbkvykfdzrisxvr0lx9kgq4l43ixk6v3xnvhnbfwz4s2";
     };
   
     propagatedBuildInputs = with python3Packages; [
  
positive.code: 
    nativeBuildInputs = [ wrapQtAppsHook ];
  
    postPatch = ''
      substituteInPlace contrib/requirements/requirements.txt \
        --replace "qdarkstyle==2.6.8" "qdarkstyle<3"
  
negative.code:       --replace "(share_dir" "(\"share\""
    '';
  
    checkInputs = with python3Packages; [ pytest ];
  
    checkPhase = ''
      unset HOME
  