anchor.diff:      owner = "pazz";
       repo = "alot";
       rev = version;
  -    sha256 = "0s94m17yph1gq9f2svipb3bbwbw1s4j3zf2xkg5h91006v8286r6";
  +    sha256 = "sha256-1reAq8X9VwaaZDY5UfvcFzHDKd71J88CqJgH3+ANjis=";
     };
   
     postPatch = ''
  
positive.code: { lib, buildPythonPackage, python, fetchFromGitHub, isPy3k
  , notmuch, urwid, urwidtrees, twisted, python_magic, configobj, mock, file, gpgme
  , service-identity, gnupg, sphinx, gawk, procps, future , withManpage ? false
  }:
  
  buildPythonPackage rec {
    pname = "alot";
    version = "0.9.1";
    outputs = [ "out" ] ++ lib.optional withManpage "man";
  
    disabled = !isPy3k;
  
negative.code:     gpgme
    ];
  
    postBuild = lib.optionalString withManpage "make -C docs man";
  
    checkInputs = [ gawk future mock gnupg procps pytestCheckHook ];
    # some twisted tests need internet access
    disabledTests = [
      "test_env_set"
      "test_no_spawn_no_stdin_attached"
    ];
  
    postInstall = let
      completionPython = python.withPackages (ps: [ ps.configobj ]);
  