anchor.diff: -{ fetchurl, lib, stdenv, autoreconfHook, pkg-config, perl, python
  +{ fetchurl, lib, stdenv, autoreconfHook, pkg-config, perl, python3
   , db, libgcrypt, avahi, libiconv, pam, openssl, acl
  -, ed, libtirpc, libevent
  +, ed, libtirpc, libevent, fetchpatch
   }:
   
   stdenv.mkDerivation rec {
  
positive.code:   patches = [
      ./no-suid.patch
      ./omitLocalstatedirCreation.patch
    ];
  
    nativeBuildInputs = [ autoreconfHook pkg-config perl python python.pkgs.wrapPython ];
  
    buildInputs = [ db libgcrypt avahi libiconv pam openssl acl libevent ];
  
  
negative.code:   '';
  
    postInstall = ''
      buildPythonPath ${python3.pkgs.dbus-python}
      patchPythonScript $out/bin/afpstats
    '';
  
  