anchor.diff:    inherit (pythonPackages) buildPythonApplication;
     buildPythonEnv = pkgs.python37.buildEnv;
   
  -  gunicorn = pythonPackages.gunicorn.overrideAttrs(old: {
  -    propagatedBuildInputs = [ setuptools ];
  -  });
  +  gunicorn = (fixSetuptools pythonPackages.gunicorn);
   
     # Can be imported in Python code or run directly as debug tools
     debugLibsAndTools = with pythonPackages; [
  
positive.code:   linters = with pythonPackages; [
      bandit
      mypy
      pylama
      pylint
      autopep8
    ];
  
negative.code:   pythonPackages = pkgs.python37Packages;
    setuptools = pythonPackages.setuptools;
  
    # Adds missing dependency on setuptools for Python packages
    fixSetuptools = pkg: pkg.overrideAttrs(
      attrs: {
        propagatedBuildInputs = attrs.propagatedBuildInputs ++ [ setuptools ];
      });
  
  in rec {
    inherit pkgs bootstrap javascriptDeps ekklesia-common;
  