anchor.diff:    # 'runner' scripts.
     dontWrapPythonPrograms = true;
   
  +  # requires flufl.testing, which the upstream has archived
     doCheck = false;
   
     meta = {
  
positive.code:   ];
  
    postPatch = ''
      substituteInPlace src/mailman/config/postfix.cfg \
        --replace /usr/sbin/postmap ${postfix}/bin/postmap
      substituteInPlace src/mailman/config/schema.cfg \
  
negative.code: { lib, python3, fetchPypi, fetchpatch, pythonOlder, postfix, lynx
  }:
  
  let
    py = python3.override {
      packageOverrides = self: super: {
        # https://gitlab.com/mailman/mailman/-/issues/845
        sqlalchemy = super.sqlalchemy.overridePythonAttrs (oldAttrs: rec {
          version = "1.3.24";
          src = oldAttrs.src.override {
            inherit version;
            sha256 = "06bmxzssc66cblk1hamskyv5q3xf1nh1py3vi6dka4lkpxy7gfzb";
          };
        });
      };
    };
  
  in
  
  with py.pkgs;
  
  buildPythonPackage rec {
    pname = "mailman";
    version = "3.3.5";
    disabled = pythonOlder "3.6";
  
    src = fetchPypi {
      inherit pname version;
      sha256 = "12mgxs1ndhdjjkydx48b95na9k9h0disfqgrr6wxx7vda6dqvcwz";
    };
  
    propagatedBuildInputs = [
      aiosmtpd
      alembic
      authheaders
      click
      dnspython
      falcon
      flufl_bounce
      flufl_i18n
      flufl_lock
      gunicorn
      importlib-resources
      lazr_config
      passlib
      requests
      sqlalchemy
      zope_component
      zope_configuration
    ];
  
    patches = [
  