anchor.diff:      jinja2
       jsonschema
       lxml
  -    matrix-angular-sdk
       matrix-synapse-ldap3
       msgpack-python
       netaddr
  
positive.code: with python2.pkgs;
  
  let
    matrix-angular-sdk = buildPythonPackage rec {
      pname = "matrix-angular-sdk";
      version = "0.6.8";
  
      src = fetchPypi {
        inherit pname version;
        sha256 = "0gmx4y5kqqphnq3m7xk2vpzb0w2a4palicw7wfdr1q2schl9fhz2";
      };
  
      # no checks from Pypi but as this is abandonware, there will be no
      # new version anyway
      doCheck = false;
    };
  
    matrix-synapse-ldap3 = buildPythonPackage rec {
      pname = "matrix-synapse-ldap3";
      version = "0.1.3";
  
negative.code: 
  in buildPythonApplication rec {
    pname = "matrix-synapse";
    version = "0.34.1.1";
  
    src = fetchPypi {
      inherit pname version;
      sha256 = "13jmbcabll3gk0b6yqwfwpc7aymqhpv6iririzskhm4pgbjcp3yk";
    };
  
    patches = [
  