anchor.diff:  , libxslt
   }:
   
  -python2Packages.buildPythonApplication rec {
  -  version = "7.3.4";
  +python3.pkgs.buildPythonApplication rec {
     pname = "offlineimap";
  +  version = "8.0.0";
   
     src = fetchFromGitHub {
       owner = "OfflineIMAP";
  -    repo = "offlineimap";
  +    repo = "offlineimap3";
       rev = "v${version}";
  -    sha256 = "sha256-sra2H0+5+LAIU3+uJnii+AYA05nuDyKVMW97rbaFOfI=";
  +    sha256 = "0y3giaz9i8vvczlxkbwymfkn3vi9fv599dy4pc2pn2afxsl4mg2w";
     };
   
     nativeBuildInputs = [
  
positive.code:     libxslt
    ];
  
    propagatedBuildInputs = with python2Packages; [
      six
      kerberos
      rfc6555
      pysocks
    ];
  
    postPatch = ''
  
negative.code:     sed -i docs/Makefile -e "s|a2x -v -d |a2x -L -v -d |"
  
      # Provide CA certificates (Used when "sslcacertfile = OS-DEFAULT" is configured")
      sed -i offlineimap/utils/distro_utils.py -e '/def get_os_sslcertfile():/a\ \ \ \ return "${cacert}/etc/ssl/certs/ca-bundle.crt"'
    '';
  
    postInstall = ''
  