anchor.diff:  buildPythonPackage rec {
     pname = "atpublic";
     version = "3.0.1";
  -  format = "setuptools";
  +  format = "pyproject";
   
     disabled = pythonOlder "3.6";
   
  
positive.code:   ];
  
    postPatch = ''
      substituteInPlace setup.cfg \
        --replace "--cov=public" ""
    '';
  
    pythonImportsCheck = [
  
negative.code:     inherit pname version;
      sha256 = "bb072b50e6484490404e5cb4034e782aaa339fdd6ac36434e53c10791aef18bf";
    };
  
    nativeBuildInputs = [
      pdm-pep517
    ];
  
    propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
      typing-extensions
  