anchor.diff:    };
   
     patchPhase = ''
  -    substituteInPlace setup.py --replace "data_files.append((dir" "data_files.append(('lib/${pythonPackages.python.libPrefix}/site-packages/' + dir"
  +    substituteInPlace setup.py --replace "data_files.append((dir" "data_files.append(('lib/${python2Packages.python.libPrefix}/site-packages/' + dir"
     '';
   
  -  propagatedBuildInputs = with pythonPackages; [
  -    makeWrapper pillow jinja2 spambayes pythonPackages.lxml
  +  propagatedBuildInputs = with python2Packages; [
  +    makeWrapper pillow jinja2 spambayes python2Packages.lxml
       pgpdump gnupg1orig
     ];
   
  
positive.code: { stdenv, fetchgit, pythonPackages, gnupg1orig, makeWrapper, openssl }:
  
  pythonPackages.buildPythonApplication rec {
    name = "mailpile-${version}";
    version = "0.4.1";
  
  
negative.code:     wrapProgram $out/bin/mailpile \
        --prefix PATH ":" "${stdenv.lib.makeBinPath [ gnupg1orig openssl ]}"
    '';
  
    # No tests were found
    doCheck = false;
  
    meta = with stdenv.lib; {
      description = "A modern, fast web-mail client with user-friendly encryption and privacy features";
  