anchor.diff:      # The top directory /build matches black's DEFAULT_EXCLUDE regex.
       # Make /build the project root for black tests to avoid excluding files.
       touch ../.git
  +  '' + lib.optionalString stdenv.isDarwin ''
  +    # Work around https://github.com/psf/black/issues/2105
  +    export TMPDIR="/tmp"
     '';
   
     disabledTests = [
  
positive.code:     appdirs
      attrs
      click
      mypy-extensions
      pathspec
      regex
      toml
      typed-ast
      typing-extensions
    ] ++ lib.optional (pythonOlder "3.7") dataclasses;
  
    meta = with lib; {
      description = "The uncompromising Python code formatter";
      homepage    = "https://github.com/psf/black";
      changelog   = "https://github.com/psf/black/blob/${version}/CHANGES.md";
      license     = licenses.mit;
      maintainers = with maintainers; [ sveitser ];
    };
  }
  
negative.code:   # Black starts a local server and needs to bind a local address.
    __darwinAllowLocalNetworking = true;
  
    checkInputs = [ pytestCheckHook parameterized ];
  
    preCheck = ''
      export PATH="$PATH:$out/bin"
  