anchor.diff:      signedjson systemd twisted ujson unpaddedbase64 pyyaml prometheus_client
       matrix-angular-sdk bleach netaddr jinja2 psycopg2
       psutil msgpack-python lxml matrix-synapse-ldap3
  -    phonenumbers jsonschema affinity bcrypt
  +    phonenumbers jsonschema affinity bcrypt sortedcontainers
     ];
   
     # Checks fail because of Tox.
  
positive.code:   };
  in pythonPackages.buildPythonApplication rec {
    name = "matrix-synapse-${version}";
    version = "0.31.2";
  
    src = fetchFromGitHub {
      owner = "matrix-org";
      repo = "synapse";
      rev = "v${version}";
      sha256 = "15nfdq5s0d4bv1in6vymhq70hpz48p0nlzx25wxpibbrix630h8q";
    };
  
    patches = [
  
negative.code:     homepage = https://matrix.org;
      description = "Matrix reference homeserver";
      license = licenses.asl20;
      maintainers = with maintainers; [ ralith roblabla ekleog ];
    };
  }
  