anchor.diff:  , pam, withPAM ? false
   , systemd, withSystemd ? false
   , python2, python3, ncurses
  +, ruby
   }:
   
   let pythonPlugin = pkg : lib.nameValuePair "python${if pkg ? isPy2 then "2" else "3"}" {
  
positive.code:     available = lib.listToAttrs [
                    (pythonPlugin python2)
                    (pythonPlugin python3)
                  ];
  
      getPlugin = name:
  
negative.code:   buildPhase = ''
      mkdir -p $pluginDir
      python3 uwsgiconfig.py --build nixos
      ${lib.concatMapStringsSep ";" (x: "${x.interpreter or "python3"} uwsgiconfig.py --plugin ${x.path} nixos ${x.name}") needed}
    '';
  
    installPhase = ''
      install -Dm755 uwsgi $out/bin/uwsgi
      ${lib.concatMapStringsSep "\n" (x: x.install or "") needed}
    '';
  
    NIX_CFLAGS_LINK = [ "-lsystemd" ];
  