anchor.diff:        maintainers = with maintainers; [ garbas ];
       };
     });
  +
  +  urwidtrees = buildPythonPackage rec {
  +    name = "urwidtrees-${rev}";
  +    rev = "1.0";
  +
  +    src = pkgs.fetchFromGitHub {
  +      owner = "pazz";
  +      repo = "urwidtrees";
  +      inherit rev;
  +      sha256 = "03gpcdi45z2idy1fd9zv8v9naivmpfx65hshm8r984k9wklv1dsa";
  +    };
  +
  +    propagatedBuildInputs = with self; [ urwid ];
  +
  +    meta = {
  +      description = "Tree widgets for urwid";
  +      license = licenses.gpl3;
  +      maintainer = with maintainters; [ profpatsch ];
  +    };
  +  };
   
     pyuv = buildPythonPackage rec {
       name = "pyuv-0.11.5";
  
positive.code:     meta = {
        homepage = https://github.com/pazz/alot;
        description = "Terminal MUA using notmuch mail";
        maintainers = with maintainers; [ garbas ];
      };
    };
  
  
negative.code: 
  
    alot = buildPythonPackage rec {
      rev = "0.3.7";
      name = "alot-${rev}";
  
      src = pkgs.fetchFromGitHub {
        owner = "pazz";
        repo = "alot";
        inherit rev;
        sha256 = "0sscmmf42gsrjbisi6wm01alzlnq6wqhpwkm8pc557075jfg19il";
      };
  
      postPatch = ''
        substituteInPlace alot/defaults/alot.rc.spec \
          --replace "themes_dir = string(default=None)" \
                    "themes_dir = string(default='$out/share/themes')"
      '';
  
      propagatedBuildInputs =
        [ self.notmuch
          self.urwid
          self.urwidtrees
          self.twisted
          self.python_magic
          self.configobj
          self.pygpgme
        ];
  
      postInstall = ''
        mkdir -p $out/share
        cp -r extra/themes $out/share
        wrapProgram $out/bin/alot \
          --prefix LD_LIBRARY_PATH : ${pkgs.notmuch}/lib:${pkgs.file}/lib:${pkgs.gpgme}/lib
      '';
  