anchor.diff:    ];
   
     propagatedBuildInputs = [
  -    toml
  +    packaging
       pep517
  -    packaging
  -  ] ++ lib.optionals (!isPy3k) [
  -    typing
  +    tomli
     ] ++ lib.optionals (pythonOlder "3.8") [
       importlib-metadata
     ];
   
     checkInputs = [
       filelock
  +    toml
       pytest-mock
       pytest-rerunfailures
       pytest-xdist
       pytestCheckHook
     ];
   
  +  pytestFlagsArray = [
  +    "-n"
  +    "$NIX_BUILD_CORES"
  +  ];
  +
     disabledTests = [
  -    "test_isolation"
  -    "test_isolated_environment_install"
  +    # Tests often fail with StopIteration
  +    "test_isolat"
       "test_default_pip_is_never_too_old"
       "test_build"
  +    "test_with_get_requires"
       "test_init"
  +    "test_output"
  +    "test_wheel_metadata"
     ] ++ lib.optionals stdenv.isDarwin [
  -    # expects Apple's python and its quirks
  +    # Expects Apple's Python and its quirks
       "test_can_get_venv_paths_with_conflicting_default_scheme"
     ];
   
  -  pythonImportsCheck = [ "build" ];
  +  pythonImportsCheck = [
  +    "build"
  +  ];
   
     meta = with lib; {
       description = "Simple, correct PEP517 package builder";
  
positive.code:       is a simple build tool and does not perform any dependency management.
      '';
      homepage = "https://github.com/pypa/build";
      maintainers = with maintainers; [ fab ];
      license = licenses.mit;
    };
  }
  
negative.code: , pytestCheckHook
  , pythonOlder
  , toml
  , tomli
  }:
  
  buildPythonPackage rec {
    pname = "build";
    version = "0.7.0";
    format = "pyproject";
  
    disabled = pythonOlder "3.6";
  
    src = fetchFromGitHub {
      owner = "pypa";
      repo = pname;
      rev = version;
      sha256 = "sha256-kT3Gax/ZCeV8Kb7CBArGWn/qzVSVdMRUoid/8cAovnE=";
    };
  
    nativeBuildInputs = [
  